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

Spike: Package to OCI spec POC #1326

Closed
Madeline-UX opened this issue Feb 1, 2023 · 7 comments · Fixed by #1423
Closed

Spike: Package to OCI spec POC #1326

Madeline-UX opened this issue Feb 1, 2023 · 7 comments · Fixed by #1423
Assignees
Labels
enhancement ✨ New feature or request
Milestone

Comments

@Madeline-UX
Copy link
Contributor

Madeline-UX commented Feb 1, 2023

Problem Statement: How should the OCI layer or layers be constructed and how are they built?

Specific Questions:

  1. How do you construct an OCI layer and make it so that you can add it to a registry and get it back a registry without using external tools?

  2. How will the current Zarf package be structured into a layer or layers?

  3. How do we get a generic structure of tarballs into an OCI spec?

Acceptance Criteria:

  • Demonstrate building a raw OCI layer.
  • Package the OCI layer(s) in a way to interface with OCI formats
  • Come up with options for the Zarf package data in a repeatable and compatible way with existing OCI meta data.
@wirewc
Copy link
Contributor

wirewc commented Feb 2, 2023

@wirewc
Copy link
Contributor

wirewc commented Feb 2, 2023

After speaking with @YrrepNoj, it looks like their prior experience plus a reference to this project may help provide the necessary guidance.

https://github.com/oras-project/oras-go

@wirewc
Copy link
Contributor

wirewc commented Feb 10, 2023

Touching this for an update:
@Noxsios is doing the work on the spike in this branch: https://github.com/defenseunicorns/zarf/tree/features/oci-publish

We should be merging it soon with either the other feature branch or in main pending comfort with the current state.

@Racer159
Copy link
Contributor

@Noxsios / @wirewc / @YrrepNoj is this basically done or was there more to explore?

@Racer159
Copy link
Contributor

@Noxsios can you add info to this and close?

@wirewc
Copy link
Contributor

wirewc commented Feb 28, 2023

@Racer159 yes, the spike is handled by the branches that needed be merged between features/oci-package and features/oci-publish.

The spike included looking at Oras for the packaging by @Noxsios.
While @YrrepNoj was addressing the package structure.

Pending their feeling, I feel this spike should be closed.

@Racer159
Copy link
Contributor

This will be closed by the ADR for the OCI PR

@github-project-automation github-project-automation bot moved this from New Requests to Done in Zarf Project Board Mar 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement ✨ New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants