From c1509c1fa41654818c5a790a039995cafb5c4c0f Mon Sep 17 00:00:00 2001 From: ludamad Date: Thu, 29 Aug 2024 13:06:40 -0400 Subject: [PATCH] fix(ci): spot-runner-action was not built (#8274) --- .github/spot-runner-action/dist/index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/spot-runner-action/dist/index.js b/.github/spot-runner-action/dist/index.js index 4b886f1ea1b..d0bf221d435 100644 --- a/.github/spot-runner-action/dist/index.js +++ b/.github/spot-runner-action/dist/index.js @@ -1040,7 +1040,8 @@ class UserData { `sudo service docker restart`, "sudo wget -q https://github.com/earthly/earthly/releases/download/v0.8.10/earthly-linux-$(dpkg --print-architecture) -O /usr/local/bin/earthly", "sudo chmod +x /usr/local/bin/earthly", - "for i in {1..3} ; do sudo apt install -y brotli && break; sleep 10; done", + `sudo bash -c 'echo \'Acquire::Retries "3"; Acquire::https::Timeout "240"; Acquire::http::Timeout "240"; APT::Get::Assume-Yes "true"; APT::Install-Recommends "false"; APT::Install-Suggests "false";\' > /etc/apt/apt.conf.d/99-aztec-build'`, + "sudo apt install -y brotli", 'echo "MaxStartups 1000" >> /etc/ssh/sshd_config', 'echo "ClientAliveInterval=30" >> /etc/ssh/sshd_config', 'echo "ClientAliveCountMax=20" >> /etc/ssh/sshd_config',