Skip to content

[1.2] Add Go 1.24, drop ubuntu 20.04#4648

Merged
lifubang merged 2 commits into
opencontainers:release-1.2from
kolyshkin:1.2-4634
Feb 27, 2025
Merged

[1.2] Add Go 1.24, drop ubuntu 20.04#4648
lifubang merged 2 commits into
opencontainers:release-1.2from
kolyshkin:1.2-4634

Conversation

@kolyshkin

Copy link
Copy Markdown
Contributor

This is a backport of #4598 and #4634 to release-1.2 branch.

  • switch from Go 1.22 to 1.23 (including for official builds);
  • add Go 1.24;
  • bump golangci-lint to a version which supports Go 1.24;
  • drop ubuntu 20.04 from CI.

Since Go 1.22 is no longer supported, let's switch to Go 1.23 for
official builds, cirrus, and GHA validate jobs.

Add Go 1.24 to testing matrix, and keep Go 1.22.

Bump golangci-lint to a version which supports Go 1.24.

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
There is an announce that Ubuntu 20.04 will be removed in April,
and in March there will be a few "brown-out" dates/times when
it won't work.

This leaves us with no other options than to remove ubuntu-20.04
from the testing matrix.

As a result, cgroup v1 testing will only be done on AlmaLinux 8
running on CirrusCI. It is probably going to be sufficient for
the time being (until we deprecate cgroup v1).

If not, our options are
 - run Ubuntu 20.04 (or other cgroup v1 distro) in a VM on GHA;
 - switch to cirrus-ci.

[1]: actions/runner-images#11101

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
(cherry picked from commit 4244978)
Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
@kolyshkin kolyshkin added the backport/1.2-pr A backport PR to release-1.2 label Feb 26, 2025
@kolyshkin kolyshkin added this to the 1.2.6 milestone Feb 26, 2025

@lifubang lifubang left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM
Though I think we should do the backport from #4471 first!

@lifubang lifubang merged commit 57e4f53 into opencontainers:release-1.2 Feb 27, 2025
@rata rata mentioned this pull request Mar 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport/1.2-pr A backport PR to release-1.2

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants