summaryrefslogtreecommitdiffstats
path: root/ci/deploy.sh
diff options
context:
space:
mode:
authorNarinder Gupta <narinder.gupta@canonical.com>2016-07-26 00:05:54 -0500
committerNarinder Gupta <narinder.gupta@canonical.com>2016-07-27 09:32:35 -0500
commitadb9288685ac205decce04a1d8eba4c9989bcc48 (patch)
tree454e694c473205c15b4477d8dafba1f005702a4c /ci/deploy.sh
parentb4f5b3523fe5740fb384856180d3c43f4faedc7d (diff)
adding script to enable juju on openstack.
Change-Id: If259c8ad3530cc8d67499d406bd96abdd98b46f0 Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
Diffstat (limited to 'ci/deploy.sh')
-rwxr-xr-xci/deploy.sh5
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