summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNarinder Gupta <narinder.gupta@canonical.com>2017-08-23 13:11:15 -0500
committerNarinder Gupta <narinder.gupta@canonical.com>2017-08-23 13:11:15 -0500
commit4b7bbc9613bf8cab6b918b5f97b1712d7a5226bf (patch)
treea8b2273098f9faaa95aff23192a551554b8c7a2a
parent9d5b9c59a7041490a7c15b797fcbeff9d4b48bb5 (diff)
make sure master charm in kubernetes resolved before we are
testing Change-Id: I5da42ff08acfcdcf3049b5facd9dc2f9146a035e Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
-rwxr-xr-xci/deploy.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/ci/deploy.sh b/ci/deploy.sh
index b004885d..85374e75 100755
--- a/ci/deploy.sh
+++ b/ci/deploy.sh
@@ -298,8 +298,7 @@ deploy
check_status executing
echo_info "Deployment finished"
-
-echo_info "Configuring public access"
+juju status --format=tabular
# translate bundle.yaml to json
python -c 'import sys, yaml, json; json.dump(yaml.load(sys.stdin), sys.stdout, indent=4)' < bundles.yaml > bundles.json
@@ -327,6 +326,9 @@ if ([ $opnfvmodel == "openstack" ]); then
fi
elif ([ $opnfvmodel == "kubernetes" ]); then
+ #Workarounf for master chanrm as it takes 5 minutes to run properly
+ check_status waiting
+ check_status executing
echo_info "Configuring Kubernetes deployment"
./k8.sh