Skip to content

Commit

Permalink
ci: retry Go package download [DET-8932] (#5996)
Browse files Browse the repository at this point in the history
We had one CI failure [1] caused by the Go package download somehow
fetching some incorrect file. There's no way to know now exactly what it
was, but it seems like it was probably a 5xx status page or something,
and the issue was evidently fairly transient, since it only happened
that once. So now we tell curl to retry that download a bunch to try to
get past that happening again.

Also upgrade from 1.18 to 1.18.10 while we're here.

[1] https://app.circleci.com/pipelines/github/determined-ai/determined/33339/workflows/dd7d6e62-e6c8-4152-bb41-3d313ae9adab/jobs/1170863
  • Loading branch information
dzhu committed Feb 14, 2023
1 parent d31e1f5 commit 2906257
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ commands:
reinstall-go:
steps:
- run: sudo rm -rf /usr/local/go # Remove system go.
- run: curl https://dl.google.com/go/go1.18.linux-amd64.tar.gz -o /tmp/go.linux-amd64.tar.gz
- run: curl --retry-connrefused --retry 10 https://dl.google.com/go/go1.18.10.linux-amd64.tar.gz -o /tmp/go.linux-amd64.tar.gz
- run: sudo tar -C /usr/local -xzf /tmp/go.linux-amd64.tar.gz

install-protoc:
Expand Down

0 comments on commit 2906257

Please sign in to comment.