Skip to content

Allow auditors to view job history of a runner

Kenneth Chu requested to merge kenneth-auditor-runner-job-history into master

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
image image

How to set up and validate locally

  1. Create a group.
  2. Create a new project under the group.
  3. Create a group runner under the group. Add the group_runner tag to the runner.
  4. In the project, add this CI yaml.
    job1:
      script: echo Hi
      tags: 
        - group_runner
  5. Create an auditor user that is not a member of the group.
  6. Login as the auditor user.
  7. Go to the Group -> Build -> Runners. Click on the runner to get more details.
  8. Go to the Jobs tab. It should show a list of jobs that the runner has ran.

Merge request reports