summaryrefslogtreecommitdiffstats
path: root/jjb/apex/apex.yaml.j2
diff options
context:
space:
mode:
authorTim Rozet <trozet@redhat.com>2018-10-17 10:29:39 -0400
committerTim Rozet <trozet@redhat.com>2018-10-17 10:29:39 -0400
commit4b546160a5f99e5a2b0d2f9df09f94ffbd067492 (patch)
tree7f9b07b656d50908391fea961ac808ce51947dee /jjb/apex/apex.yaml.j2
parent292279d3fffdcc462cc15352bdfef8ac397edf8b (diff)
Apex: Adds ability to force snapshot promotion
We want the ability to be able to force a promotion and skip CSIT. This patch introduces a variable we can use when manually triggering a promotion job to force promotion. The use case here is for HA scenarios we have no snapshots because CSIT always fails. We want to be able to force promotions for this case to at least have some snapshot available. Change-Id: I7e81b458f4169596929f032e9394695477fbb940 Signed-off-by: Tim Rozet <trozet@redhat.com>
Diffstat (limited to 'jjb/apex/apex.yaml.j2')
-rw-r--r--jjb/apex/apex.yaml.j26
1 files changed, 5 insertions, 1 deletions
diff --git a/jjb/apex/apex.yaml.j2 b/jjb/apex/apex.yaml.j2
index 908acb62c..35a696ad4 100644
--- a/jjb/apex/apex.yaml.j2
+++ b/jjb/apex/apex.yaml.j2
@@ -741,7 +741,10 @@
name: ODL_BRANCH
default: '{odl_branch}'
description: ODL branch being used
-
+ - string:
+ name: FORCE_PROMOTE
+ default: 'False'
+ description: "Used to force promotion and skip CSIT"
properties:
- build-blocker:
use-build-blocker: true
@@ -801,6 +804,7 @@
SSH_KEY_PATH=/tmp/csit/id_rsa
ODL_CONTAINERIZED=true
OS_VERSION=$OS_VERSION
+ SKIP_CSIT=$FORCE_PROMOTE
node-parameters: true
kill-phase-on: NEVER
abort-all-job: false