Skip to content

Add CreateRunnerService

Tymm Schmitke requested to merge tschmitke/387808/add_create_runner_service into master

What does this MR do and why?

As part of building out the mutation to create runners, this MR is introducing a new service to create runners. The policies to authorize creating runners with this method are behind the feature flag create_runner_workflow and are introduced in !109531 (merged). The feature flag has already been created (MR).

registration_type: :authentication_token is added to the params for the Ci::Runner constructor to facilitate new token creation. This was added in !111946 (merged).

Screenshots or screen recordings

N/A

How to set up and validate locally

N/A

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports