summaryrefslogtreecommitdiffstats
path: root/ci/deploy.sh
diff options
context:
space:
mode:
authorNarinder Gupta <narinder.gupta@canonical.com>2016-09-08 13:39:54 -0500
committerNarinder Gupta <narinder.gupta@canonical.com>2016-09-08 13:40:17 -0500
commit2ead372983bbb1fb9f258c638d1d559a4f28c53f (patch)
treeb9a794492a9d9a588dafe44b531fbb6ab5883767 /ci/deploy.sh
parent349da47a53878710acba74cd873c74433536d981 (diff)
modified to backup and restore deployment.yaml
Change-Id: Id19a574024172fc9b50b9016361cc465e0088bd7 Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
Diffstat (limited to 'ci/deploy.sh')
-rwxr-xr-xci/deploy.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/ci/deploy.sh b/ci/deploy.sh
index dbe0ef97..3b5e5002 100755
--- a/ci/deploy.sh
+++ b/ci/deploy.sh
@@ -110,6 +110,9 @@ deploy() {
if [ ! -f ./environments.yaml ] && [ -e ~/.juju/environments.yaml ]; then
cp ~/.juju/environments.yaml ./environments.yaml
fi
+ if [ ! -f ./deployment.yaml ] && [ -e ~/.juju/deployment.yaml ]; then
+ cp ~/.juju/deployment.yaml ./deployment.yaml
+ fi
if [ ! -f ./labconfig.yaml ] && [ -e ~/.juju/labconfig.yaml ]; then
cp ~/.juju/labconfig.yaml ./labconfig.yaml
fi