Fix runner instructions with disabled registration
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 |
---|---|
How to set up and validate locally
- For a group with no runners set up (can be a newly created group).
- Impersonate an auditor account
- Visit Group -> CI/CD -> Runners (e.g.
http://gdk.test:3000/groups/h5bp/-/runners
) - 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.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Miguel Rincon