Skip to content

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

image

How to set up and validate locally

  1. Enable the feature flag: in your console rails c, and then Feature.enable(:create_runner_workflow_for_admin)
  2. Visit admin runners at http://gdk.test:3000/admin/runners
  3. Select "New instance runner"
  4. 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.

Related to #395684 (closed)

Merge request reports