Vendor Auto-DevOps.gitlab-ci.yml: fix where the deploy job does not wait for Deployment to complete.
What does this MR do?
Vendors in Auto-DevOps.gitlab-ci.yml from gitlab-ci-yml!195 (merged)
Add kubectl rollout status...
as a workaround to wait for the Deployment to complete.
Currently Auto Devops jobs do not wait for the Kubernetes Deployment
to complete (ie. for the Available pod to match the Desired pod number). In theory helm upgrade ... --wait
in the deploy()
function should work but because we are using an older version of Deployment
, the --wait
fails to wait.
While we resolve charts/auto-deploy-app#6 (moved), this addition helps users by making sure that their application is up before we complete the deploy job (and also run post-deploy jobs like performance
, which is meaningless on a 503 page)
What are the relevant issue numbers?
Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/50186
Does this MR meet the acceptance criteria?
-
Changelog entry added, if necessary -
Documentation created/updated -
Tests added for this feature/bug -
Conforms to the code review guidelines -
Conforms to the merge request performance guidelines -
Conforms to the style guides -
Conforms to the database guides
Edited by 🤖 GitLab Bot 🤖