summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkos Chandras <mchandras@suse.de>2018-05-16 14:06:16 +0100
committerMarkos Chandras <mchandras@suse.de>2018-05-17 09:32:18 +0100
commitc674c1fc281b4b81152a80493bfd8cdb9b91e3db (patch)
tree2fc1d1a8c95e934c70e0e08c8f7ad36dfce23187
parentf348c9da37a6126f9e6fa6fc78c87cd33ed6d35c (diff)
xci: xci-deploy.sh: Only check for xci_overrides files in scenarios cache
xci/scenarios has been removed from releng-xci so there is not point in checking for xci_overrides files there. Change-Id: If6b9306968817b0ba8fb362b532ac8492d274676 Signed-off-by: Markos Chandras <mchandras@suse.de>
-rwxr-xr-xxci/xci-deploy.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/xci/xci-deploy.sh b/xci/xci-deploy.sh
index a04fb21e..07f4d39d 100755
--- a/xci/xci-deploy.sh
+++ b/xci/xci-deploy.sh
@@ -164,8 +164,8 @@ echo "-------------------------------------------------------------------------"
# Get scenario variables overrides
#-------------------------------------------------------------------------------
-source $(find $XCI_PATH/xci/scenarios/${DEPLOY_SCENARIO} -name xci_overrides) &>/dev/null || \
- source $(find $XCI_SCENARIOS_CACHE/${DEPLOY_SCENARIO} -name xci_overrides) &>/dev/null || :
+source $(find $XCI_SCENARIOS_CACHE/${DEPLOY_SCENARIO} -name xci_overrides) &>/dev/null &&
+ echo "Sourced ${DEPLOY_SCENARIO} overrides files successfully!" || :
#-------------------------------------------------------------------------------
# Log info to console