Skip to content

Fix runner instructions with disabled registration

Miguel Rincon requested to merge mrincon-fix-empty-state-instructions into master

What does this MR do and why?

This change fixes the runner empty state instructions when registration of new runners is not possible in a group.

For instance, auditors may not be able to register runners so registration instructions may not apply to them.

Changelog: fixed

See more about our changes for auditors: #357328 (closed)

Screenshots or screen recordings

before after
image image

How to set up and validate locally

  1. For a group with no runners set up (can be a newly created group).
  2. Impersonate an auditor account
  3. Visit Group -> CI/CD -> Runners (e.g. http://gdk.test:3000/groups/h5bp/-/runners)
  4. Verify the message 'Runners are the agents that run your CI/CD...' does not contain a link to register new 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.

Edited by Miguel Rincon

Merge request reports