Skip to content

Commit

Permalink
Set CI cache download timeout to enable retries
Browse files Browse the repository at this point in the history
Default timeout is 60 minutes, after which a stuck download would be
retried. Lower it to start retrying downloads when they get stuck.
  • Loading branch information
nineinchnick authored and hashhar committed Nov 4, 2022
1 parent a480bd7 commit d649248
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ env:
# This value should be greater than the time taken for the longest image pull.
TESTCONTAINERS_PULL_PAUSE_TIMEOUT: 600
TEST_REPORT_RETENTION_DAYS: 5
# used by actions/cache to retry the download after this time: https://github.com/actions/cache/blob/main/workarounds.md#cache-segment-restore-timeout
SEGMENT_DOWNLOAD_TIMEOUT_MINS: 5

# Cancel previous PR builds.
concurrency:
Expand Down

0 comments on commit d649248

Please sign in to comment.