diff options
author | Markos Chandras <mchandras@suse.de> | 2017-11-30 17:13:03 +0000 |
---|---|---|
committer | Markos Chandras <mchandras@suse.de> | 2017-12-01 09:28:00 +0000 |
commit | 1cfd0c6cdfd5919d269c651e1db455a16361b475 (patch) | |
tree | c1fb7bff1b4a142a898590271f844040b5543633 /xci/xci-deploy.sh | |
parent | de6d6ae606929edf65a26864adc257fee648d27e (diff) |
xci: Allow variable overrides from external scenarios
All scenarios are being cloned to XCI_SCENARIOS_CACHE so look
there for the various override files. This will allow external
scenarios to influence the XCI environment.
Change-Id: I39a48ce55baaa29d09737ce6232867ef1165f099
Signed-off-by: Markos Chandras <mchandras@suse.de>
Diffstat (limited to 'xci/xci-deploy.sh')
-rwxr-xr-x | xci/xci-deploy.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xci/xci-deploy.sh b/xci/xci-deploy.sh index 3a4616ce..b2288163 100755 --- a/xci/xci-deploy.sh +++ b/xci/xci-deploy.sh @@ -143,8 +143,8 @@ echo "-------------------------------------------------------------------------" #------------------------------------------------------------------------------- # Get scenario variables overrides #------------------------------------------------------------------------------- -if [[ -f $XCI_PATH/xci/scenarios/${OPNFV_SCENARIO:-_no_scenario_}/xci_overrides ]]; then - source $XCI_PATH/xci/scenarios/$OPNFV_SCENARIO/xci_overrides +if [[ -f $XCI_SCENARIOS_CACHE/${OPNFV_SCENARIO:-_no_scenario_}/xci_overrides ]]; then + source $XCI_SCENARIOS_CACHE/$OPNFV_SCENARIO/xci_overrides fi #------------------------------------------------------------------------------- |