Skip to content

Add upgrade status filter for group runners

What does this MR do and why?

This change adds a new filter options to the group runners search bar, it also restricts the filtering to Ultimate users.

Changelog: added
EE: true

Screenshots or screen recordings

image

How to set up and validate locally

This feature is a bit complicated to setup but you can skip some steps depending on what you want to review:

Creating an outdated runner and recalculating it's outdated:

You can skip these first instructions if you simply want to see the user flow, but you may see no results

  1. Have at least one runner that needs an upgrade registered (a couple of versions behind, most of us have one 😅 )
    • If you use brew to install gitlab-runner, you can use these commands to swap versions, after that run your runner:
    • In my system, I run my old version like this: /usr/local/opt/gitlab-runner@14.10.0/bin/gitlab-runner@14.10.0 run
  2. Run rails c and Ci::Runners::ReconcileExistingRunnerVersionsService.new.execute (this runs every hour, but we can trigger it early).

Finding the outdated runner:

  1. Have a GitLab Ultimate license
  2. Go to the runner list in a group Group -> CI/CD -> Runners
  3. Select the search bar to filter results and select "Upgrade Status"
  4. Select Available or Recommended, your outdated runners should be there

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

Edited by Miguel Rincon

Merge request reports