Skip to content

Draft: Add `compute_minutes_limit` to project settings

What does this MR do and why?

Add compute_minutes_limit to project settings (continuation of !101841 (closed) in community fork).

For #351147

EDIT: shared_runners_minutes were renamed into compute_minutes gitlab-com&2150 (closed)

TODO:

  • move delegation checking function into separate MR

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

  1. In rails console check that project setting field exists and it is nil.
    Project.first.ci_cd_settings.compute_minutes_limit

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 Anatoli Babenia

Merge request reports