summaryrefslogtreecommitdiffstats
path: root/jjb/apex/apex-deploy.sh
diff options
context:
space:
mode:
authorJamo Luhrsen <jluhrsen@redhat.com>2017-05-17 14:12:06 -0700
committerJamo Luhrsen <jluhrsen@redhat.com>2017-05-25 08:19:47 -0700
commit20dffea627b102ba5588f249ef910c2ea0cd879f (patch)
tree330040b7967b587616e34f59b92b3d447fccd253 /jjb/apex/apex-deploy.sh
parent6d275e8c16f706f12838c0970b148054df30512c (diff)
Deploy 2 Computes if triggered by promote jobs
Change-Id: I5431e1c86d9f56b5192880dc9e7eb6f2f0ab61ee Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
Diffstat (limited to 'jjb/apex/apex-deploy.sh')
-rwxr-xr-xjjb/apex/apex-deploy.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/jjb/apex/apex-deploy.sh b/jjb/apex/apex-deploy.sh
index d6bb48555..74f67ce5f 100755
--- a/jjb/apex/apex-deploy.sh
+++ b/jjb/apex/apex-deploy.sh
@@ -128,7 +128,7 @@ if [[ "$JOB_NAME" =~ "virtual" ]]; then
if [[ "$JOB_NAME" == *csit* ]]; then
DEPLOY_CMD="${DEPLOY_CMD} -e csit-environment.yaml"
fi
- if [[ "$JOB_NAME" == *promote* ]]; then
+ if [[ "$PROMOTE" == "True" ]]; then
DEPLOY_CMD="${DEPLOY_CMD} --virtual-computes 2"
fi
else