Commit 04452a1
committed
ci: split build and test into separate jobs, upgrade actions to Node 24
Previously each of the 21 test matrix cells built its own Docker image,
totalling 21 redundant builds per CI run.
New structure:
- build_images: 4 jobs (one per PG version), builds the test image and
uploads it as a zstd-compressed artifact (retention: 1 day).
- run_tests: 21 jobs (same matrix as before), downloads the pre-built
image artifact and runs tests against it via make run-test-prebuilt.
This cuts Docker builds from 21 to 4 per CI run.
Also upgrades all actions/checkout, actions/upload-artifact, and
actions/download-artifact from Node 20 to Node 24 (v7/v7/v8) to
silence the runner deprecation warning.
New Makefile targets:
save-test-image docker save | zstd → .tar.zst archive
load-test-image zstd decompress | docker load
run-test-prebuilt like run-test but without the build prerequisite1 parent 2a15d6d commit 04452a1
2 files changed
Lines changed: 66 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
31 | 59 | | |
32 | | - | |
| 60 | + | |
33 | 61 | | |
| 62 | + | |
34 | 63 | | |
35 | 64 | | |
36 | 65 | | |
| |||
50 | 79 | | |
51 | 80 | | |
52 | 81 | | |
53 | | - | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
54 | 91 | | |
55 | 92 | | |
56 | 93 | | |
57 | 94 | | |
58 | 95 | | |
59 | 96 | | |
60 | 97 | | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | 98 | | |
65 | 99 | | |
66 | | - | |
| 100 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
350 | 350 | | |
351 | 351 | | |
352 | 352 | | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
353 | 378 | | |
354 | 379 | | |
355 | 380 | | |
| |||
0 commit comments