~narindergupta/opnfv/stable-R2

« back to all changes in this revision

Viewing changes to ci/deploy.sh

  • Committer: Narinder Gupta
  • Date: 2016-07-27 14:32:35 UTC
  • Revision ID: git-v1:adb9288685ac205decce04a1d8eba4c9989bcc48
adding script to enable juju on openstack.

Change-Id: If259c8ad3530cc8d67499d406bd96abdd98b46f0
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>

Show diffs side-by-side

added added

removed removed

Lines of Context:
106
106
#copy the files and create extra resources needed for HA deployment
107
107
# in case of default VM labs.
108
108
deploy() {
 
109
 
 
110
    if [ ! -f ./environments.yaml ] && [ -e ~/.juju/environments.yaml ]; then
 
111
        cp ~/.juju/environments.yaml ./environments.yaml
 
112
    fi
 
113
 
109
114
    #copy the script which needs to get deployed as part of ofnfv release
110
115
    echo "...... deploying now ......"
111
116
    echo "   " >> environments.yaml