diff options
Diffstat (limited to 'ci/deploy.sh')
-rwxr-xr-x | ci/deploy.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ci/deploy.sh b/ci/deploy.sh index 4d5f61e5..a4ef3b2c 100755 --- a/ci/deploy.sh +++ b/ci/deploy.sh @@ -106,6 +106,11 @@ createresource() { #copy the files and create extra resources needed for HA deployment # in case of default VM labs. deploy() { + + if [ ! -f ./environments.yaml ] && [ -e ~/.juju/environments.yaml ]; then + cp ~/.juju/environments.yaml ./environments.yaml + fi + #copy the script which needs to get deployed as part of ofnfv release echo "...... deploying now ......" echo " " >> environments.yaml |