Make sure only one running deployment to a release environment at a time
We need to make sure that there is only one deployment to a release environment running at a time, thus we can use the deployment result as the validation for a change (i.e. MR) on a stable branch.
Some ideas:
- In auto_deploy pipeline, we use Chef roles to do the same thing.
- We can use resource group feature of GitLab pipeline to make sure no two pipelines run at the same time on release environment.
Exit Criteria
-
Only one running deployment to a release environment at a time -
Deployments happen in order (i.e. the MR merged first gets deployed first)
Edited by Dat Tang