Add staging deployment check
What does this MR do and why?
Describe in detail what your merge request does and why.
We currently have a production deployment check that returns false if there is an production deployment ongoing.
Similarly, this MR introduces a staging deployment check which will check for active staging deployments. This will be used by the post-deploy migration pipeline.
- Change
ActiveDeployments
class to an interface. - Add new
ActiveGprdDeployments
andActiveGstgDeployments
classes.
gitlab-com/gl-infra/delivery#2439 (closed)
Author Check-list
-
Has documentation been updated?
Edited by Reuben Pereira