aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2025-01-10 12:32:05 +0100
committerJunio C Hamano <gitster@pobox.com>2025-01-10 09:15:38 -0800
commit6bc06e8f20a8cd67d6e49d31472d5bc8c048cae0 (patch)
treeb9c0431b16009d10f32756252a7263e1d5a30e2a
parentci: stop special-casing for Ubuntu 16.04 (diff)
downloadgit-6bc06e8f20a8cd67d6e49d31472d5bc8c048cae0.tar.gz
git-6bc06e8f20a8cd67d6e49d31472d5bc8c048cae0.zip
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 <ps@pks.im> Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r--.github/workflows/main.yml14
-rw-r--r--.gitlab-ci.yml14
2 files changed, 14 insertions, 14 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index b54da639a6..b90381ae01 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -314,10 +314,10 @@ jobs:
matrix:
vector:
- jobname: linux-sha256
- image: ubuntu:latest
+ image: ubuntu:rolling
cc: clang
- jobname: linux-reftable
- image: ubuntu:latest
+ image: ubuntu:rolling
cc: clang
- jobname: linux-gcc
image: ubuntu:20.04
@@ -328,19 +328,19 @@ jobs:
cc: gcc
cc_package: gcc-8
- jobname: linux-gcc-default
- image: ubuntu:latest
+ image: ubuntu:rolling
cc: gcc
- jobname: linux-leaks
- image: ubuntu:latest
+ image: ubuntu:rolling
cc: gcc
- jobname: linux-reftable-leaks
- image: ubuntu:latest
+ image: ubuntu:rolling
cc: gcc
- jobname: linux-asan-ubsan
- image: ubuntu:latest
+ image: ubuntu:rolling
cc: clang
- jobname: linux-meson
- image: ubuntu:latest
+ image: ubuntu:rolling
cc: gcc
- jobname: linux-musl
image: alpine:latest
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 29e9056dd5..8ed3ff5f03 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -37,10 +37,10 @@ test:linux:
parallel:
matrix:
- jobname: linux-sha256
- image: ubuntu:latest
+ image: ubuntu:rolling
CC: clang
- jobname: linux-reftable
- image: ubuntu:latest
+ image: ubuntu:rolling
CC: clang
- jobname: linux-gcc
image: ubuntu:20.04
@@ -51,16 +51,16 @@ test:linux:
CC: gcc
CC_PACKAGE: gcc-8
- jobname: linux-gcc-default
- image: ubuntu:latest
+ image: ubuntu:rolling
CC: gcc
- jobname: linux-leaks
- image: ubuntu:latest
+ image: ubuntu:rolling
CC: gcc
- jobname: linux-reftable-leaks
- image: ubuntu:latest
+ image: ubuntu:rolling
CC: gcc
- jobname: linux-asan-ubsan
- image: ubuntu:latest
+ image: ubuntu:rolling
CC: clang
- jobname: pedantic
image: fedora:latest
@@ -69,7 +69,7 @@ test:linux:
- jobname: linux32
image: i386/ubuntu:20.04
- jobname: linux-meson
- image: ubuntu:latest
+ image: ubuntu:rolling
CC: gcc
artifacts:
paths: