Skip to content

Commit

Permalink
Tell the docker-compose plugin to retry pulls a few times
Browse files Browse the repository at this point in the history
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)
  • Loading branch information
matthewd committed Nov 18, 2024
1 parent dc76e37 commit 4c3c9b2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/buildkite/config/rake_command.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4c3c9b2

Please sign in to comment.