diff --git a/containerd-shim-slight-v1/Cargo.lock b/containerd-shim-slight-v1/Cargo.lock index 5dec58a9..8ec5225d 100644 --- a/containerd-shim-slight-v1/Cargo.lock +++ b/containerd-shim-slight-v1/Cargo.lock @@ -1406,7 +1406,7 @@ dependencies = [ [[package]] name = "containerd-shim-slight-v1" -version = "0.5.1" +version = "0.6.0" dependencies = [ "chrono", "clap", diff --git a/containerd-shim-slight-v1/Cargo.toml b/containerd-shim-slight-v1/Cargo.toml index 6eefd17b..adb385b5 100644 --- a/containerd-shim-slight-v1/Cargo.toml +++ b/containerd-shim-slight-v1/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "containerd-shim-slight-v1" -version = "0.5.1" +version = "0.6.0" authors = ["DeisLabs Engineering Team"] edition = "2021" repository = 'https://github.com/deislabs/containerd-wasm-shims' diff --git a/containerd-shim-spin-v1/Cargo.lock b/containerd-shim-spin-v1/Cargo.lock index 72a5d9e9..207c4073 100644 --- a/containerd-shim-spin-v1/Cargo.lock +++ b/containerd-shim-spin-v1/Cargo.lock @@ -675,7 +675,7 @@ dependencies = [ [[package]] name = "containerd-shim-spin-v1" -version = "0.5.1" +version = "0.6.0" dependencies = [ "anyhow", "async-trait", diff --git a/containerd-shim-spin-v1/Cargo.toml b/containerd-shim-spin-v1/Cargo.toml index aa176315..0f137ede 100644 --- a/containerd-shim-spin-v1/Cargo.toml +++ b/containerd-shim-spin-v1/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "containerd-shim-spin-v1" -version = "0.5.1" +version = "0.6.0" authors = ["DeisLabs Engineering Team"] edition = "2021" repository = 'https://github.com/deislabs/containerd-wasm-shims' diff --git a/deployments/k3d/README.md b/deployments/k3d/README.md index 428cfddf..6a255f01 100644 --- a/deployments/k3d/README.md +++ b/deployments/k3d/README.md @@ -17,7 +17,7 @@ $ tree . ## How to run the example The shell script below will create a k3d cluster locally with the Wasm shims installed and containerd configured. The script then applies the runtime classes for the shims and an example service and deployment. Finally, we curl the `/hello` and receive a response from the example workload. ```shell -k3d cluster create wasm-cluster --image ghcr.io/deislabs/containerd-wasm-shims/examples/k3d:v0.5.1 -p "8081:80@loadbalancer" --agents 2 +k3d cluster create wasm-cluster --image ghcr.io/deislabs/containerd-wasm-shims/examples/k3d:v0.6.0 -p "8081:80@loadbalancer" --agents 2 kubectl apply -f https://github.com/deislabs/containerd-wasm-shims/raw/main/deployments/workloads/runtime.yaml kubectl apply -f https://github.com/deislabs/containerd-wasm-shims/raw/main/deployments/workloads/workload.yaml echo "waiting 5 seconds for workload to be ready" diff --git a/deployments/workloads/workload.yaml b/deployments/workloads/workload.yaml index abf9535a..ff2baa09 100644 --- a/deployments/workloads/workload.yaml +++ b/deployments/workloads/workload.yaml @@ -15,7 +15,7 @@ spec: runtimeClassName: wasmtime-slight containers: - name: slight-hello - image: ghcr.io/deislabs/containerd-wasm-shims/examples/slight-rust-hello:v0.5.1 + image: ghcr.io/deislabs/containerd-wasm-shims/examples/slight-rust-hello:v0.6.0 command: ["/"] resources: # limit the resources to 128Mi of memory and 100m of CPU limits: @@ -54,7 +54,7 @@ spec: runtimeClassName: wasmtime-spin containers: - name: spin-hello - image: ghcr.io/deislabs/containerd-wasm-shims/examples/spin-rust-hello:v0.5.1 + image: ghcr.io/deislabs/containerd-wasm-shims/examples/spin-rust-hello:v0.6.0 command: ["/"] resources: # limit the resources to 128Mi of memory and 100m of CPU limits: diff --git a/images/slight/Cargo.lock b/images/slight/Cargo.lock index 5117ce48..ad4faa6b 100644 --- a/images/slight/Cargo.lock +++ b/images/slight/Cargo.lock @@ -42,7 +42,7 @@ dependencies = [ [[package]] name = "http-server-lib" -version = "0.1.0" +version = "0.6.0" dependencies = [ "anyhow", "slight-http-handler-macro", diff --git a/images/slight/Cargo.toml b/images/slight/Cargo.toml index ede96a6a..c14b1f61 100644 --- a/images/slight/Cargo.toml +++ b/images/slight/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "http-server-lib" -version = "0.5.1" +version = "0.6.0" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/images/spin-outbound-redis/Cargo.toml b/images/spin-outbound-redis/Cargo.toml index e9093502..7c2e9ada 100644 --- a/images/spin-outbound-redis/Cargo.toml +++ b/images/spin-outbound-redis/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "spin-outbound-redis" -version = "0.5.1" +version = "0.6.0" authors = ["DeisLabs Engineering Team"] edition = "2021" @@ -11,7 +11,7 @@ crate-type = ["cdylib"] anyhow = "1" bytes = "1" http = "0.2" -spin-sdk = { git = "https://github.com/fermyon/spin", tag = "v1.0.0" } +spin-sdk = { git = "https://github.com/fermyon/spin", rev = "2f50f3e5db61bc68339882f903a283e8bc82185c" } wit-bindgen-rust = { git = "https://github.com/bytecodealliance/wit-bindgen", rev = "cb871cfa1ee460b51eb1d144b175b9aab9c50aba" } [workspace] diff --git a/images/spin/Cargo.toml b/images/spin/Cargo.toml index ebe75efa..56743f06 100644 --- a/images/spin/Cargo.toml +++ b/images/spin/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "spin-rust-hello" -version = "0.5.1" +version = "0.6.0" authors = ["DeisLabs Engineering Team"] edition = "2021" @@ -11,7 +11,7 @@ crate-type = ["cdylib"] anyhow = "1" bytes = "1" http = "0.2" -spin-sdk = { git = "https://github.com/fermyon/spin", tag = "v1.0.0" } +spin-sdk = { git = "https://github.com/fermyon/spin", rev = "2f50f3e5db61bc68339882f903a283e8bc82185c" } wit-bindgen-rust = { git = "https://github.com/bytecodealliance/wit-bindgen", rev = "cb871cfa1ee460b51eb1d144b175b9aab9c50aba" } [workspace]