aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>2018-01-23 18:25:11 +0100
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>2018-01-25 17:28:14 +0000
commit9b42660d56b75a0630d10ed45d0254316a22b020 (patch)
tree0e5255135a1d1dab541266d73292722a252c7e26
parent82050de5fa77139d8e117683cb3c0084e5b7f250 (diff)
deploy.sh: Retire simplest scenario fallback
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> (cherry picked from commit 87bc4497afc1c6ea09dadd6e2720a698aaacdb6e)
-rwxr-xr-xci/deploy.sh9
1 files changed, 2 insertions, 7 deletions
diff --git a/ci/deploy.sh b/ci/deploy.sh
index 04747bac9..2a3450083 100755
--- a/ci/deploy.sh
+++ b/ci/deploy.sh
@@ -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