Skip to content

Commit ec18a9e

Browse files
Merge remote-tracking branch 'origin/user/steven.williams/LEGLINK-958' into user/steven.williams/LEGLINK-958
2 parents e7b294a + 2eee295 commit ec18a9e

1 file changed

Lines changed: 14 additions & 3 deletions

File tree

.github/workflows/tests.yaml

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -297,12 +297,23 @@ jobs:
297297
${{ runner.os }}-nuget-
298298
299299
# Pulled up-front so the integration fixtures (Testcontainers) don't
300-
# spend their per-test pull budget on the cold pull.
300+
# spend their per-test pull budget on the cold pull. Retry up to 3 times
301+
# to handle transient MCR network timeouts.
301302
- name: Pull Azurite Docker image
302-
run: docker pull mcr.microsoft.com/azure-storage/azurite:latest
303+
run: |
304+
for i in 1 2 3; do
305+
docker pull mcr.microsoft.com/azure-storage/azurite:latest && break
306+
echo "Pull attempt $i failed, retrying in 15s..."
307+
sleep 15
308+
done
303309
304310
- name: Pull SQL Server Docker image
305-
run: docker pull mcr.microsoft.com/mssql/server:2022-CU13-ubuntu-22.04
311+
run: |
312+
for i in 1 2 3; do
313+
docker pull mcr.microsoft.com/mssql/server:2022-CU13-ubuntu-22.04 && break
314+
echo "Pull attempt $i failed, retrying in 15s..."
315+
sleep 15
316+
done
306317
307318
- name: Restore dependencies
308319
run: dotnet restore DotNet/ServiceTests/ServiceTests.csproj

0 commit comments

Comments
 (0)