Skip to content

Commit b2198d7

Browse files
Marketenclaude
andcommitted
Retry the ISO build in the E2E workflows
cdimage.debian.org currently resolves to a dead mirror address part of the time, and one bad DNS answer should not fail a 15 minute E2E run. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent a7db0a5 commit b2198d7

2 files changed

Lines changed: 14 additions & 2 deletions

File tree

‎.github/workflows/debian-iso-e2e.yml‎

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,13 @@ jobs:
2727
run: |
2828
export BASE_OS=debian
2929
export UNATTENDED=true
30-
docker compose up --build
30+
# Retry so a transient mirror outage does not fail the whole E2E run.
31+
for attempt in 1 2 3; do
32+
docker compose up --build --abort-on-container-exit --exit-code-from dappnode_installer && break
33+
[ "${attempt}" -lt 3 ] || exit 1
34+
echo "::warning::ISO build attempt ${attempt} failed; retrying in 30s"
35+
sleep 30
36+
done
3137
ls -lrt images/Dappnode-debian-*.iso
3238
3339
- name: Install QEMU test dependencies

‎.github/workflows/ubuntu-iso-e2e.yml‎

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,13 @@ jobs:
2727
run: |
2828
export BASE_OS=ubuntu
2929
export UNATTENDED=true
30-
docker compose up --build
30+
# Retry so a transient mirror outage does not fail the whole E2E run.
31+
for attempt in 1 2 3; do
32+
docker compose up --build --abort-on-container-exit --exit-code-from dappnode_installer && break
33+
[ "${attempt}" -lt 3 ] || exit 1
34+
echo "::warning::ISO build attempt ${attempt} failed; retrying in 30s"
35+
sleep 30
36+
done
3137
ls -lrt images/Dappnode-ubuntu-*.iso
3238
3339
- name: Install QEMU test dependencies

0 commit comments

Comments
 (0)