Allow registration of runners via API
Description
Setting up a GitLab CI runner requires an admin to retrieve the GitLab CI registration token from the admin dashboard. This means the runner cannot be automatically deployed without pre-setting the runners token as an ENV var or in config.toml
Proposal
Provide an API endpoint to register a runner by POSTing to /runners with a PAT:
- Admin would be allowed to register any kind of runner: shared or project/group specific
- User would be allowed to register only project/group specific runner if he has master access
Links / references
Edited by Jason Yavorska