feat(ci): add more aggressive retries for pulling (#2394)
This should minimize the network flakes we run into when we have to pull images as part of the many `FROM`s, the default is 3 tries with 2s delay, which is really low. I'm not 100% sure it will help us, let's just try it! See: https://github.com/ublue-os/aurora/issues/2337
This commit is contained in:
parent
64ac7b3c51
commit
d65b74a786
1 changed files with 3 additions and 0 deletions
3
Justfile
3
Justfile
|
|
@ -243,6 +243,9 @@ build $image="aurora" $tag="latest" $flavor="main" rechunk="0" ghcr="0" pipeline
|
|||
|
||||
PODMAN_BUILD_ARGS=("${BUILD_ARGS[@]}" "${LABELS[@]}" --tag "${image_name}:${tag}" --file Containerfile.in)
|
||||
|
||||
# Bump retries to minimize network flakes
|
||||
PODMAN_BUILD_ARGS+=("--retry=5" "--retry-delay=60s")
|
||||
|
||||
# Add GitHub token secret if available (for CI/CD)
|
||||
if [[ -n "${GITHUB_TOKEN:-}" ]]; then
|
||||
echo "Adding GitHub token as build secret"
|
||||
|
|
|
|||
Loading…
Reference in a new issue