Skip to content

Commit

Permalink
feat(push): allow pushing composed components to registry
Browse files Browse the repository at this point in the history
Signed-off-by: Brian H <[email protected]>
  • Loading branch information
fibonacci1729 committed Jan 31, 2025
1 parent 6571862 commit a77c25a
Show file tree
Hide file tree
Showing 7 changed files with 233 additions and 42 deletions.
7 changes: 7 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,12 @@ wasmtime = "25.0.3"
wasmtime-wasi = "25.0.0"
wasmtime-wasi-http = "25.0.0"

wasm-encoder = "0.217"
wasm-metadata = "0.217"
wasmparser = "0.217"
wit-component = "0.217"
wit-parser = "0.217"

spin-componentize = { path = "crates/componentize" }

[workspace.lints.clippy]
Expand Down
10 changes: 5 additions & 5 deletions crates/componentize/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ rust-version.workspace = true
[dependencies]
anyhow = { workspace = true }
tracing = { workspace = true }
wasm-encoder = "0.217"
wasm-metadata = "0.217"
wasmparser = "0.217"
wit-component = "0.217"
wit-parser = "0.217"
wasm-encoder = { workspace = true }
wasm-metadata = { workspace = true }
wasmparser = { workspace = true }
wit-component = { workspace = true }
wit-parser = { workspace = true }

[dev-dependencies]
async-trait = { workspace = true }
Expand Down
8 changes: 8 additions & 0 deletions crates/oci/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ edition = { workspace = true }
anyhow = { workspace = true }
async-compression = { version = "0.4", features = ["gzip", "tokio"] }
async-tar = "0.5"
async-trait = { workspace = true }
base64 = "0.22"
chrono = "0.4"
# Fork with updated auth to support ACR login
Expand All @@ -22,10 +23,17 @@ reqwest = "0.12"
serde = { workspace = true }
serde_json = { workspace = true }
spin-common = { path = "../common" }
spin-componentize = { path = "../componentize" }
spin-compose = { path = "../compose" }
spin-loader = { path = "../loader" }
spin-locked-app = { path = "../locked-app" }
tempfile = { workspace = true }
tokio = { workspace = true, features = ["fs"] }
tokio-util = { version = "0.7", features = ["compat"] }
tracing = { workspace = true }
walkdir = "2"

[dev-dependencies]
wasm-encoder = { workspace = true }
wit-component = { workspace = true, features = ["dummy-module"] }
wit-parser = { workspace = true }
Loading

0 comments on commit a77c25a

Please sign in to comment.