Show "Shared runners are disabled for the parent group" alert also on project level
Summary
Follow-up to gitlab-runner#28541 (closed)
The Shared runners are disabled for the parent group
tooltip shown there does not appear on the /-/settings/ci_cd
page of a project.
Note: In !85923 (merged) we changed the tooltip for an alert, so an alert should be added to the view.
Steps to reproduce
- Create a hierarchy of parent- and sub-group.
- Disable shared Runners in the parent group.
- Create a project in the subgroup.
- Check its
/-/settings/ci_cd
page
Example Project
What is the current bug behavior?
This is confusing, because the hint tooltip how to solve this problem is only available on the equivalent page of the project's group.
What is the expected correct behavior?
The same hint tooltip should be shown.
Ideally, we would also link to exactly that group's #349794 (closed)/-/settings/ci_cd
page, where the toggle can be used.
Relevant logs and/or screenshots
See above.
Output of checks
This bug happens on GitLab.com
Possible fixes
Edited by Miguel Rincon