summaryrefslogtreecommitdiffstats
path: root/ci/01-deploybundle.sh
diff options
context:
space:
mode:
authorNarinder Gupta <narinder.gupta@canonical.com>2016-05-03 14:39:14 -0500
committerNarinder Gupta <narinder.gupta@canonical.com>2016-05-03 15:04:07 -0500
commitc64f24e26c24772f2a4a64ddb75c8e2855ed2a76 (patch)
tree32b4f9e0297aa54f38fcc9bebbf263dd10617850 /ci/01-deploybundle.sh
parent4c67c06c1bb59cb6a7b17718c7bc27cf784ca80d (diff)
cleanup and also fetch the charms first then deploy.
Change-Id: I7e9b2995ec7c32079903a3c8db0b2bd54a6e724e Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
Diffstat (limited to 'ci/01-deploybundle.sh')
-rwxr-xr-xci/01-deploybundle.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/ci/01-deploybundle.sh b/ci/01-deploybundle.sh
index 105477ad..1c3a5104 100755
--- a/ci/01-deploybundle.sh
+++ b/ci/01-deploybundle.sh
@@ -2,6 +2,11 @@
#placeholder for deployment script.
set -ex
+#copy and download charms
+ cp $4/fetch-charms.sh ./fetch-charms.sh
+ sh ./fetch-charms.sh
+
+
case "$1" in
'nonha' )
cp $4/juju-deployer/ovs-$4-nonha.yaml ./bundles.yaml