Add deprecation notice in registration modal
What does this MR do and why?
This change adds a warning alert to let users know we are deprecating the old registration method for runners.
The alert is only shown when the new registration methods are available via feature flags.
Screenshots or screen recordings
How to set up and validate locally
- Enable the feature flag: in your console
rails c
, and thenFeature.enable(:create_runner_workflow_for_admin)
- Visit admin runners at http://gdk.test:3000/admin/runners
- Select "New instance runner"
- Click on the link "Prefer to use a registration token to create a runner?"
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 #395684 (closed)