Shared runners enabled by default in projects?
I just registered the first shared runner on my GitLab (v8.2) server, where there were already 4 projects building with their own specific runners.
I wanted to make sure that these projects didn't try to build on this new shared runner, who is not configured to do any of their builds. (Could this happen? Will CI go to a specific runner before a shared runner?)
Now, the GitLab documentation for Runners says:
Note that you will have to enable
Allows shared runners
for each project that you want to make use of a shared runner. This is by defaultoff
.
However, I looked at the Runners page for each of those projects, and all of them had an orange button labeled DISABLE SHARED RUNNERS
. To me, this says that the project is using shared runners (even though I never enabled it). So I clicked the button, and it now has a green button labeled ENABLE SHARED RUNNERS
, which says to me that the project is not using shared runners.
So, the problem is one of the following:
- Shared runners are enabled by default, and the documentation is wrong and needs fixed.
- Shared runners are enabled by default, and the code is wrong and needs fixed.
- Shared runners are disabled by default, and the state of the button is backwards.
Either way, I hate status-information-conveyed-by-button. There should be a clear message, e.g. "Shared runners are disabled".