Ignore pipelines with no end time for pipeline duration metrics
What does this MR do and why?
Describe in detail what your merge request does and why.
Content
There are two changes in this MR:
-
Ignore pipelines with no end time for pipeline duration metrics
Without an end time, the duration of a pipeline cannot be calculated. So we ignore pipelines whose end_time is unknown. The end time is usually unknown when the pipeline is still running. This can happen for downstream pipelines that run longer than the upstream pipeline.
This also happens when a downstream pipeline goes into a blocked state (waiting for a manual job). In this case, the upstream trigger job stays in the running state.
-
Accept pipeline duration metrics for the cells/tissue project
Allow Delivery-metrics to accept pipeline duration metrics of the gitlab-com/gl-infra/cells/tissue project. Pipelines in the tissue project are triggered by auto deploy pipelines, so duration metrics are calculated for those pipelines as well.
gitlab-com/gl-infra/delivery#20413 and gitlab-com/gl-infra/delivery#20414
Author Check-list
-
Has documentation been updated?