Runner for multiple projects strange registration behavior
Summary
If one runs the gitlab-runner register
command multiple times for different repositories (or even the same one).
The runner is registering as if it is a new instance not related with the already registered one.
Steps to reproduce
Run the register command twice.
Actual behavior
From the server side one cannot tell if two different runners have registered or one twice.
Expected behavior
The runner extends it's entry with another project.
When looking at the API https://instance/api/v4/runners/ID
it looks like the projects
field can handle a list of multiple repositories.
Therefore it is strange that this field is not being used.
Relevant logs and/or screenshots
Environment description
Are you using shared Runners on GitLab.com? Or is it a custom installation?
Gitlab runner docker container latest version. Which executors are used? Please also provide the versions of related tools likedocker info
if you are using the Docker executor. docker executor.