-
Notifications
You must be signed in to change notification settings - Fork 18.9k
vendor: github.com/containerd/containerd v1.7.19, migrate to github.com/containerd/platforms module #47142
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
vendor: github.com/containerd/containerd v1.7.19, migrate to github.com/containerd/platforms module #47142
Conversation
|
Ah, looks like some updates are needed; |
|
4b10e64 to
f79462a
Compare
|
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
|
|
Improved the test-assert a bit, and it looks like it's returning a 500 / internal server error; |
|
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 |
0273a3c to
448d592
Compare
448d592 to
4da9067
Compare
4da9067 to
42a1bd3
Compare
|
Some error messages need to be updated in tests; |
42a1bd3 to
89a2e16
Compare
4ad5d69 to
649c049
Compare
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 <github@gone.nl>
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 <github@gone.nl>
6f9f5b9 to
d0aa3ea
Compare


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)