Re-registration of gitlab-runner in BSC GitLab causes locked runner #241
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Runners shared across projects are removed when the runner becomes locked. For some reason, re-registering the runner in version 15.11 seems to reenable the lock flag, causing the shared runner to be removed from all projects. Perhaps this would be fixed in newer versions. This happens every time I modify the gitlab-runner service as it regenerates the config.
As a workaround I can reenable them or add multiple runners, but is quite painful. On PM GitLab works fine.
Damm:
Splendid:
https://gitlab.com/gitlab-org/gitlab-runner/-/work_items/2998#note_88555316
Even after unlocking it, it gets disabled from the other projects. It seems to be caused by the id that changes among registrations.