Add metric to track package status
What does this MR do and why?
Describe in detail what your merge request does and why.
Content
Add a metric to track package status from building to success or failure. It also tracks missing packager pipelines and packager pipelines that have been created but not started running yet.
- Add the new metric to delivery-metric.
- Add a class in release-tools that calls the pipeline API to check the status of the packager pipelines, and sets the metric.
- Add a rake task that calls the above class.
- Add 3 CI jobs that calls the above rake task.
- One job is for setting the metric at the start of the coordinator pipeline.
- The second is for setting the metric
on_success
of the packager pipelines. - The third is for setting the metric
on_failure
of the packager pipelines.
I created a test pipeline to make sure that the pipeline syntax is fine: https://ops.gitlab.net/gitlab-org/release/tools/-/pipelines/2901424.
gitlab-com/gl-infra/delivery#19907 (closed), gitlab-com/gl-infra/delivery#20063 (closed)
Author Check-list
-
Has documentation been updated?
Edited by Reuben Pereira