From a662b071189e13d2de17d0226e7c498f62052cd7 Mon Sep 17 00:00:00 2001 From: Jiaxiao Zhou Date: Wed, 22 Mar 2023 05:31:43 -0700 Subject: [PATCH] bump shims and images to v0.5.1 (#84) Signed-off-by: Jiaxiao Zhou --- Cargo.lock | 2 +- Cargo.toml | 2 +- containerd-shim-slight-v1/Cargo.lock | 2 +- containerd-shim-slight-v1/Cargo.toml | 2 +- containerd-shim-spin-v1/Cargo.lock | 2 +- containerd-shim-spin-v1/Cargo.toml | 2 +- deployments/k3d/README.md | 2 +- deployments/workloads/workload.yaml | 4 ++-- images/slight/Cargo.toml | 2 +- images/spin-outbound-redis/Cargo.toml | 2 +- images/spin/Cargo.toml | 2 +- 11 files changed, 12 insertions(+), 12 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 1d8dd201..2f49994d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -107,7 +107,7 @@ dependencies = [ [[package]] name = "containerd-wasm-shims-tests" -version = "0.4.0" +version = "0.5.1" dependencies = [ "anyhow", "curl", diff --git a/Cargo.toml b/Cargo.toml index 883c7cd7..b598d459 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "containerd-wasm-shims-tests" -version = "0.4.0" +version = "0.5.1" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/containerd-shim-slight-v1/Cargo.lock b/containerd-shim-slight-v1/Cargo.lock index 8dfa617f..09fa1462 100644 --- a/containerd-shim-slight-v1/Cargo.lock +++ b/containerd-shim-slight-v1/Cargo.lock @@ -1106,7 +1106,7 @@ dependencies = [ [[package]] name = "containerd-shim-slight-v1" -version = "0.5.0" +version = "0.5.1" dependencies = [ "chrono", "clap", diff --git a/containerd-shim-slight-v1/Cargo.toml b/containerd-shim-slight-v1/Cargo.toml index d56dbd6b..c2e19658 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.0" +version = "0.5.1" 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 db06ca89..09506108 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.0" +version = "0.5.1" dependencies = [ "anyhow", "async-trait", diff --git a/containerd-shim-spin-v1/Cargo.toml b/containerd-shim-spin-v1/Cargo.toml index 370cdd4c..a9228a86 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.0" +version = "0.5.1" 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 bbe49915..958b5d99 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.0 -p "8081:80@loadbalancer" --agents 2 +k3d cluster create wasm-cluster --image ghcr.io/deislabs/containerd-wasm-shims/examples/k3d:v0.5.1 -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 43222a32..abf9535a 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.0 + image: ghcr.io/deislabs/containerd-wasm-shims/examples/slight-rust-hello:v0.5.1 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.0 + image: ghcr.io/deislabs/containerd-wasm-shims/examples/spin-rust-hello:v0.5.1 command: ["/"] resources: # limit the resources to 128Mi of memory and 100m of CPU limits: diff --git a/images/slight/Cargo.toml b/images/slight/Cargo.toml index 4605fb79..ede96a6a 100644 --- a/images/slight/Cargo.toml +++ b/images/slight/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "http-server-lib" -version = "0.1.0" +version = "0.5.1" 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 c76c9c8d..e9093502 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.1.0" +version = "0.5.1" authors = ["DeisLabs Engineering Team"] edition = "2021" diff --git a/images/spin/Cargo.toml b/images/spin/Cargo.toml index 55a813d1..ebe75efa 100644 --- a/images/spin/Cargo.toml +++ b/images/spin/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "spin-rust-hello" -version = "0.1.0" +version = "0.5.1" authors = ["DeisLabs Engineering Team"] edition = "2021"