Repository navigation
Add a new image label if it is docker schema 1 - #9215
Conversation
|
Hi @qiutongs. Thanks for your PR. I'm waiting for a containerd member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
samuelkarp
left a comment
There was a problem hiding this comment.
It'd be nice to have a unit test for this, but since there are no existing tests for pull.go I don't consider that blocking.
If there is a "well-known" docker schema 1 for integration test, I probably can add a new test case in https://github.com/containerd/containerd/blob/main/integration/containerd_image_test.go |
|
/retest |
|
@qiutongs: Cannot trigger testing until a trusted user reviews the PR and leaves an DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
|
/ok-to-test |
|
@qiutongs It looks like the Kubernetes project has a schema 1 image we can use: https://explore.ggcr.dev/?image=registry.k8s.io/busybox@sha256:4bdd623e848417d96127e16037743f0cd8b528c026e9175e22a84f639eca58ff&mt=application%2Fvnd.docker.distribution.manifest.v1%2Bprettyjws&size=3205 /cc @dims |
Great, let me add an integration test based on it |
Added a new test case in containerd_image_test.go |
|
/retest |
This only works for the prow jobs. Most of containerd's CI is via GitHub Actions. I'll trigger a retest for you. |
Thank you. And I don't think the failed windows integration test is caused by this PR. |
This image is not a multi-platform image and won't work on Windows. Can you skip the test on Windows? |
Signed-off-by: Qiutong Song <songqt01@gmail.com>
…h upstream containerd/main update fork-external/main branch to upstream containerd/main at commit f90f80d Related work items: containerd#8736, containerd#8861, containerd#8924, containerd#8934, containerd#9027, containerd#9076, containerd#9104, containerd#9118, containerd#9141, containerd#9155, containerd#9177, containerd#9183, containerd#9184, containerd#9186, containerd#9187, containerd#9191, containerd#9200, containerd#9205, containerd#9211, containerd#9214, containerd#9215, containerd#9221, containerd#9223, containerd#9228, containerd#9231, containerd#9234, containerd#9242, containerd#9246, containerd#9247, containerd#9251, containerd#9253, containerd#9254, containerd#9255, containerd#9268
Resolve #9202
This PR adds a new image label if it is docker schema 1. With the new label, users can find the docker schema1 usage by running
ctr imagesLocal Test