Add registration token reset in registration modal
requested to merge 407365-support-old-registration-token-rotation into 383144-new-runner-creation-workflow-project-register-page
What does this MR do and why?
This change allows users that are still using the legacy runner registration process to reset (rotate) their registration token in the modal with the registration instructions.
Screenshots or screen recordings
How to set up and validate locally
For Instance Tokens
- Enable the feature flag: in your console
rails c
, and thenFeature.enable(:create_runner_workflow_for_admin)
- Visit Admin > CI/CD > Runners
- Select New instance runner
- Select "Prefer to use a registration token to create a runner?"
- In the modal, select Reset registration token
For Group Tokens
- Enable the feature flag: in your console
rails c
, and thenFeature.enable(:create_runner_workflow_for_namespace)
- Visit a group that you own
- Visit Your group > CI/CD > Runners
- Select New group runner
- Select "Prefer to use a registration token to create a runner?"
- In the modal, select Reset registration token
For Project Tokens
- Enable the feature flag: in your console
rails c
, and thenFeature.enable(:create_runner_workflow_for_namespace)
- Visit a project you maintain
- Select Settings > CI/CD in the menu to visit e.g. http://gdk.test:3000/flightjs/Flight/-/settings/ci_cd
- Expand Runners
- Select New project runner
- Select "Prefer to use a registration token to create a runner?"
- In the modal, select Reset registration token
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #407365 (closed)
Edited by Miguel Rincon