Skip to content

Commit

Permalink
remove wait for sleep
Browse files Browse the repository at this point in the history
  • Loading branch information
lachie83 committed Jul 7, 2017
1 parent cc661e4 commit 0516c38
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/io/estrado/Pipeline.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,11 @@ def helmDeploy(Map args) {
} else {
println "Running deployment"

sh "helm upgrade --install --wait ${args.name} ${args.chart_dir} --set imageTag=${args.version_tag},replicas=${args.replicas},cpu=${args.cpu},memory=${args.memory},ingress.hostname=${args.hostname} --namespace=${namespace}"
// reimplement --wait once it works reliable
sh "helm upgrade --install ${args.name} ${args.chart_dir} --set imageTag=${args.version_tag},replicas=${args.replicas},cpu=${args.cpu},memory=${args.memory},ingress.hostname=${args.hostname} --namespace=${namespace}"

// sleeping until --wait works reliably
sleep(20)

echo "Application ${args.name} successfully deployed. Use helm status ${args.name} to check"
}
Expand Down

0 comments on commit 0516c38

Please sign in to comment.