Reputation: 175
I have two separate git-lab instances on separate networks. Can I use the same runner for each of them? Assuming, both git-lab instances can access the server with the runner on it. Is it possible to use one runner for both of my instances of git-lab? I have read most of the git-lab documentation about runners and it doesn't seem to talk about this scenario, at-least from what I can tell.
Upvotes: 8
Views: 7062
Reputation: 2541
You define one runner section for each registration: https://docs.gitlab.com/runner/configuration/advanced-configuration.html#the-runners-section
The url and token are configured at the runner level, so yes you can register the same runner on different GitLab URLs.
Upvotes: 7