It let functest-alpine process branches right after [1].
[1] https://build.opnfv.org/ci/job/functest-apex-virtual-suite-master/241/console
Change-Id: I6ed804fe9f3628f67421157433e09da3bcbf585c
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Signed-off-by: Tim Rozet <trozet@redhat.com>
elif [[ "$features" =~ 'rocky' ]]; then
echo "DOCKER_TAG=hunter" > functest_tag
else
- touch functest_tag
+ echo "DOCKER_TAG=''" > functest_tag
fi
- inject:
properties-file: functest_tag
current-parameters: false
predefined-parameters: |
DEPLOY_SCENARIO=$DEPLOY_SCENARIO
- DOCKER_TAG=$DOCKER_TAG
+ DOCKER_TAG=""
FUNCTEST_SUITE_NAME=tempest_smoke
FUNCTEST_MODE=testcase
GERRIT_BRANCH=$GERRIT_BRANCH
echo "DOCKER_TAG=hunter" > functest_scenario
else
functest_scenario=$DEPLOY_SCENARIO
+ DOCKER_TAG=''
fi
echo "DEPLOY_SCENARIO=$functest_scenario" >> functest_scenario
- inject:
name: DEPLOY_SCENARIO
default: '{scenario}'
description: "Scenario to deploy with."
+ - string:
+ name: DOCKER_TAG
+ default: ''
+ description: Default docker tag to pass to functest
properties:
- logrotate-default
current-parameters: false
predefined-parameters:
DEPLOY_SCENARIO=$DEPLOY_SCENARIO
+ DOCKER_TAG=$DOCKER_TAG
kill-phase-on: NEVER
abort-all-job: false
git-revision: false
echo "DOCKER_TAG=hunter" > functest_scenario
else
functest_scenario=$DEPLOY_SCENARIO
+ DOCKER_TAG=''
fi
echo "DEPLOY_SCENARIO=$functest_scenario" >> functest_scenario
- inject:
name: DEPLOY_SCENARIO
default: '{scenario}'
description: "Scenario to deploy with."
+ - string:
+ name: DOCKER_TAG
+ default: ''
+ description: Default docker tag to pass to functest
properties:
- logrotate-default
current-parameters: false
predefined-parameters:
DEPLOY_SCENARIO=$DEPLOY_SCENARIO
+ DOCKER_TAG=$DOCKER_TAG
kill-phase-on: NEVER
abort-all-job: false
git-revision: false