Skip to content

Adds execution status badge

Miguel Rincon requested to merge 372869-execution-status-badge into master

What does this MR do and why?

This change adds an execution badge status to the runner list that will depending on if a runner is running jobs or not.

Both admin admin/runners and group (/groups/<my-group>/-/runners) runner lists are approved.

Changelog: added

Screenshots or screen recordings

A new Idle/Running badge has been added to show the execution status of a runner:

Screenshot_2022-11-30_at_15.26.18
Badge in table context Screenshot_2022-11-30_at_15.23.32

How to set up and validate locally

  1. Having at least one runner
  2. Run any job, preferably a long running one (a few minutes)
  3. In the job page, locate the runner that's running it on the right sidebar (e.g. Runner: #285 (coux-JMn) darwin-top-group-runner-1669300234-196)
  4. Find that runner in the list (/admin/runnners for the admin list) and check that it's labeled as Running.
  5. When the job is done, check that it is Idle

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 #372869 (closed)

Edited by Miguel Rincon

Merge request reports