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 retrieving modules from a Bindle #8

Open
Shark opened this issue Aug 12, 2022 · 0 comments
Open

Add support for retrieving modules from a Bindle #8

Shark opened this issue Aug 12, 2022 · 0 comments

Comments

@Shark
Copy link
Owner

Shark commented Aug 12, 2022

There is not a single way of how Wasm modules are distributed. There are a lot of practical options because of their comparably small size. In Cloud-Native, OCI/Docker registries are a natural fit since they're required anyway for container images. Other viable options include the WebAssembly package manager WAPM that already serves WASI-compatible Wasm modules. Moreover, the Bindle project is another alternative that provides a modern infrastructure for distributing applications as a bunch of independent bundles with well-defined relationships between each of them.

Currently, this project only supports OCI registries and the format created by the wasm-to-oci tool (see roadmap). Other module sources can be represented in the invocation format without issue however:

- name: wasm
  plugin:
    wasm:
      module:
        # you would use one of these options
        oci: ghcr.io/someone/somemodule:latest    # already supported
        wapm: syrusakbary/[email protected]           # on the roadmap
        bindle: example.com/stuff/mybindle/v1.2.3 # on the roadmap
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 📋 Backlog
Development

No branches or pull requests

1 participant