Change IP of gitlab-runner


I would like to change the IP of my gitlab-runner server but I would like to keep the existing configuration (same projet, same tags, same tokens).

I tried to change the IP in the Runners configuration page. I can see the IP but I am not able to change it. Do y ou know if I can change the IP somewhere or I need to break the config of the gitlab-runner with the old IP to create a new one ?


You cannot change the IP of Runner. This value is provided by Runner upon initial registration.
Only option is to add new runner which will report new IP when registered.

As far as migration to new runner it should be painless. Add new Runner at which point both will serve jobs and remove the old one when you verify everything works. They can share tags and projects.