-
Notifications
You must be signed in to change notification settings - Fork 18.9k
vendor: BuildKit v0.8.0-rc2, containerd, and dependencies #41688
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
Conversation
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 unsure about what to do with this dependency; I didn't update because we currently vendor the special "moby" branch, but with both containerd, buildkit, and docker using the dependency, I wonder if we should move back to these tags
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.
Opened #41689 for discussion
4b4683e to
e67f9b9
Compare
|
Looks like some changes are needed; |
e67f9b9 to
50aadb6
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.
@tonistiigi @AkihiroSuda Could use some help with this part; should this write output to progressOutput? Or use something similar to loggerFromContext()? see moby/buildkit@aa29e77 (moby/buildkit#1791)
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.
We don't need this. Downloadmanager is smart enough to do retries on its own.
|
Looks like a flaky test; #23626 |
50aadb6 to
3b3e2fc
Compare
|
Updated to v0.8.0-rc2 |
full diff: golang/crypto@75b2880...c1f2f97 relevant changes: - pkcs12: document that we use the wrong PEM type - pkcs12: drop PKCS#12 attributes with unknown OIDs - ocsp: Improve documentation for ParseResponse and ParseResponseForCert other changes (not in vendor); - ssh: improve error message for KeyboardInteractiveChallenge - ssh: remove slow unnecessary diffie-hellman-group-exchange primality check - ssh/terminal: replace with a golang.org/x/term wrapper - Deprecates ssh/terminal in favor of golang.org/x/term - ssh/terminal: add support for zos - ssh/terminal: bump x/term dependency to fix js/nacl - nacl/auth: use Size instead of KeySize for Sum output - sha3: remove go:nocheckptr annotation Signed-off-by: Sebastiaan van Stijn <[email protected]>
…7da5ac9 tonistiigi/fsutil@c3ed55f...0834f99 - copy: use Clonefileat from golang.org/x/sys/unix on macOS - go.mod: update opencontainers/go-digest v1.0.0 - Add github action CI - github: test go1.15 Signed-off-by: Sebastiaan van Stijn <[email protected]>
full diff: containerd/ttrpc@v1.0.1...v1.0.2 - fix bug, failed to assert net error due to error wrap - fixes: ttrpc client receive "read: connection reset by peer: unknown" - client: add UserOnCloseWait function - travis: add go 1.15 Signed-off-by: Sebastiaan van Stijn <[email protected]>
…a4dacb full diff: containerd/fifo@f15a329...0724c46 - Add OpenFifoDup2 - use golang.org/x/sys/unix for dup2 (fixes build on arm64) Signed-off-by: Sebastiaan van Stijn <[email protected]>
…cd6f4f510 full diff: containerd/cgroups@318312a...0b889c0 - v1/stats: add all fields of memory.oom_control - memory: remove wrong memory.kmem.limit_in_bytes check - CI: test against Go 1.15 Signed-off-by: Sebastiaan van Stijn <[email protected]>
…09ad4b89c638 full diff: containerd/containerd@d4e7820...0edc412 - integrates containerd/cri into main containerd repository - seccomp: add `pidfd_open` and `pidfd_send_signal` - seccomp: add `pidfd_getfd` syscall (gated by `CAP_SYS_PTRACE`) - docker: don’t hide pusher response error Signed-off-by: Sebastiaan van Stijn <[email protected]>
full diff: moby/buildkit@6861f17...v0.8.0-rc2 - dockerfile: rename experimental channel to labs - dockerfile build: fix not exit when meet error in load config metadata - copy containerd.UnknownExitStatus to local const to reduce dependency graph in client - executor: switch to docker seccomp profile - add retry handlers to push/pull - SSH-based auth for llb.Git operations - Allow gateway exec-ing into a failed solve with an exec op - Fix parsing ssh-based git sources - Fix sshkeyscan to work with ipv6 - fix assumption that ssh port must be 2 digits - vendor: github.com/Microsoft/go-winio v0.4.15 - vendor: github.com/tonistiigi/fsutil v0.0.0-20201103201449-0834f99b7b85 - vendor: containerd v1.4.1-0.20201117152358-0edc412565dc - vendor: golang.org/x/crypto v0.0.0-20201117144127-c1f2f97bffc9 Signed-off-by: Sebastiaan van Stijn <[email protected]>
|
included #41690, in this PR because buildkit uses some new packages from this dependency, and otherwise we may get incorrect vendoring if the PR's are merged out of order |
3b3e2fc to
73571e4
Compare
|
ping @tonistiigi |
| # containerd | ||
| github.com/containerd/containerd d4e78200d6da62480c85bf6f26b7221ea938f396 | ||
| github.com/containerd/fifo f15a3290365b9d2627d189e619ab4008e0069caf | ||
| github.com/containerd/containerd 0edc412565dcc6e3d6125ff9e4b009ad4b89c638 # master (v1.5.0-dev) |
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.
Could you update this to be containerd/containerd@7126310 or newer?
I believe the older commit is safe for just using containerd as a library, but the older daemon binary was known not to work with Docker, so I'm not a fan of vendoring the older commit.
Can be a follow-up PR though.
| # buildkit | ||
| github.com/moby/buildkit 6861f17f15364de0fe1fd1e6e8da07598a485123 | ||
| github.com/tonistiigi/fsutil c3ed55f3b48161fd3dc42c17ba09e12ac52d57dc | ||
| github.com/moby/buildkit fcb87e6b8ccf3631a65799cc56caa76f9117816e # v0.8.0-rc2 |
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.
v0.8.0 is now GA
@AkihiroSuda did you want that bump in this PR, or ok to do a follow-up after this one? |
|
Can be a follow-up |
|
I'll have a look at updating this afternoon; let me know if this is good to merge 👍
… On 3 Dec 2020, at 11:19, Akihiro Suda ***@***.***> wrote:
Can be a follow-up
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
|
opened #41745 as a follow-up |
|
1f88736 also brings in containerd/containerd#4530 ("Add RPi1/RPi0 workaround"), related to:
|
Possibly more dependencies need to be updated, and instead of this we should cherry-pick. This is just a quick check "what would it look like if we bumped the version in this branch"; Updating to containerd 1.5 Last containerd update in 20.10 is moby@1f88736 (moby#41688) - moby@ab1dd80 moby#42274 - moby@5761fca moby#42274 - moby@42ef2c5 moby#42276 - moby@6202322 moby#42254 - moby@7c1c123 moby#42249 - moby@84df737 moby#42636 - moby@4fc2d4d moby#42656 - moby@3d58d13 moby#42697 - moby@582ef29 moby#42994 Signed-off-by: Sebastiaan van Stijn <[email protected]>
Possibly more dependencies need to be updated, and instead of this we should cherry-pick. This is just a quick check "what would it look like if we bumped the version in this branch"; Updating to containerd 1.5 Last containerd update in 20.10 is moby@1f88736 (moby#41688) - moby@ab1dd80 moby#42274 - moby@5761fca moby#42274 - moby@42ef2c5 moby#42276 - moby@6202322 moby#42254 - moby@7c1c123 moby#42249 - moby@84df737 moby#42636 - moby@4fc2d4d moby#42656 - moby@3d58d13 moby#42697 - moby@582ef29 moby#42994 Signed-off-by: Sebastiaan van Stijn <[email protected]>
Possibly more dependencies need to be updated, and instead of this we should cherry-pick. This is just a quick check "what would it look like if we bumped the version in this branch"; Updating to containerd 1.5 Last containerd update in 20.10 is moby@1f88736 (moby#41688) - moby@ab1dd80 moby#42274 - moby@5761fca moby#42274 - moby@42ef2c5 moby#42276 - moby@6202322 moby#42254 - moby@7c1c123 moby#42249 - moby@84df737 moby#42636 - moby@4fc2d4d moby#42656 - moby@3d58d13 moby#42697 - moby@582ef29 moby#42994 - moby@458b4aa moby#43025 Signed-off-by: Sebastiaan van Stijn <[email protected]>
Possibly more dependencies need to be updated, and instead of this we should cherry-pick. This is just a quick check "what would it look like if we bumped the version in this branch"; Updating to containerd 1.5 Last containerd update in 20.10 is moby@1f88736 (moby#41688) - moby@ab1dd80 moby#42274 - moby@5761fca moby#42274 - moby@42ef2c5 moby#42276 - moby@6202322 moby#42254 - moby@7c1c123 moby#42249 - moby@84df737 moby#42636 - moby@4fc2d4d moby#42656 - moby@3d58d13 moby#42697 - moby@582ef29 moby#42994 - moby@458b4aa moby#43025 Signed-off-by: Sebastiaan van Stijn <[email protected]>
vendor: golang.org/x/crypto c1f2f97bffc9c53fc40a1a28a5b460094c0050d9
(included from #41690)
full diff: golang/crypto@75b2880...c1f2f97
relevant changes:
other changes (not in vendor);
vendor github.com/tonistiigi/fsutil 0834f99b7b85462efb69b4f571a4fa3ca7da5ac9
tonistiigi/fsutil@c3ed55f...0834f99
vendor: github.com/containerd/ttrpc v1.0.2
full diff: containerd/ttrpc@v1.0.1...v1.0.2
vendor: github.com/containerd/fifo 0724c46b320cf96bb172a0550c19a4b1fca4dacb
full diff: containerd/fifo@f15a329...0724c46
vendor: github.com/containerd/cgroups 0b889c03f102012f1d93a97ddd3ef71cd6f4f510
full diff: containerd/cgroups@318312a...0b889c0
vendor: github.com/containerd/containerd 0edc412565dcc6e3d6125ff9e4b009ad4b89c638
full diff: containerd/containerd@d4e7820...0edc412
pidfd_openandpidfd_send_signalpidfd_getfdsyscall (gated byCAP_SYS_PTRACE)vendor: github.com/moby/buildkit v0.8.0-rc2
full diff: moby/buildkit@6861f17...v0.8.0-rc2