I am reading through GitLab CI Multirunner documentation where it walks one through how to set up a GitLab CI Multirunner executor, but I can't seem to find anything about changing the executor once initially set, either in the docs or searching online. Is this supported?
The runner monitors the jobs and reports logs and status of the jobs to the Gitlab server. Several executors can be configured for a given instance, and several instances of the same executor can also be deployed. For instance, you can have two runners all configured to run the docker executor.
You need to unregister the runner, they are "throw away instances". Then you need to take a look into the Runners section of Gitlab admin panel. There you will find a token to register a new shared runner. While registering the runner, the runner will get his own token to authenticate against Gitlab.
The configuration is written to /etc/gitlab-runner/config.toml
which you can edit with your favourite editor, after which you need to reload or restart the runner service.
Here's documentation for the GitLab Runner config.toml
file.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With