Skip to content

Add upgrade status to runner managers

Miguel Rincon requested to merge 409388-add-upgrade-status into master

What does this MR do and why?

Add upgrade status to runner managers

This change adds an icon to indicate if runners managers in a group has an outdated version and promts the user to upgrade.

Changelog: added EE: true

Screenshots or screen recordings

Before After Detailed view
image image image

How to set up and validate locally

You may see 0 or 1 on most test runners you use, to test this we can simulate having two separate machines with runner installed.

Install runner locally

  1. brew install runner works on MacOS (you may have to install an older version of runners)

Follow the instructions to create a runner

  1. Admin -> Runners
  2. Select "Create instance runner"
  3. Ensure you run the gitlab-runner register ... step

Simulate two machines

  1. Duplicate the configuration files cp -R ~/.gitlab-runner ~/.gitlab-runner-2
  2. Edit the random system id open ~/.gitlab-runner-2/.runner_system_id (changing one character will do)
  3. Run runner 1 gitlab-runner run
    • the default configuration at ~/.gitlab-runner will be used
  4. In another console tab, run runner 2 gitlab-runner run --config ~/.gitlab-runner-2/config.toml

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

Edited by Miguel Rincon

Merge request reports