Skip to content

Commit bf1a373

Browse files
committed
Increase max-parallel to 4 for build jobs and adjust retry mechanism for pre-pulling builder image in CI workflow
1 parent 24f5359 commit bf1a373

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/builder.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ jobs:
7676
if: needs.init.outputs.changed == 'true'
7777
name: Build ${{ matrix.arch }} ${{ matrix.addon }} add-on
7878
strategy:
79-
max-parallel: 1
79+
max-parallel: 4
8080
matrix:
8181
addon: ${{ fromJson(needs.init.outputs.changed_addons) }}
8282
arch: ["aarch64", "amd64"]
@@ -117,11 +117,11 @@ jobs:
117117
if: steps.check.outputs.build_arch == 'true'
118118
run: |
119119
IMAGE="ghcr.io/home-assistant/amd64-builder:2026.02.1"
120-
for i in $(seq 1 5); do
120+
for i in $(seq 1 50); do
121121
echo "Attempt $i to pull $IMAGE..."
122122
docker pull "$IMAGE" && break
123123
echo "Failed, waiting 5s..."
124-
sleep 5
124+
sleep 1
125125
done
126126
docker image inspect "$IMAGE" > /dev/null 2>&1 || exit 1
127127

0 commit comments

Comments
 (0)