I am scripting a setup of gitlab along with some nice initial repositories containing pipelines.
I would like to make this environment completely runnable from the start by registering runners at install/configure time.
I know how to find my runner token for a project using the console. But as the API is not documented (AFAIK) I have not been able to figure out how to find the shared runner token. It is important to me to use a single shared runner as I do have jobs that are written sloppy enough that they can interfere.
Is there anyone who knows how to do this in a scripted way?