Skip to content

Ensure all pages are read when calling deployed_merge_requests API

Reuben Pereira requested to merge rp/lead-time-metric-improvements into master

What does this MR do and why?

Describe in detail what your merge request does and why.

  • The deployment-metrics job does not take very long, so we don't need to override the job timeout, which currently defaults to 50 minutes.

  • The job depends on DEPLOY_VERSION and cannot execute without it, so this MR adds a rule to run the job only when DEPLOY_VERSION exists. The code does check for a version and terminates if the version does not exist. DEPLOY_VERSION does not exist for MR pipelines, for example.

Author Check-list

  • Has documentation been updated?
Edited by Reuben Pereira

Merge request reports