Skip to content

Commit

Permalink
Apex: Fix csit deployments for queens
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
trozet committed Oct 16, 2018
1 parent 66a6a17 commit fc7b83b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jjb/apex/apex-deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fc7b83b

Please sign in to comment.