Add configuration option to register runner with run_untagged=false.
GitLab has an option to configure a runner so it will not run untagged jobs (run_untagged=false
). The merge request discussion for that change mentions that the Runner will be updated to support this configuration option. Has that happened already and isn't documented, or is it still something that needs to be done?
I desperately need this capability so the runners can register as tag-only when they are created. My runners are running in Docker containers and register themselves whenever a new container spins up. The only workaround I can see is injecting GitLab admin credentials in my runner container so it can use the API to reconfigure the runner after it registers. I'd very much prefer not to have to go that route.
Ideally, config.toml could be updated to support one or both of:
[[runners]]
run_untagged = true|false
[runners.XXX]
run_untagged = true|false