Skip to content

containerd/save: Export only present platform manifests#43966

Closed
thaJeztah wants to merge 1 commit into
moby:masterfrom
thaJeztah:containerd_export_convert
Closed

containerd/save: Export only present platform manifests#43966
thaJeztah wants to merge 1 commit into
moby:masterfrom
thaJeztah:containerd_export_convert

Conversation

@thaJeztah
Copy link
Copy Markdown
Member

- Description for the changelog

- A picture of a cute animal (not mandatory but encouraged)

Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
@thaJeztah thaJeztah added status/2-code-review area/images Image Service containerd-integration Issues and PRs related to containerd integration labels Aug 16, 2022
@thaJeztah thaJeztah added this to the v-next milestone Aug 16, 2022

// Create a new manifest which contains only the manifests we have in store.
srcRef := ref.String()
targetRef := srcRef + "-tmp-export"
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vvoland wondering if this needs a more unique name (in case two exports run simultaneously)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, definitely an unique name is needed here.

This is already done in rumpl#56 which also has a bit better implementation of finding out which manifest are present in the store.
Maybe we could hold on a bit with this one and then squash changes so that we don't diverge too much?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, yes, I could combine both in this PR

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Didn't realize that one was also updating the export code 😅

@thaJeztah thaJeztah marked this pull request as draft August 16, 2022 13:42
@thaJeztah
Copy link
Copy Markdown
Member Author

@rumpl
Copy link
Copy Markdown
Member

rumpl commented Apr 4, 2023

Closing this one, all the linked PRs are already upstreamed

@rumpl rumpl closed this Apr 4, 2023
@thaJeztah thaJeztah deleted the containerd_export_convert branch April 4, 2023 15:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/images Image Service containerd-integration Issues and PRs related to containerd integration status/2-code-review

Projects

Development

Successfully merging this pull request may close these issues.

3 participants