From 4c3c9b249429770d35d4a0cd5b596eb23465c661 Mon Sep 17 00:00:00 2001 From: Matthew Draper Date: Tue, 19 Nov 2024 03:01:43 +1030 Subject: [PATCH] Tell the docker-compose plugin to retry pulls a few times We see a surprising number of these: Error response from daemon: Get "https://973266071021.dkr.ecr.us-east-1.amazonaws.com/v2/": net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers) --- lib/buildkite/config/rake_command.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/buildkite/config/rake_command.rb b/lib/buildkite/config/rake_command.rb index befc1e2..7c78a9f 100644 --- a/lib/buildkite/config/rake_command.rb +++ b/lib/buildkite/config/rake_command.rb @@ -53,6 +53,7 @@ def install_plugins(service = "default", env = nil, dir = ".") "env" => env, "run" => service, "pull" => service, + "pull-retries" => 3, "config" => ".buildkite/docker-compose.yml", "shell" => ["runner", *dir], }.compact