Skip to content

Commit ae7d600

Browse files
committed
ansible: disable runner name randomization
In commit 151eda0 RANDOM_RUNNER_SUFFIX was set to true in order to mitigate runner registration errors [1]. This had a side effect of stale runners accumulating,, eventually reaching 10k runners limit in the default runner group on BPF CI. Now that the registration errors appear to be addressed by GitHub, disable runner name randomization. [1] actions/runner#3857 (comment)
1 parent 9b5d73c commit ae7d600

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

ansible/roles/runner/tasks/main.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,7 @@
105105
RUNNER_SCOPE=org
106106
ORG_NAME={{ item.0.name }}
107107
{% endif %}
108-
RUNNER_NAME_PREFIX={{ runner_name_prefix }}-{{ 'worker-%02d' | format(item.1) }}
109-
RANDOM_RUNNER_SUFFIX=true
108+
RUNNER_NAME={{ runner_name_prefix }}-{{ 'worker-%02d' | format(item.1) }}
110109
DISABLE_AUTO_UPDATE=true
111110
loop: "{{ runners | subelements('workers') }}"
112111

0 commit comments

Comments
 (0)