jjb: xci: Do not check for scenario changes in releng-xci repo 59/61759/1
authorMarkos Chandras <mchandras@suse.de>
Mon, 3 Sep 2018 14:22:19 +0000 (15:22 +0100)
committerMarkos Chandras <mchandras@suse.de>
Mon, 3 Sep 2018 14:22:19 +0000 (15:22 +0100)
There are no scenarios in releng-xci anymore so we must not try and
determine the impacted scenario. Using the default one is good enough
for CI. Users can still override the defaults using the usual methods.

Change-Id: I47207ebddae79fd89615bfd664f211879aabae92
Signed-off-by: Markos Chandras <mchandras@suse.de>
jjb/xci/xci-set-scenario.sh

index 7bc45f1..105b989 100755 (executable)
@@ -166,9 +166,10 @@ WORK_DIRECTORY=/tmp/$GERRIT_CHANGE_NUMBER/$DISTRO
 
 if [[ $GERRIT_PROJECT == "releng-xci" ]]; then
     determine_default_scenario
+else
+    determine_scenario
 fi
 override_scenario
-determine_scenario
 
 # ensure single scenario is impacted
     if [[ $(IFS=$'\n' echo ${DEPLOY_SCENARIO[@]} | wc -w) != 1 ]]; then