Allow auditors to view job history of a runner
What does this MR do and why?
Allow auditors to view job history of a group/project runner.
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
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
- Create a group.
- Create a new project under the group.
- Create a group runner under the group. Add the
group_runner
tag to the runner. - In the project, add this CI yaml.
job1: script: echo Hi tags: - group_runner
- Create an auditor user that is not a member of the group.
- Login as the auditor user.
- Go to the Group ->
Build
->Runners
. Click on the runner to get more details. - Go to the
Jobs
tab. It should show a list of jobs that the runner has ran.