Skip to content

Update modal token when its resetting

What does this MR do and why?

Fix when runner registration token is not updated after reset.

Changelog: fixed

Related to #351114 (closed)

Screenshots or screen recordings

2022-05-03_11.31.02

How to set up and validate locally

  1. Visit Admin -> Runners http://gdk.test:3000/admin/runners
  2. Click on "Register an instance runner" to open the dropdown, and then on "Show runner installation and registration instructions" to open the modal
  3. Check the runner token at the bottom of the instructions
  4. Click on "Reset registration token" in the dropdown and confirm
  5. Click on "Register an instance runner" to open the dropdown, and then on "Show runner installation and registration instructions" to open the modal
  6. Check the runner token at the bottom of the instructions has been updated

MR acceptance checklist

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

Merge request reports