diff options
author | Narinder Gupta <narinder.gupta@canonical.com> | 2015-10-01 15:50:22 -0500 |
---|---|---|
committer | Narinder Gupta <narinder.gupta@canonical.com> | 2015-10-01 15:50:22 -0500 |
commit | 382576f8f1e528d890c3477286ef5845b52ed6d4 (patch) | |
tree | d5634d52b1b4074eccce29e425146c4b56f98537 /ci/deploy.sh | |
parent | 0bee92804ca6769985daf0afbdc28993b93e6324 (diff) |
updated the script to deploy maas cleanly. Update the Orange Lab
node infrastruture.
Change-Id: I4cde950a29589295e4d0986add3ddcd289b0fc7e
Diffstat (limited to 'ci/deploy.sh')
-rwxr-xr-x | ci/deploy.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/ci/deploy.sh b/ci/deploy.sh index f33ad4be..51d44106 100755 --- a/ci/deploy.sh +++ b/ci/deploy.sh @@ -50,6 +50,15 @@ while getopts ":s:t:o:l:h:r:" opt; do esac done +deploy_dep() { + sudo apt-get install git -y + sudo apt-add-repository ppa:juju/stable -y + sudo apt-get update + sudo apt-get install juju juju-deployer -y + juju init -y + cp environments.yaml ~/.juju/ +} + deploy() { #copy the script which needs to get deployed as part of ofnfv release echo "deploying now" @@ -66,5 +75,6 @@ if [ "$#" -eq 0 ]; then fi echo "deploying started" +deploy_dep deploy echo "deploying finished" |