Skip to content

Commit

Permalink
ci: use latest Ubuntu release
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
pks-t committed Jan 6, 2025
1 parent 571db72 commit e52044a
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
14 changes: 7 additions & 7 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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:
Expand Down

0 comments on commit e52044a

Please sign in to comment.