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

Add support for WASM OCI image in spin #164

Closed
wants to merge 4 commits into from

Conversation

jsturtevant
Copy link
Contributor

This is a draft PR that demonstrates how OCI artifacts could be used with a runtime that requires a configuration file. It seems spin is dependent on a file system layout which this PR re-creates based on the current way spin works with OCI. There might be a better approach with some changes to spin. Opening it up as it has been a common question. Open to ideas to make things better!

This PR requires changes to spin (todo: links issues in spin), containerd/runwasi#147 and containerd/containerd#9142 (being backported to containerd 1.6 and 1.7) which have the oci artifact support.

Signed-off-by: James Sturtevant <[email protected]>
Signed-off-by: James Sturtevant <[email protected]>
Signed-off-by: James Sturtevant <[email protected]>
Signed-off-by: James Sturtevant <[email protected]>
@jsturtevant
Copy link
Contributor Author

bumped this to use the new push feature in fermyon/spin#1882, once spin 2.0 comes out it will have the necessary changes required for the wasm OCI image support

@jsturtevant jsturtevant changed the title Oci artifacts for spin Add support for WASM OCI image in spin Oct 30, 2023
@jsturtevant
Copy link
Contributor Author

spin 2.0 merged in #177 so will refresh this soon 🥳

@jsturtevant
Copy link
Contributor Author

since so much changed, I just opened a new PR #180

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

Successfully merging this pull request may close these issues.

1 participant