Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci/gha: add ubuntu 22.04 #3820

Merged
merged 1 commit into from
Apr 11, 2023
Merged

Conversation

kolyshkin
Copy link
Contributor

@kolyshkin kolyshkin commented Apr 7, 2023

Add Ubuntu 22.04 to GHA CI test matrix, and switch from 20.04 to 22.04 for validate jobs.

Note that Ubuntu 22.04 uses cgroup v2.

@kolyshkin
Copy link
Contributor Author

Oh nice, actions/setup-go@v4 enables go cache caching by default, and it manages to bring some artefacts compiled on Ubuntu 22.04 to Ubuntu 20.04, resulting in weird linker errors. Filed actions/setup-go#368

@kolyshkin kolyshkin force-pushed the ubu-22.04 branch 9 times, most recently from cb4a9b5 to 6074098 Compare April 10, 2023 17:21
@thaJeztah
Copy link
Member

Oh nice, actions/setup-go@v4 enables go cache caching by default, and it manages to bring some artefacts compiled on Ubuntu 22.04 to Ubuntu 20.04, resulting in weird linker errors. Filed actions/setup-go#368

Yikes!

For test jobs, add ubuntu 22.04 into the matrix, so we can test of both
cgroup v1 and v2.

For validate jobs, just switch to ubuntu 22.04

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
@kolyshkin kolyshkin changed the title ci/gha: switch to ubuntu 22.04 ci/gha: add ubuntu 22.04 Apr 10, 2023
@kolyshkin kolyshkin marked this pull request as ready for review April 10, 2023 19:41
@kolyshkin
Copy link
Contributor Author

No longer a draft. PTAL @AkihiroSuda @thaJeztah

Copy link
Member

@thaJeztah thaJeztah left a comment

Choose a reason for hiding this comment

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

LGTM

we need to update the list of required checks in branch protection, otherwise CI on PRs continue to be "pending", waiting for checks that no longer exist

Screenshot 2023-04-11 at 09 33 48

@kolyshkin kolyshkin merged commit e42c219 into opencontainers:main Apr 11, 2023
34 checks passed
samuelkarp added a commit to samuelkarp/containerd that referenced this pull request May 8, 2023
actions/setup-go#368 and
opencontainers/runc#3820 (comment)
discuss issues with the cache key for actions/setup-go@v4.  Rather than
reverting the upgrade to v4 (per discussion in
containerd#8372), disable caching
explicitly.

Signed-off-by: Samuel Karp <samuelkarp@google.com>
jsturtevant pushed a commit to jsturtevant/containerd that referenced this pull request Sep 21, 2023
actions/setup-go#368 and
opencontainers/runc#3820 (comment)
discuss issues with the cache key for actions/setup-go@v4.  Rather than
reverting the upgrade to v4 (per discussion in
containerd#8372), disable caching
explicitly.

Signed-off-by: Samuel Karp <samuelkarp@google.com>
juliusl pushed a commit to juliusl/containerd that referenced this pull request Jan 26, 2024
actions/setup-go#368 and
opencontainers/runc#3820 (comment)
discuss issues with the cache key for actions/setup-go@v4.  Rather than
reverting the upgrade to v4 (per discussion in
containerd#8372), disable caching
explicitly.

Signed-off-by: Samuel Karp <samuelkarp@google.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants