vendor: use go mod (rebase after removal of deprecated host-discovery)#43101
vendor: use go mod (rebase after removal of deprecated host-discovery)#43101thaJeztah merged 4 commits intomoby:masterfrom
Conversation
|
Hmm.. interesting; looks like vendor-check fails (diff in |
|
Probably because |
dc0d134 to
2e0b7ba
Compare
|
Hmm.. new failure? |
3893251 to
ec56ad8
Compare
| github.com/containerd/console v1.0.2 // indirect | ||
| github.com/containerd/go-runc v1.0.0 // indirect | ||
| github.com/containerd/ttrpc v1.1.0 // indirect | ||
| github.com/coreos/etcd v3.3.25+incompatible // indirect |
There was a problem hiding this comment.
Note to self; I need to update this to the version that's used in vendor.conf (see #41791)
| github.com/docker/libkv v0.2.2-0.20211217103745-e480589147e3 | ||
| github.com/docker/libtrust v0.0.0-20150526203908-9cbd2a1374f4 | ||
| github.com/docker/swarmkit v1.12.1-0.20210726173615-3629f50980f6 | ||
| github.com/fluent/fluent-logger-golang v1.8.0 |
There was a problem hiding this comment.
Note to self: need to update this to v1.9.0 (see #43100)
ec56ad8 to
c92a26f
Compare
|
@thaJeztah thanks for rebasing and the additions! |
|
Weird failures on Windows 😞 (likely unrelated) |
|
@thaJeztah I have seen similar Windows file access/modification races on my PR earlier... definitely unrelated. |
|
Looking mostly OK; Other failure on Windows 2022 is a known flaky; #43012 |
|
@thaJeztah should this be marked "ready for review"? |
c92a26f to
2c151c0
Compare
- use `vendor.mod` instead of `go.mod` to avoid issues to do with use of CalVer, not SemVer - ensure most of the dependency versions do not change - only zookeeper client has to change (via docker/libkv#218) as previously used version is no longer maintained and has missing dependencies Signed-off-by: Sebastiaan van Stijn <[email protected]>
- all changes here are attributed to difference in behaviour between, namely: - resolution of secondary test dependencies - prunning of non-Go files Signed-off-by: Ilya Dmitrichenko <[email protected]> Signed-off-by: Sebastiaan van Stijn <[email protected]>
This allows the modules to be cached when vendoring modules from within the dev container. Signed-off-by: Sebastiaan van Stijn <[email protected]>
commit googleapis/google-cloud-go@ad4f932 removes some of the test-dependencies from cloud.google.com. only other relevant changes in vendored code are from this commit: googleapis/google-cloud-go@dccc6b4 Full diff: googleapis/google-cloud-go@v0.44.3...v0.59.0 Signed-off-by: Sebastiaan van Stijn <[email protected]>
2c151c0 to
ace8c78
Compare
|
All green now! We rolled back the windows machines to the previous builds (gonna be using #43145 to track if we're able to find where the regression is in Windows; looks like there's issues with newer builds of Windows itself that cause CI to fail and to run severely slower, but we may need help from the Microsoft people on that, as it looks to be in the platform itself) |
|
Next steps will be to remove the |
|
So, is moby moving towards using Go modules in a proper way, with go.mod/go.sum? |
|
Ultimately, yes, but that requires quite some additional changes to make it work |
this is a rebase of #43075 to see if it's easy to re-do the go mod changes if #42247 would be merged first
I made some changes in separate commits (could be squashed); using this draft PR to check CI.