Skip to content

Add runner jobs tab

Miguel Rincon requested to merge 347856-runner-jobs into master

What does this MR do and why?

This change adds a new tab to the runner details that contains a paginated list of jobs that this runner has run.

Screenshots or screen recordings

Jobs List

image

Pagination Behavior

2022-02-10_18.52.23

Empty State

image

How to set up and validate locally

  1. With some runners added (https://docs.gitlab.com/ee/ci/runners/runners_scope.html)

  2. In rails console ($ rails c) enable the the view runner page

    Feature.enable(:runner_read_only_admin_view)
  3. Visit Admin -> Runners

  4. Visit any Runner with jobs e.g. http://gdk.test:3000/admin/runners/1

  5. Click on the Jobs (##) tab.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #347856 (closed)

Edited by Miguel Rincon

Merge request reports