From d412843b8e26afea25e2a1e4bc6d4c48fb748531 Mon Sep 17 00:00:00 2001 From: Markos Chandras Date: Fri, 20 Apr 2018 10:34:42 +0100 Subject: xci: xci-deploy: Fix sourcing of inbound scenarios overrides files We first need to look for the 'xci_overrides' file in the scenarios directory instead of the the XCI_CACHE since for inbound scenarios the former contains in-flight changes. The cache only contains whatever is committed in git and it may not capture changes which are being made to the actual XCI tree. Change-Id: Icd64d14d508c89a78823cecf7cc46bd31e50a475 Signed-off-by: Markos Chandras --- xci/xci-deploy.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/xci/xci-deploy.sh b/xci/xci-deploy.sh index a8b7adbd..c0c1a8ef 100755 --- a/xci/xci-deploy.sh +++ b/xci/xci-deploy.sh @@ -153,7 +153,8 @@ echo "-------------------------------------------------------------------------" #------------------------------------------------------------------------------- # Get scenario variables overrides #------------------------------------------------------------------------------- -source $(find $XCI_SCENARIOS_CACHE/${DEPLOY_SCENARIO} -name xci_overrides) &>/dev/null || : +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 || : # Deploy infrastructure based on the selected deloyment method echo "Info: Deploying hardware using '${INFRA_DEPLOYMENT}'" -- cgit 1.2.3-korg