Skip to content

Commit 2e7acd0

Browse files
committed
pre-load e2e test images
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
1 parent 487c1cd commit 2e7acd0

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,26 @@ jobs:
216216
- name: Build example provider
217217
run: make example-provider
218218

219+
- name: Pre-pull e2e test images
220+
run: |
221+
# Pull images used by e2e fixtures in parallel to avoid test
222+
# timeouts caused by slow downloads on cold CI runners.
223+
images=(
224+
"alpine"
225+
"nginx"
226+
"nginx:alpine"
227+
"busybox"
228+
"bash"
229+
"hello-world"
230+
"mariadb"
231+
"fluent/fluent-bit:3.1.7-debug"
232+
"alpine/curl"
233+
)
234+
for img in "${images[@]}"; do
235+
docker pull "$img" &
236+
done
237+
wait
238+
219239
- name: Build
220240
uses: docker/bake-action@82490499d2e5613fcead7e128237ef0b0ea210f7 # v7
221241
with:

0 commit comments

Comments
 (0)