From 05f24781ddff8cc1ea9ad64634438415295f6023 Mon Sep 17 00:00:00 2001 From: Narinder Gupta Date: Thu, 8 Sep 2016 13:39:54 -0500 Subject: modified to backup and restore deployment.yaml Change-Id: Id19a574024172fc9b50b9016361cc465e0088bd7 Signed-off-by: Narinder Gupta (cherry picked from commit 2ead372983bbb1fb9f258c638d1d559a4f28c53f) --- ci/deploy.sh | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ci/deploy.sh') 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 -- cgit 1.2.3-korg