summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkos Chandras <mchandras@suse.de>2018-03-13 08:25:44 +0000
committerMarkos Chandras <mchandras@suse.de>2018-03-13 10:08:38 +0000
commitefee9c247bc0927ea789318c8e1054510acaff32 (patch)
treef06139ab349d502d7d000f705abcbef82126b3cf
parenta14cf5ebf3d699d6c4ad2c3233636f2660266e65 (diff)
jjb: xci: Allow CI to run when multiple components are affected
Sometimes we make global changes that affect multiple components at once and splitting that is not possible because it needs to be shipped as an atomic change. As such, allow topics with 'force-verify' to run the CI using the default installer and scenario. Change-Id: Ie4753822111b20c4f479886a55fe569c9b91ccd0 Signed-off-by: Markos Chandras <mchandras@suse.de>
-rwxr-xr-xjjb/xci/xci-set-scenario.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/jjb/xci/xci-set-scenario.sh b/jjb/xci/xci-set-scenario.sh
index 79b31bfb0..bc78101e4 100755
--- a/jjb/xci/xci-set-scenario.sh
+++ b/jjb/xci/xci-set-scenario.sh
@@ -92,6 +92,13 @@ if [[ "$GERRIT_TOPIC" =~ skip-verify|skip-deployment ]]; then
echo "Skipping verify!"
echo "DEPLOY_SCENARIO=os-nosdn-nofeature" > $WORK_DIRECTORY/scenario.properties
exit 0
+elif [[ "$GERRIT_TOPIC" =~ 'force-verify' ]]; then
+ # Run the deployment with default installer and scenario when multiple things change
+ # and we want to force that.
+ echo "Forcing CI verification of default scenario and installer!"
+ echo "INSTALLER_TYPE=osa" > $WORK_DIRECTORY/scenario.properties
+ echo "DEPLOY_SCENARIO=os-nosdn-nofeature" >> $WORK_DIRECTORY/scenario.properties
+ exit 0
fi
if [[ $GERRIT_PROJECT == "releng-xci" ]]; then