diff options
author | Narinder Gupta <narinder.gupta@canonical.com> | 2017-09-21 09:15:30 +0000 |
---|---|---|
committer | Narinder Gupta <narinder.gupta@canonical.com> | 2017-09-21 09:15:30 +0000 |
commit | 3c64cb8ab8a0aa1ae03dfe43f4759100e3650b83 (patch) | |
tree | 379eb8b92b5b6e9848d3a2ecadbcf493ab161f4b /ci/02-deploybundle.sh | |
parent | 16c95e3ff61446c5cac0e1e683f8c3c72e0ad553 (diff) |
Revert "modfiied to adjust timings as it seems download the container image is slow like few kbps."
This reverts commit 16c95e3ff61446c5cac0e1e683f8c3c72e0ad553.
Change-Id: I6bca3a73ff16f21d4f53dedf7523f9d14aca369f
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
Diffstat (limited to 'ci/02-deploybundle.sh')
-rwxr-xr-x | ci/02-deploybundle.sh | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/ci/02-deploybundle.sh b/ci/02-deploybundle.sh index d10f3be6..396f5ea9 100755 --- a/ci/02-deploybundle.sh +++ b/ci/02-deploybundle.sh @@ -26,7 +26,6 @@ fi #check whether charms are still executing the code even juju-deployer says installed. check_status() { waitstatus=$1 - waittime=$2 retval=0 timeoutiter=0 @@ -34,7 +33,7 @@ check_status() { while [ $retval -eq 0 ]; do if juju status | grep -q $waitstatus; then echo -n '.' - if [ $timeoutiter -ge $waittime ]; then + if [ $timeoutiter -ge 180 ]; then echo 'timed out' retval=1 else @@ -151,8 +150,8 @@ pastebinit bundles.yaml || true # with JUJU 2.0 bundles has to be deployed only once. juju deploy bundles.yaml --debug -sleep 720 -check_status allocating 220 +sleep 120 +check_status allocating # need to revisit later if not needed we will remove the below. openfile_fix() { |