Disable autoupdate for GH runners to speed-up boot

This commit is contained in:
Mikhail f. Shiryaev 2023-11-14 15:47:47 +01:00
parent 556e0faad2
commit 8fbc0d3d51
No known key found for this signature in database
GPG Key ID: 4B02ED204C7D93F4

View File

@ -302,7 +302,8 @@ while true; do
check_proceed_spot_termination
echo "Going to configure runner"
sudo -u ubuntu ./config.sh --url $RUNNER_URL --token "$(get_runner_token)" --ephemeral \
sudo -u ubuntu ./config.sh --url $RUNNER_URL --token "$(get_runner_token)" \
--ephemeral --disableupdate --unattended \
--runnergroup Default --labels "$LABELS" --work _work --name "$INSTANCE_ID"
echo "Another one check to avoid race between runner and infrastructure"