Define DOCKER_TAG in Functest daily job 25/64125/2
authorCédric Ollivier <cedric.ollivier@orange.com>
Mon, 29 Oct 2018 02:19:47 +0000 (03:19 +0100)
committerCédric Ollivier <cedric.ollivier@orange.com>
Mon, 29 Oct 2018 02:51:12 +0000 (03:51 +0100)
It defines DOCKER_TAG as parameter in Functest daily job.
It also fixes DOCKER_TAG default value in properties files and then
complete the previous commit [1].

It should fix the current gate issues [2].

[1] https://gerrit.opnfv.org/gerrit/#/c/64069/
[2] https://build.opnfv.org/ci/view/functest/job/functest-apex-baremetal-daily-gambia/18/console

Change-Id: Ia531ca68a455cc20294e123286062265b9b79d6f
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
jjb/apex/apex.yaml
jjb/apex/apex.yaml.j2
jjb/functest/functest-daily-jobs.yaml

index 33aec19..7a9106e 100644 (file)
             echo "DOCKER_TAG=hunter" > functest_scenario
           else
             functest_scenario=$DEPLOY_SCENARIO
-            DOCKER_TAG=''
+            echo "DOCKER_TAG=''" > functest_scenario
           fi
           echo "DEPLOY_SCENARIO=$functest_scenario" >> functest_scenario
       - inject:
index 281a09b..329d2c9 100644 (file)
             echo "DOCKER_TAG=hunter" > functest_scenario
           else
             functest_scenario=$DEPLOY_SCENARIO
-            DOCKER_TAG=''
+            echo "DOCKER_TAG=''" > functest_scenario
           fi
           echo "DEPLOY_SCENARIO=$functest_scenario" >> functest_scenario
       - inject:
index 8d3883a..34aee8a 100644 (file)
       - string:
           name: DEPLOY_SCENARIO
           default: 'os-nosdn-nofeature-noha'
+      - string:
+          name: DOCKER_TAG
+          default: ''
       - string:
           name: CLEAN_DOCKER_IMAGES
           default: 'false'