Skip to content

Commit 5b6c59b

Browse files
committed
[ansible][ci] Disable runner auto-update
When the containers try to auto-update, they need to restart, which cause them to come back on the old version. If the server instruct the runner to update again, we can end up in continuously restarting the runner without doing any meaningful work. Our runners are being updated by a separate job [0] which produce a new container nightly and eventually pick up the update, so we don't really need the auto-update feature. [0] https://github.com/kernel-patches/runner
1 parent 1b79462 commit 5b6c59b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ansible/roles/runner/tasks/main.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@
9595
ORG_NAME={{ item.0.name }}
9696
{% endif %}
9797
RUNNER_NAME={{ runner_name_prefix }}-{{ 'worker-%02d' | format(item.1) }}
98+
DISABLE_AUTO_UPDATE=true
9899
loop: "{{ runners | subelements('workers') }}"
99100

100101
- name: Docker GHCR login

0 commit comments

Comments
 (0)