Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Changing GitLab CI Multirunner executor after initial configuration

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?

like image 609
Tomáš Hübelbauer Avatar asked Jul 12 '17 07:07

Tomáš Hübelbauer


People also ask

Can a gitlab runner have multiple executors?

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.

How do I change my gitlab runner token?

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.


1 Answers

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.

like image 200
marcolz Avatar answered Sep 17 '22 20:09

marcolz