modified to use deployment.yaml for cleanup.sh 39/26039/1
authorNarinder Gupta <narinder.gupta@canonical.com>
Thu, 15 Dec 2016 17:47:38 +0000 (11:47 -0600)
committerNarinder Gupta <narinder.gupta@canonical.com>
Thu, 15 Dec 2016 17:48:57 +0000 (11:48 -0600)
Change-Id: I1bce892a03dae39f4cc85bdf79e64f2ec0b99499
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
ci/clean.sh

index eaff136..9324a91 100755 (executable)
@@ -7,6 +7,11 @@ if [ ! -d environments.yaml ]; then
     cp ~/.juju/environments.yaml ./environments.yaml || true
 fi
 
+if [ ! -d deployment.yaml ]; then
+    cp ~/joid_config/deployment.yaml ./deployment.yaml || true
+    cp ~/.juju/deployment.yaml ./deployment.yaml || true
+fi
+
 jujuver=`juju --version`
 
 if [[ "$jujuver" > "2" ]]; then