summaryrefslogtreecommitdiffstats
path: root/kubernetes
diff options
context:
space:
mode:
authorAlexis de Talhouët <adetalhouet89@gmail.com>2017-11-30 14:37:02 -0500
committerAlexis de Talhouët <alexis.de_talhouet@bell.ca>2017-11-30 19:40:29 +0000
commitec76c0cb380fdbc5bf519d320198fa3d3673225c (patch)
treeecbdcf792d621bdfc8a37b69e4b7942897c2e3be /kubernetes
parentc00c687517d3d764378f54775f0b6a664c1ca221 (diff)
Output the Robot logs at the proper place
A small webserver in bind behind /share/logs specifically to display the logs, so we need to correctly output them there. As specified in the robot scripts. see https://gerrit.onap.org/r/gitweb?p=testsuite/properties.git;a=blob;f=ete.sh;h=93070c995d12f2cdb59275477e9ca6be2956e696;hb=refs/heads/amsterdam#l20 see https://gerrit.onap.org/r/gitweb?p=testsuite/properties.git;a=blob;f=demo.sh;h=e7dcd51db31a58d75095c60fde93abc1d8c2b01c;hb=refs/heads/amsterdam#l147 Change-Id: I5a41c9865295d2db0ded131bb985ef323a79ecc5 Issue-ID: OOM-382 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
Diffstat (limited to 'kubernetes')
-rwxr-xr-xkubernetes/robot/demo-k8s.sh2
-rwxr-xr-xkubernetes/robot/ete-k8s.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/kubernetes/robot/demo-k8s.sh b/kubernetes/robot/demo-k8s.sh
index a870972ed6..2836fca85d 100755
--- a/kubernetes/robot/demo-k8s.sh
+++ b/kubernetes/robot/demo-k8s.sh
@@ -124,4 +124,4 @@ done
ETEHOME=/var/opt/OpenECOMP_ETE
VARIABLEFILES="-V /share/config/vm_properties.py -V /share/config/integration_robot_properties.py -V /share/config/integration_preload_parameters.py"
POD=$(kubectl --namespace onap-robot get pods | sed 's/ .*//'| grep robot)
-kubectl --namespace onap-robot exec ${POD} -- ${ETEHOME}/runTags.sh ${VARIABLEFILES} ${VARIABLES} -d ${ETEHOME}/html/logs/demo/${TAG} -i ${TAG} --display 89 2> ${TAG}.out
+kubectl --namespace onap-robot exec ${POD} -- ${ETEHOME}/runTags.sh ${VARIABLEFILES} ${VARIABLES} -d /share/logs/demo/${TAG} -i ${TAG} --display 89 2> ${TAG}.out
diff --git a/kubernetes/robot/ete-k8s.sh b/kubernetes/robot/ete-k8s.sh
index 26eedc97f7..2305a584c3 100755
--- a/kubernetes/robot/ete-k8s.sh
+++ b/kubernetes/robot/ete-k8s.sh
@@ -20,4 +20,4 @@ VARIABLES="-v GLOBAL_BUILD_NUMBER:$$"
#docker exec openecompete_container ${ETEHOME}/runTags.sh ${VARIABLEFILES} ${VARIABLES} -d /share/logs/${OUTPUT_FOLDER} ${TAGS} --display 88
POD=$(kubectl --namespace onap-robot get pods | sed 's/ .*//'| grep robot)
-kubectl --namespace onap-robot exec ${POD} -- ${ETEHOME}/runTags.sh ${VARIABLEFILES} ${VARIABLES} -d ${ETEHOME}/html/logs/ete/${OUTPUT_FOLDER} ${TAGS} --display 88
+kubectl --namespace onap-robot exec ${POD} -- ${ETEHOME}/runTags.sh ${VARIABLEFILES} ${VARIABLES} -d /share/logs/${OUTPUT_FOLDER} ${TAGS} --display 88