Skip to content

Improve shared runners toggle for projects

What does this MR do and why?

Removes alert to explain why runners are disabled, and adds help text to the toggle "Shared runners are disabled in the group settings." instead.

Adds link to users to change configuration when available.

Changelog: changed

Screenshots or screen recordings

Before After
image image

How to set up and validate locally

  1. Visit any group (e.g. My Group) that has a project (e.g. My Project) in it
  2. Go to Settings > CI/CD > Runners
  3. Disable both "Enable shared runners for this group" and "Allow projects and subgroups to override the group setting"
  4. Visit the project
  5. Go to Settings > CI/CD > Runners
  6. In the right-side panel, check the message and link to re-enable the shared runners.

MR acceptance checklist

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

Related to #349794 (closed)

Edited by Miguel Rincon

Merge request reports