Check for change-lock in pipeline to prevent deploys
Overview
GitLab sometimes has Production Change Locks where we can't make changes to staging or production to stabilize the platform (either we had a bunch of issues or low team availability).
Given that every time we merge to main
we deploy to staging/production we need a systematic way to prevent merges from happening instead.
In infrastructure, we have change-lock where it will fail the pipeline (hence preventing deploys), for example:
We should implement the same for http-router
.
Action Items
-
Change lock check in https://gitlab.com/gitlab-org/cells/http-router -
Change lock check in https://gitlab.com/gitlab-com/gl-infra/cells/http-router-deployer/
Edited by Bojan Marjanovic