Skip to content
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

feature: add support for OCI Artifacts (including GC) #455

Open
rchincha opened this issue Oct 21, 2022 · 1 comment
Open

feature: add support for OCI Artifacts (including GC) #455

rchincha opened this issue Oct 21, 2022 · 1 comment

Comments

@rchincha
Copy link
Contributor

https://github.com/opencontainers/image-spec/blob/main/artifact.md

How would garbage collect work in this case?

@cyphar
Copy link
Member

cyphar commented Mar 6, 2024

I suspect that the only thing that is necessary is to update image-spec to include the subject field, which is what allows artifacts to indicate the blob dependency graph that the GC should use. Because of how umoci implements blob walking (reflection), that should be enough. When this issue was opened IIRC there was no consensus around how references would work for artefacts, and the referrers API appears to be the solution that came out after all of that discussion.

Unfortunately, due to the fact that image-tools (and runtime-tools) is abandon-ware, we will first need to migrate the validation tools to umoci so that we can update the image-spec without failing CI.

(That being said, it seems that zot moved away from using umoci about a year ago... 😢)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants