Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Register same runner for multiple GitLab repos

I have 1 GitLab repo with 1 "Specific Runner" which is working with GitLab Pages.

I want to create a 2nd GitLab repo and use the same "Specific Runner" from the other repo. Is that possible?

I have tired configuring the config.toml by changing the concurrent property to 2 and by adding another runner property with the corresponding url and token to the new repository.

Then ran 'gitlab-runner list' and it shows I have 2 runners. Then 'gitlab-runner start'. But then in GitLab CI/CD settings, the runner is not visible there.

Do I need to install another runner or can I just register another runner in config.toml?

like image 594
anthonyjdella Avatar asked Sep 06 '25 03:09

anthonyjdella


1 Answers

Figured it out. Yes you can install 1 runner and register others for different repositories.

Instead if manually editing the config.toml, you have to register new runners with gitlab-runners register command. That will fix it.

like image 147
anthonyjdella Avatar answered Sep 08 '25 00:09

anthonyjdella



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!