Export CI_LOOP as expected by Functest 81/51981/1
authorCédric Ollivier <cedric.ollivier@orange.com>
Sat, 10 Feb 2018 11:26:25 +0000 (12:26 +0100)
committerCédric Ollivier <cedric.ollivier@orange.com>
Sat, 10 Feb 2018 11:26:25 +0000 (12:26 +0100)
Otherwise all testcases are skipped:
https://build.opnfv.org/ci/view/functest/job/functest-apex-baremetal-daily-master/764/console
https://build.opnfv.org/ci/view/functest/job/functest-apex-baremetal-daily-master/763/console

It will be enforced by a similar patch in Functest too.

Change-Id: I6877979295378ed9ce6b85ad62e8a78e1572b8ba
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
jjb/functest/functest-alpine.sh

index 0f9c003..432bbbb 100755 (executable)
@@ -4,6 +4,7 @@ set -e
 set +u
 set +o pipefail
 
+CI_LOOP=${CI_LOOP:-daily}
 TEST_DB_URL=http://testresults.opnfv.org/test/api/v1/results
 ENERGY_RECORDER_API_URL=http://energy.opnfv.fr/resources
 
@@ -148,7 +149,7 @@ test -f ${HOME}/opnfv/functest/custom/params_${DOCKER_TAG} && custom_params=$(ca
 
 envs="-e INSTALLER_TYPE=${INSTALLER_TYPE} -e INSTALLER_IP=${INSTALLER_IP} \
     -e NODE_NAME=${NODE_NAME} -e DEPLOY_SCENARIO=${DEPLOY_SCENARIO} \
-    -e BUILD_TAG=${BUILD_TAG} -e DEPLOY_TYPE=${DEPLOY_TYPE} \
+    -e BUILD_TAG=${BUILD_TAG} -e DEPLOY_TYPE=${DEPLOY_TYPE} -e CI_LOOP=${CI_LOOP} \
     -e TEST_DB_URL=${TEST_DB_URL} -e ENERGY_RECORDER_API_URL=${ENERGY_RECORDER_API_URL}"
 
 ssh_options="-o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no"