deploy.sh: Retire simplest scenario fallback 07/51007/1
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Tue, 23 Jan 2018 17:25:11 +0000 (18:25 +0100)
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Tue, 23 Jan 2018 17:27:44 +0000 (18:27 +0100)
Previously, when a requested scenario was missing, we used to default
to the simplest scenario.
Now that we have a critical mass of scenario definitions, retire
this fallback mechanism.

Change-Id: I3ba6b04290806ff78b3ec22b90fa054d45602869
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
ci/deploy.sh

index 501a36c..69a7323 100755 (executable)
@@ -321,13 +321,8 @@ fi
 # Check scenario file existence
 SCENARIO_DIR="../config/scenario"
 if [ ! -f  "${SCENARIO_DIR}/${DEPLOY_TYPE}/${DEPLOY_SCENARIO}.yaml" ]; then
-    notify "[WARN] ${DEPLOY_SCENARIO}.yaml not found!\n" 3
-    notify "[WARN] Setting simplest scenario (os-nosdn-nofeature-noha)\n" 3
-    DEPLOY_SCENARIO='os-nosdn-nofeature-noha'
-    if [ ! -f  "${SCENARIO_DIR}/${DEPLOY_TYPE}/${DEPLOY_SCENARIO}.yaml" ]; then
-        notify "[ERROR] Scenario definition file is missing!\n" 1>&2
-        exit 1
-    fi
+    notify "[ERROR] Scenario definition file is missing!\n" 1>&2
+    exit 1
 fi
 
 # Check defaults file existence