-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
[1.1] Add go 1.21 to CI #3976
Merged
mrunalp
merged 11 commits into
opencontainers:release-1.1
from
kolyshkin:1.1-go-1.21-ci
Aug 10, 2023
Merged
[1.1] Add go 1.21 to CI #3976
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
bb2401e
[1.1] ci/cirrus: use Go 1.20
kolyshkin ecccc43
[1.1] ci/cirrus: use Go 1.19.x not 1.19
kolyshkin ac31091
ci/cirrus: improve host_info
kolyshkin 1c52424
[1.1] ci/gha: rm unsup Go 1.19.x, add 1.21.x
kolyshkin 37405ca
Fix running tests under Docker/Podman and cgroup v2
kolyshkin cff41a8
ci: fix TestNilResources when systemd not available
kolyshkin 44a53f0
ci: fix TestOpenat2 when no systemd is used
kolyshkin a47c15b
build(deps): bump actions/setup-go from 3 to 4
dependabot[bot] 5888c55
ci/gha: rm actions/cache from validate/deps job
kolyshkin d398ad2
gha: disable setup-go cache for golangci job
kolyshkin bdbfe04
ci: bump golangci-lint, remove fixed exception
kolyshkin File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#!/bin/bash | ||
# | ||
# This script is used from ../Dockerfile as the ENTRYPOINT. It sets up cgroup | ||
# delegation for cgroup v2 to make sure runc tests can be properly run inside | ||
# a container. | ||
|
||
# Only do this for cgroup v2. | ||
if [ -f /sys/fs/cgroup/cgroup.controllers ]; then | ||
set -x | ||
# Move the current process to a sub-cgroup. | ||
mkdir /sys/fs/cgroup/init | ||
echo 0 >/sys/fs/cgroup/init/cgroup.procs | ||
# Enable all controllers. | ||
sed 's/\b\w/+\0/g' <"/sys/fs/cgroup/cgroup.controllers" >"/sys/fs/cgroup/cgroup.subtree_control" | ||
fi | ||
|
||
exec "$@" |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we still need 1.17 ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure. The original plan was to maintain support for older releases in a stable branch, but since this branch ended up a very long lived one, we had to drop 1.16 support in runc 1.1.6 because of #3817.
Let it stay for now (I hope we'll release 1.2.0 soon and more-or-less forget about 1.1.x)