Call API to create runner (1)
What does this MR do and why?
This MR depends on !110593 (merged)
This change adds an API call to create a runner using then new workflow.
The result is meant to redirect the user to a registration page.
Related MRs
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)
- Visit Admin -> CI/CD -> Runners
- Select the "New instance runner" button
- Input values to create a new runner
- After "submit", confirm the success message
- In the runner list a "Never connected" runner will appear.
When we continue work on the registration page, users will be able to register their runners in this page.
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 #383139 (closed)
Edited by Miguel Rincon