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
This commit is contained in:
Thong Kuah 2018-09-13 12:04:25 +12:00
parent f87809f78d
commit 2509ccd7a9
2 changed files with 8 additions and 0 deletions

View File

@ -0,0 +1,6 @@
---
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

View File

@ -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() {