Skip to content

Commit

Permalink
GHA: retry tests 5 times
Browse files Browse the repository at this point in the history
To work around package download failures.
  • Loading branch information
gaborcsardi committed Dec 24, 2024
1 parent 8f356d8 commit b78d8ed
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/build-template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,11 @@ jobs:
- name: Test
run: |
rm -f output/*aarch64* output/*arm64*
docker compose -f docker-compose-test.yaml build
docker compose -f docker-compose-test.yaml build ||
docker compose -f docker-compose-test.yaml build ||
docker compose -f docker-compose-test.yaml build ||
docker compose -f docker-compose-test.yaml build ||
docker compose -f docker-compose-test.yaml build
env:
COMPOSE_PARALLEL_LIMIT: 4
REDHAT_ORG_RHEL8: ${{ secrets.REDHAT_ORG }}
Expand Down Expand Up @@ -261,7 +265,11 @@ jobs:
- name: Test
run: |
rm -f output/*x86_64* output/*amd64*
docker compose -f docker-compose-test.yaml build ${PLATFORM}
docker compose -f docker-compose-test.yaml build ${PLATFORM} ||
docker compose -f docker-compose-test.yaml build ${PLATFORM} ||
docker compose -f docker-compose-test.yaml build ${PLATFORM} ||
docker compose -f docker-compose-test.yaml build ${PLATFORM} ||
docker compose -f docker-compose-test.yaml build ${PLATFORM}
env:
PLATFORM: ${{ matrix.platform }}
DOCKER_DEFAULT_PLATFORM: linux/arm64
Expand Down

0 comments on commit b78d8ed

Please sign in to comment.