vendor: github.com/containerd/containerd v1.7.19, migrate to github.com/containerd/platforms module#47142
Merged
AkihiroSuda merged 2 commits intomoby:masterfrom Jul 4, 2024
Conversation
Member
Author
|
Ah, looks like some updates are needed; |
Member
Author
|
4b10e64 to
f79462a
Compare
Member
Author
|
Two tests failing that look related, looks like there's some change in behavior in the package; moby/integration/build/build_test.go Lines 680 to 685 in 27e85c7 moby/integration/image/pull_test.go Lines 34 to 37 in 27e85c7 |
Member
Author
|
Improved the test-assert a bit, and it looks like it's returning a 500 / internal server error; |
Member
Author
|
Daemon logs show that it returns an untyped error, hence using the default ( time="2024-01-21T00:18:31.260074294Z" level=debug msg="Calling POST /v1.45/images/create?fromImage=hello-world&platform=foobar&tag=latest"
time="2024-01-21T00:18:31.260220544Z" level=debug msg="FIXME: Got an API for which error does not match any expected type!!!" error="\"foobar\": unknown operating system or architecture: invalid argument" error_type="*fmt.wrapError" module=api
time="2024-01-21T00:18:31.260320336Z" level=error msg="Handler for POST /v1.45/images/create returned error: \"foobar\": unknown operating system or architecture: invalid argument"
time="2024-01-21T00:18:31.260407169Z" level=debug msg="FIXME: Got an API for which error does not match any expected type!!!" error="\"foobar\": unknown operating system or architecture: invalid argument" error_type="*fmt.wrapError" module=api |
Member
Author
0273a3c to
448d592
Compare
448d592 to
4da9067
Compare
4da9067 to
42a1bd3
Compare
Member
Author
|
Some error messages need to be updated in tests; |
42a1bd3 to
89a2e16
Compare
This was referenced May 27, 2024
4ad5d69 to
649c049
Compare
Member
Author
dcdea36 to
886611a
Compare
a47a10a to
6f9f5b9
Compare
Highlights - Fix support for OTLP config - Add API go module - Remove overlayfs volatile option on temp mounts - Update runc binary to v1.1.13 - Migrate platforms package to github.com/containerd/platforms - Migrate reference/docker package to github.com/distribution/reference Container Runtime Interface (CRI) - Fix panic in NRI from nil CRI reference - Fix Windows HPC working directory full diff: containerd/containerd@v1.7.18...v1.7.19 Signed-off-by: Sebastiaan van Stijn <[email protected]>
Switch to use github.com/containerd/platforms module, because containerd's platforms package has moved to a separate module. This allows updating the platforms parsing independent of the containerd module itself. The package in containerd is deprecated, but kept as an alias to provide compatibility between codebases. Signed-off-by: Sebastiaan van Stijn <[email protected]>
6f9f5b9 to
d0aa3ea
Compare
Member
Author
AkihiroSuda
approved these changes
Jul 4, 2024
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Migrate to github.com/containerd/platforms module
Containerd's "platforms" package is being moved to a separate module. This
allows updating the platforms parsing independent of the containerd module
itself.
For existing containerd versions (1.6, 1.7), the package in containerd will
be an alias for the new module.
- Description for the changelog
- A picture of a cute animal (not mandatory but encouraged)