-
Notifications
You must be signed in to change notification settings - Fork 862
[do not merge] add swap to CI for 1.21 #6587
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
Open
nalind
wants to merge
35
commits into
containers:release-1.21
Choose a base branch
from
nalind:ci-1.21
base: release-1.21
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains hidden or 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
Also update containers/storage to handle changes in the runc API. Fixes: https://issues.redhat.com/browse/RHEL-126918 Signed-off-by: David Shea <dshea@redhat.com> Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
2752931 to
e951ec9
Compare
Contributor
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: nalind The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
224f7fc to
1c635f1
Compare
The updated libcontainer (part of runc) doesn't compile as cleanly on non-Linux platforms. We could work around some of the types not being defined on those platforms, as we do in later branches, but for now, and unless we need to for downstream consumers, this gets us to passing CI faster. Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
Update the versions of ginkgo that we build for use by our e2e tests, and the linter. Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
Signed-off-by: David Shea <dshea@redhat.com>
Signed-off-by: David Shea <dshea@redhat.com> Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
5da61d8 to
4f073e0
Compare
Signed-off-by: David Shea <dshea@redhat.com> Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
The github.com/pkg/errors.Cause() function didn't call Unwrap(), so directly comparing its returned value with specific errors could fail. Compensate for that by using errors.Is() or errors.As() where possible. Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
1639e51 to
36d9ffe
Compare
When firing up a minimal server to serve up content so that we can retrieve it using HTTP, make it possible to let the kernel assign us which port to use, so that the script that's calling us doesn't have to make a(n occasionally bad) guess. Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
3ac390e to
faa3f29
Compare
Update linter configuration to more closely align with main. Address some linter warnings, mark some others to be ignored. Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
Ambient capabilities can't be raised without inheritable ones, and since we don't raise inheritable, we should not raise ambient either. This went unnoticed because of a bug in syndtr/gocapability which is only fixed in its fork (see the next commit). Amends commit e7e55c9. Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com> Signed-off-by: Chris Evich <cevich@redhat.com> Assisted-by: Claude (Anthropic)
Newer docker build doesn't set it, so we need to stop. Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
Make setting the Parent field in the config blob of a docker format image optional (yes, we're bringing it back!), since it no longer appears to be set by newer versions of docker build. Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
If the working directory ends with the path separator, and trimming it wouldn't produce an empty value, trim it, for conformance. This was originally fixed in imagebuilder, and we picked up the change automatically, but this should provide the same end-result. Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
Add descriptions to man pages for the flags which the updated versions of library dependencies have added. Hide the default "completion" command. Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
Make "build" an alias for "bud", as in later releases we renamed it to "build" and kept "bud" as an alias. Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
Update the error messages that various tests expect, which have been changed by the libraries that produce them. Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
The -cover flag causes many 'error: coverage... ; no coverage data written' messages when GOCOVERDIR is not set. These messages needlessly clutter the test output. Remove the -cover flag. Signed-off-by: Chris Evich <cevich@redhat.com> Assisted-by: Claude (Anthropic) Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
Also update the tests to account for the changes when pulling from the dir transport. Images pulled via the dir transport are not tagged anymore; the path is not a reliable source. Signed-off-by: Valentin Rothberg <rothberg@redhat.com> Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
Run tests using the seccomp profile that we use by default, which differs from the one that the runtime-tools generator supplies if we don't use our own. Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
Use sort.Stable() instead of sort.Sort() to sort mounts, and have the comparison function compare the cleaned paths directly if they have the same number of components, so that there's a defined ordering between "/a" and "/b". Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
Backport a fixup of the permissions of the testing git repository that we use when checking that we can clone repositories when building, because I generated the tarball of the contents with myself as the owner, instead of root, and newer git thinks that looks suspect. Ed fixed this on main a while ago. Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
Handle requested relabeling of bind mounts (i.e., the "z" and "Z" flags) directly, instead of letting the runtime handle the relabeling. Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
Signed-off-by: Nalin Dahyabhai <nalin@redhat.com> Signed-off-by: Chris Evich <cevich@redhat.com> Assisted-by: Claude (Anthropic) Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
Use the named constants for the status values that runtimes can report to us when we run them with the "state" command. Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
Pick up the test updates from containers#4829, where we learned that disabling SELinux process labeling in a non-privileged context doesn't result in the container process being granted super privileges. Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
When checking the not-standardized "architecture" label in the ubi8 base image, accept either the RPM-recognized value (x86_64, aarch64) or Go value (amd64, arm64), because it seems to have changed at least once. Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
Add /usr/lib/cni, which is where Debian packages containernetworking-plugins, to the default set of paths we search for CNI plugins. Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
When checking that the /etc/hosts entry that we add looks right, accept either tabs or spaces separating the IP address from the hostname, since we actually use tabs. Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
Signed-off-by: David Shea <dshea@redhat.com> Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Ignore me!