GitLab Runner Registration via API
Hi!
I'm hoping there's a way to register a runner via the API. This would be helpful if I wanted to randomly spin up a VM or container, use configuration management to deploy a runner, run a build, and remove the runner.
Unless I'm missing something, at the moment you need to register runners by hand before using them. Even if you pre-stage these and re-use them, this doesn't seem very efficient.
Is registering a runner via an API possible yet? Could this be considered for inclusion in the API? I noticed issue #4264 (closed), but it seems to cover a very limited subset of actions (i.e. not including register)
I found this documentation that has a register endpoint, but it appears to be a bit dated. Haven't had any luck calling it.
Cheers!