-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Update vendor of containers(image, common, buildah, storage) #15900
Conversation
fd24b89
to
66d460b
Compare
LGTM |
cmd/podman/images/build.go
Outdated
|
||
if cmd.Flag("network").Changed { | ||
if buildOpts.Network != "host" && buildOpts.Isolation == buildahDefine.IsolationChroot.String() { | ||
return fmt.Errorf("cannot set --network %s --isolation %s", buildOpts.Network, buildOpts.Isolation) |
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.
Inconsistent with buildah:
# #| expected: =~ 'cannot set --network other than host with --isolation chroot'
# #| actual: 'Error: cannot set --network none --isolation chroot'
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.
FYI options are change the message, skip the test (see treadmill PR), or use the errmsg
directive in apply-whatever
to change the expected error message. I think changing the podman error message is the easiest, but I don't have all the facts.
3c84ac8
to
1575f0e
Compare
Signed-off-by: Daniel J Walsh <[email protected]>
Changes since 2022-09-09: - man page: add --skip-unused-stages (buildah 4249) - man page: bring in new Note for --cache-ttl (4248) - system tests: de-stutter (4205) - (internal): in skip() applier: escape asterisk, otherwise the "bud with --dns* flags" sed expression never applies. Signed-off-by: Ed Santiago <[email protected]> Signed-off-by: Daniel J Walsh <[email protected]>
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: cdoern, rhatdan The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Does this PR introduce a user-facing change?