From e6f1836f6e7d344b69bacd4a57fec354b51a7888 Mon Sep 17 00:00:00 2001 From: narindergupta Date: Mon, 22 Aug 2016 15:01:20 -0400 Subject: modfied to cleanup copying of yaml files from .juju/ Change-Id: I1c44815b9b4217033034faf4a2880f5737f81fad Signed-off-by: Narinder Gupta --- ci/02-deploybundle.sh | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'ci/02-deploybundle.sh') diff --git a/ci/02-deploybundle.sh b/ci/02-deploybundle.sh index 8a0502d9..9242ebba 100755 --- a/ci/02-deploybundle.sh +++ b/ci/02-deploybundle.sh @@ -42,11 +42,9 @@ check_status() { } #read the value from deployment.yaml -if [ -e ~/.juju/deployment.yaml ]; then - cp ~/.juju/deployment.yaml ./deployment.yaml - if [ -e ~/.juju/deployconfig.yaml ]; then - cp ~/.juju/deployconfig.yaml ./deployconfig.yaml - cp ~/.juju/labconfig.yaml ./labconfig.yaml + +if [ -e ./deployment.yaml ]; then + if [ -e ./deployconfig.yaml ]; then extport=`grep "ext-port" deployconfig.yaml | cut -d ' ' -f 4 | sed -e 's/ //' | tr ',' ' '` datanet=`grep "dataNetwork" deployconfig.yaml | cut -d ' ' -f 4 | sed -e 's/ //'` admnet=`grep "admNetwork" deployconfig.yaml | cut -d ' ' -f 4 | sed -e 's/ //'` -- cgit 1.2.3-korg