-
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
use libnetwork from c/common #12642
use libnetwork from c/common #12642
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: Luap99 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 |
LGTM once the c/common PR merges. |
7c85073
to
26f1bdc
Compare
fecbafb
to
2103d75
Compare
Containers/common has been merged, could you rebase. |
There is no point, I sill need the buildah PR. |
The libpod/network packages were moved to c/common so that buildah can use it as well. To prevent duplication use it in podman as well and remove it from here. Signed-off-by: Paul Holzinger <[email protected]>
Aw, phooey. I just looked at the podman-remote failures, and there are a whole lot more than in local. I'm working on those right now. |
- reenable git:// tests - git command fails with (EVIL) status 128. Deal with it. - skip two failing tests that I don't know how to fix: a) --unsetenv is not passed on to buildah (should be easy) b) something manifest-related - skip a bunch more podman-remote tests. Filed an issue for one of them (containers#12838), the others may not be fixable. Signed-off-by: Ed Santiago <[email protected]>
Okay, I've force-pushed updates to Luap99#2 which I think cover all the errors. Please do not just blindly merge that (unless this PR is time-critical). Please, someone buildah-savvy, look at all these new added skips and either (a) fix them or (b) move the skips to a different section of the script, with an explanation of why these won't be fixed. HTH |
@@ -54,6 +54,10 @@ Add a custom host-to-IP mapping (host:ip) | |||
Add a line to /etc/hosts. The format is hostname:ip. The **--add-host** option | |||
can be set multiple times. | |||
|
|||
#### **--all-platforms** | |||
|
|||
Instead of building for a set of platforms specified using the **--platform** option, inspect the build's base images, and build for all of the platforms for which they are all available. Stages that use *scratch* as a starting point can not be inspected, so at least one non-*scratch* stage must be present for detection to work usefully. |
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 struggling with the first sentence. I think this is better, but I'm not sure it's right or that I like it a lot. Maybe "found" instead of "available" in my suggestion?
Instead of building for a set of platforms specified using the **--platform** option, inspect the build's base images, and build for all of the platforms for which they are all available. Stages that use *scratch* as a starting point can not be inspected, so at least one non-*scratch* stage must be present for detection to work usefully. | |
Instead of building for a set of platforms specified using the **--platform** option, inspect the build's base images, and build for all of the platforms that are available. Stages that use *scratch* as a starting point can not be inspected, so at least one non-*scratch* stage must be present for detection to work usefully. |
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 can fix this here but this is copy paste from buildah-bud so someone should fix it there as well.
Make sure we add support for allplatforms and unsetenv to both local and remote podman. Signed-off-by: Paul Holzinger <[email protected]>
- reenable git:// tests - git command fails with (EVIL) status 128. Deal with it. - skip a bunch more podman-remote tests. Filed an issue for one of them (containers#12838), the others may not be fixable. Signed-off-by: Ed Santiago <[email protected]> Signed-off-by: Paul Holzinger <[email protected]>
OK all tests were green now except one podman-remote build test |
@baude @mheon @rhatdan @edsantiago PTAL This should go green now |
LGTM! |
/lgtm |
LGTM |
/hold cancel |
The libpod/network packages were moved to c/common so that buildah can
use it as well. To prevent duplication use it in podman as well and
remove it from here.
Signed-off-by: Paul Holzinger [email protected]