user557657
user557657

Reputation: 896

Do gitlab runners need to be re-registered after a migration if the external url does not change?

I am migrating primary and secondary GitLab nodes to new nodes. In order to do this, I am following the backup and restore documentation.

Do GitLab runners need to be re-registered after a migration if the external url does not change?

Thanks all!!

Upvotes: 2

Views: 1251

Answers (1)

sytech
sytech

Reputation: 40921

No, GitLab runners do not need to be re-registered following a migration / backup/restore.

The runner registration is stored in GitLab's database and is associated with the token the runner receives from the gitlab-runner register command. Those tokens will continue to be valid, so long as they were properly backed up, probably even if the GitLab URL changes.

You can use the Runners API to verify a runner token.

Upvotes: 1

Related Questions