Extend /help/instance_configuration with CI/CD limits

What does this MR do and why?

This addresses #362307 (closed)

On the {base_url}/help/instance_configuration help page, you can find information about the settings used in your current instance. This MR extends the content of this page with the CI/CD limits per plan (configurable on {base_url}/admin/application_settings/ci_cd#js-ci-cd-settings). These are the following limits:

  • Maximum number of jobs in a single pipeline
  • Total number of jobs in currently active pipelines
  • Maximum number of active pipelines per project
  • Maximum number of pipeline subscriptions to and from a project
  • Maximum number of pipeline schedules
  • Maximum number of DAG dependencies that a job can have
  • Maximum number of runners registered per group
  • Maximum number of runners registered per project

🛠 with at Siemens

/cc @bufferoverflow

Screenshots

image

How to set up and validate locally

  1. Visit {base_url}/help/instance_configuration.

  2. Visit {base_url}/admin/application_settings/ci_cd#js-ci-cd-settings and set other CI/CD limits.

  3. Clear Rails cache

    Rails.cache.delete('instance_configuration')
  4. Visit {base_url}/help/instance_configuration.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by James Heimbuck

Merge request reports

Loading