From: Tim Rozet Date: Tue, 16 Oct 2018 12:59:58 +0000 (-0400) Subject: Apex: Fix csit deployments for queens X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=fc7b83bbf7d52f8a952c2d923eaeb912e40af0f1;p=releng.git Apex: Fix csit deployments for queens With changes to deploy scenario files for gambia, we still need the logic to pull in the right csit-env. That logic broke as it depended on DEPLOY_SCENARIO with the changes to scenario names. This patch fixes it to check openstack version (OS_VERSION) instead. Change-Id: Ie130efd0fc3cb7f09a3fa4e896ad461d24394777 Signed-off-by: Tim Rozet --- diff --git a/jjb/apex/apex-deploy.sh b/jjb/apex/apex-deploy.sh index 1bc727d32..4876b8504 100755 --- a/jjb/apex/apex-deploy.sh +++ b/jjb/apex/apex-deploy.sh @@ -141,8 +141,8 @@ if [[ "$JOB_NAME" =~ "virtual" ]]; then fi if [[ "$PROMOTE" == "True" || "$CSIT_ENV_FLAG" == "True" ]]; then - if [[ "$DEPLOY_SCENARIO" =~ "queens" ]]; then - CSIT_ENV="csit-queens-environment.yaml" + if [[ "$OS_VERSION" != "master" ]]; then + CSIT_ENV="csit-${OS_VERSION}-environment.yaml" else CSIT_ENV="csit-environment.yaml" fi