Commit 2509ccd7 authored by Thong Kuah's avatar Thong Kuah

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
parent f87809f7
---
title: Vendor Auto-DevOps.gitlab-ci.yml to fix bug where the deploy job does not wait
for Deployment to complete
merge_request: 21713
author:
type: fixed
......@@ -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() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment