We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a207a68 commit 4a1fd33Copy full SHA for 4a1fd33
1 file changed
.github/workflows/worker.yml
@@ -86,6 +86,21 @@ jobs:
86
echo "HASH=$(echo -n "${{ inputs.key }}" | sha256sum | cut -c-8)" >> $GITHUB_ENV
87
./.github/scripts/collect_jvm_diagnostics &
88
89
+ - name: Pre-pull Testcontainers images for unit tests
90
+ if: ${{ contains(inputs.script, 'run_unit-tests') }}
91
+ run: |
92
+ set -eu
93
+ for image in apache/kafka:4.2.0 postgres:16-alpine minio/minio:latest; do
94
+ for attempt in 1 2 3; do
95
+ if docker pull --quiet "$image"; then
96
+ break
97
+ fi
98
+ echo "::warning ::docker pull $image failed (attempt $attempt); retrying in 10s"
99
+ sleep 10
100
+ done
101
102
+ timeout-minutes: 5
103
+
104
- name: 'Execute: ${{ inputs.script }}'
105
run: ${{ inputs.script }}
106
timeout-minutes: 60
0 commit comments