-
Notifications
You must be signed in to change notification settings - Fork 1.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
Update docker/docker to master / v21.xx-dev (post libnetwork integration) #2150
Conversation
c8de61b
to
b86cae0
Compare
Rebased; this should also be ready for review now |
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.
LGTM
b86cae0
to
94b9918
Compare
w.r.t. "why do we need the I think the problem (or at least one of them) is that BuildKit depends on
|
fsutil currently uses:
The test could be moved to a submodule (have its own For Docker uses I think we could / should move the pattern matching to tonistiigi/fsutils, or BuildKit. Perhaps consider |
@thaJeztah So if fsutil dependency is changed to also point to master then this can be fixed? If you confirm this can be fixed as follow up I can merge current. If we would create a |
I wanted to test that today, yes. The swarmkit update was also revendored in moby, so perhaps that helps as well (will test when I get to my computer) |
a79f6b4
to
0048cb2
Compare
@tonistiigi yes, that looks to be working; I opened tonistiigi/fsutil#104, and pushed a temporary commit to update fsutil from my branch). (there's still a chance that once the I think we should still look at #2150 (comment), but we can do so separately |
0048cb2
to
7a1f9e8
Compare
updated with latest fsutil (after tonistiigi/fsutil#104 was merged) |
7a1f9e8
to
319880e
Compare
…ion) full diff: https://github.com/docker/docker/compare/v20.10.7..0ad2293d0e5b This applies the same / similar local changes to buildkit as were made in the branch that moby is currently vendoring: moby/buildkit@244e8cd...cpuguy83:update_libnetwork_import Unfortunately, this (again) requires a "replace" rule (probably until we tagged a release with this change). Go mod refuses to pick a version from master, and (without the replace rule), does weird, reverting docker to a very old version, predating the sirupsen rename: > [vendored 4/4] RUN --mount=target=/src,rw --mount=target=/go/pkg/mod,type=cache go mod tidy && go mod vendor && mkdir /out && cp -r go.mod go.sum vendor /out: moby#10 0.500 go: finding github.com/docker/docker 8dbd90ec00daa26dc45d7da2431c965dec99e8b4 moby#10 0.599 warning: ignoring symlink /src/examples/kube-consistent-hash moby#10 1.027 go: github.com/moby/buildkit/util/testutil/integration imports moby#10 1.027 github.com/docker/docker/testutil/daemon imports moby#10 1.027 github.com/docker/docker/opts imports moby#10 1.027 github.com/docker/libnetwork/ipamutils imports moby#10 1.027 github.com/docker/libnetwork/osl imports moby#10 1.027 github.com/Sirupsen/logrus: github.com/Sirupsen/logrus@v1.8.1: parsing go.mod: moby#10 1.027 module declares its path as: github.com/sirupsen/logrus moby#10 1.027 but was required as: github.com/Sirupsen/logrus ------ error: failed to solve: rpc error: code = Unknown desc = executor failed running [/bin/sh -c go mod tidy && go mod vendor && mkdir /out && cp -r go.mod go.sum vendor /out]: exit code: 1 make: *** [vendor] Error 1 Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
319880e
to
c98d24b
Compare
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'll create a tracking issue for the replace rule.
follow-up to #2149
full diff: https://github.com/docker/docker/compare/v20.10.7..8dbd90ec00da
This applies the same / similar local changes to buildkit as were made in
the branch that moby is currently vendoring:
244e8cd...cpuguy83:update_libnetwork_import
Unfortunately, this (again) requires a "replace" rule (probably until we tagged
a release with this change). Go mod refuses to pick a version from master, and
(without the replace rule), does weird, reverting docker to a very old version,
predating the sirupsen rename: