summaryrefslogtreecommitdiffstats
path: root/ci/odl/01-deploybundle.sh
diff options
context:
space:
mode:
authorNarinder Gupta <narinder.gupta@canonical.com>2016-01-07 10:07:53 -0600
committerNarinder Gupta <narinder.gupta@canonical.com>2016-01-07 10:07:53 -0600
commitfcf9fd1914d82e6b4fa22edaed6d3d6d7a0c9860 (patch)
tree2bf4fcad4085d2fae95496bec393af0090604ddb /ci/odl/01-deploybundle.sh
parent47f9ff23bf14140a83db77152b8204abd27b649e (diff)
added the retry count to juju-deployer in case od error in can
be retried. Change-Id: Ic1bf10dcb9bf5f5b3a8c8ce94bbc6332731e667b
Diffstat (limited to 'ci/odl/01-deploybundle.sh')
-rwxr-xr-xci/odl/01-deploybundle.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/ci/odl/01-deploybundle.sh b/ci/odl/01-deploybundle.sh
index 94c9cdc6..7887a182 100755
--- a/ci/odl/01-deploybundle.sh
+++ b/ci/odl/01-deploybundle.sh
@@ -75,19 +75,19 @@ echo "... Deployment Started ...."
case "$1" in
'nonha' )
juju-deployer -vW -d -c bundles.yaml trusty-"$2"-nodes
- juju-deployer -vW -d -t 7200 -c bundles.yaml trusty-"$2"
+ juju-deployer -vW -d -t 7200 -r 5 -c bundles.yaml trusty-"$2"
;;
'ha' )
juju-deployer -vW -d -c bundles.yaml trusty-"$2"-nodes
- juju-deployer -vW -d -t 7200 -c bundles.yaml trusty-"$2"
+ juju-deployer -vW -d -t 7200 -r 5 -c bundles.yaml trusty-"$2"
;;
'tip' )
juju-deployer -vW -d -c bundles.yaml trusty-"$2"-nodes
- juju-deployer -vW -d -t 7200 -c bundles.yaml trusty-"$2"
+ juju-deployer -vW -d -t 7200 -r 5 -c bundles.yaml trusty-"$2"
;;
* )
juju-deployer -vW -d -c bundles.yaml trusty-"$2"-nodes
- juju-deployer -vW -d -t 7200 -c bundles.yaml trusty-"$2"
+ juju-deployer -vW -d -t 7200 -r 5 -c bundles.yaml trusty-"$2"
;;
esac