summaryrefslogtreecommitdiff
path: root/vendor
diff options
context:
space:
mode:
authorThong Kuah <tkuah@gitlab.com>2018-09-13 12:04:25 +1200
committerThong Kuah <tkuah@gitlab.com>2018-09-13 13:49:59 +1200
commit2509ccd7a90ed7e259935e9cc666021d87cd56e0 (patch)
tree8469ffac9101098ff7396f71c9ce4eb04526033e /vendor
parentf87809f78de9da04f38134ba5ce0cf9ddebf2f63 (diff)
downloadgitlab-ce-2509ccd7a90ed7e259935e9cc666021d87cd56e0.tar.gz
Auto devops should wait for Deployment to complete
Vendors in Auto-DevOps.gitlab-ci.yml from https://gitlab.com/gitlab-org/gitlab-ci-yml/merge_requests/195 Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/50186
Diffstat (limited to 'vendor')
-rw-r--r--vendor/gitlab-ci-yml/Auto-DevOps.gitlab-ci.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/vendor/gitlab-ci-yml/Auto-DevOps.gitlab-ci.yml b/vendor/gitlab-ci-yml/Auto-DevOps.gitlab-ci.yml
index 0b362fa0bee..27553a6b374 100644
--- a/vendor/gitlab-ci-yml/Auto-DevOps.gitlab-ci.yml
+++ b/vendor/gitlab-ci-yml/Auto-DevOps.gitlab-ci.yml
@@ -604,6 +604,8 @@ rollout 100%:
--version="$CI_PIPELINE_ID-$CI_JOB_ID" \
"$name" \
chart/
+
+ kubectl rollout status -n "$KUBE_NAMESPACE" -w "deployment/$name"
}
function scale() {