Production promotion check tooling
Per notes in #869 (comment 347174969) and #869 (comment 347190385) , we are moving away from manual approvals for production promotions.
Create tools that will:
- Check in https://gitlab.com/gitlab-com/gl-infra/production for open issues
- Incident issue is open, with "Incident::Open" label
- Change issue is open, criticality C1 or C2, and has a label "change::in-progress"
We should always log in the monthly release issue.
If the issues exist when we attempt to promote, always link which incident/changes issues were active at the time of attempted promotion.
If the issues do not exist, log that there were no promotion blockers. In both cases, log the start and end time.
Follow-up
- Fix release manager attribution for chatops triggered deployment - #930 (closed)
- We had to move back from multi-project pipelines to regular API triggers because of gitlab-org/gitlab#219251 (closed)
Edited by Alessio Caiazza