Skip to content

Commit 6bc06e8

Browse files
pks-tgitster
authored andcommitted
ci: use latest Ubuntu release
Both GitHub Actions and GitLab CI use the "ubuntu:latest" tag as the default image for most jobs. This tag is somewhat misleading though, as it does not refer to the latest release of Ubuntu, but to the latest LTS release thereof. But as we already have a couple of jobs exercising the oldest LTS release of Ubuntu that Git still supports, it would make more sense to test the oldest and youngest versions of Ubuntu. Adapt these jobs to instead use the "ubuntu:rolling" tag, which refers to the actual latest release, which currently is Ubuntu 24.10. Signed-off-by: Patrick Steinhardt <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 678b22f commit 6bc06e8

File tree

2 files changed

+14
-14
lines changed

2 files changed

+14
-14
lines changed

.github/workflows/main.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -314,10 +314,10 @@ jobs:
314314
matrix:
315315
vector:
316316
- jobname: linux-sha256
317-
image: ubuntu:latest
317+
image: ubuntu:rolling
318318
cc: clang
319319
- jobname: linux-reftable
320-
image: ubuntu:latest
320+
image: ubuntu:rolling
321321
cc: clang
322322
- jobname: linux-gcc
323323
image: ubuntu:20.04
@@ -328,19 +328,19 @@ jobs:
328328
cc: gcc
329329
cc_package: gcc-8
330330
- jobname: linux-gcc-default
331-
image: ubuntu:latest
331+
image: ubuntu:rolling
332332
cc: gcc
333333
- jobname: linux-leaks
334-
image: ubuntu:latest
334+
image: ubuntu:rolling
335335
cc: gcc
336336
- jobname: linux-reftable-leaks
337-
image: ubuntu:latest
337+
image: ubuntu:rolling
338338
cc: gcc
339339
- jobname: linux-asan-ubsan
340-
image: ubuntu:latest
340+
image: ubuntu:rolling
341341
cc: clang
342342
- jobname: linux-meson
343-
image: ubuntu:latest
343+
image: ubuntu:rolling
344344
cc: gcc
345345
- jobname: linux-musl
346346
image: alpine:latest

.gitlab-ci.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@ test:linux:
3737
parallel:
3838
matrix:
3939
- jobname: linux-sha256
40-
image: ubuntu:latest
40+
image: ubuntu:rolling
4141
CC: clang
4242
- jobname: linux-reftable
43-
image: ubuntu:latest
43+
image: ubuntu:rolling
4444
CC: clang
4545
- jobname: linux-gcc
4646
image: ubuntu:20.04
@@ -51,16 +51,16 @@ test:linux:
5151
CC: gcc
5252
CC_PACKAGE: gcc-8
5353
- jobname: linux-gcc-default
54-
image: ubuntu:latest
54+
image: ubuntu:rolling
5555
CC: gcc
5656
- jobname: linux-leaks
57-
image: ubuntu:latest
57+
image: ubuntu:rolling
5858
CC: gcc
5959
- jobname: linux-reftable-leaks
60-
image: ubuntu:latest
60+
image: ubuntu:rolling
6161
CC: gcc
6262
- jobname: linux-asan-ubsan
63-
image: ubuntu:latest
63+
image: ubuntu:rolling
6464
CC: clang
6565
- jobname: pedantic
6666
image: fedora:latest
@@ -69,7 +69,7 @@ test:linux:
6969
- jobname: linux32
7070
image: i386/ubuntu:20.04
7171
- jobname: linux-meson
72-
image: ubuntu:latest
72+
image: ubuntu:rolling
7373
CC: gcc
7474
artifacts:
7575
paths:

0 commit comments

Comments
 (0)