Add project runners creation page

What does this MR do and why?

This change adds the runner create page for the new runner creation workflow behind flag: create_runner_workflow_for_namespace.

The change will allow project maintainers to add their runners using the new workflow.

Work is split in two:

MR
Add project runners creation page (!117680 - merged) you are here!
Add project runners register page (!117836 - merged)

Screenshots or screen recordings

new link new page
Screenshot_2023-04-18_at_09.45.36 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_namespace)
  2. Visit a project you maintain,
  3. Select Settings > CI/CD in the menu to visit e.g. http://gdk.test:3000/flightjs/Flight/-/settings/ci_cd
  4. Expand Runners
  5. Select New project runner
  6. Save a new runner
  7. Verify the Runner created. alert is shown
  8. Verify the runner is visible back in Settings > CI/CD (The next step will be added in the next MR).

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

Edited by Miguel Rincon

Merge request reports

Loading