Code Review
/
joid.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
eae61f5
)
clean the juju environment based on it was deployed.
99/18099/1
author
Narinder Gupta
<narinder.gupta@canonical.com>
Fri, 5 Aug 2016 19:36:02 +0000
(14:36 -0500)
committer
Narinder Gupta
<narinder.gupta@canonical.com>
Fri, 5 Aug 2016 19:36:38 +0000
(14:36 -0500)
Change-Id: I23b3bee91a430e6792b6a60760efecdd65808a42
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
ci/clean.sh
patch
|
blob
|
history
diff --git
a/ci/clean.sh
b/ci/clean.sh
index
105ef0c
..
aa2ca44
100755
(executable)
--- a/
ci/clean.sh
+++ b/
ci/clean.sh
@@
-9,7
+9,8
@@
if [ -d $HOME/.juju/environments ]; then
echo " environment is not bootstrapped ..."
else
echo " environment is bootstrapped ..."
- juju destroy-environment demo-maas -y
+ jujuenv=`juju status | grep environment | cut -d ":" -f 2`
+ juju destroy-environment $jujuenv -y
fi
rm -rf precise
rm -rf trusty