From 397924832f52849b46ec66d0a1692292b99b9971 Mon Sep 17 00:00:00 2001 From: jiaxiao zhou Date: Mon, 13 Nov 2023 23:27:49 +0000 Subject: [PATCH 1/2] chore(all): bump to 0.10.0 Signed-off-by: jiaxiao zhou --- Cargo.lock | 2 +- Cargo.toml | 2 +- containerd-shim-lunatic/Cargo.lock | 2 +- containerd-shim-lunatic/Cargo.toml | 2 +- containerd-shim-slight/Cargo.lock | 2 +- containerd-shim-slight/Cargo.toml | 2 +- containerd-shim-spin/Cargo.lock | 2 +- containerd-shim-spin/Cargo.toml | 2 +- containerd-shim-wws/Cargo.lock | 2 +- containerd-shim-wws/Cargo.toml | 2 +- deployments/k3d/README.md | 2 +- deployments/workloads/workload.yaml | 8 ++++---- images/slight/Cargo.toml | 2 +- images/spin-inbound-redis/Cargo.toml | 2 +- .../.spin/logs/keyvalue_stderr.txt | 0 .../.spin/logs/keyvalue_stdout.txt | 0 images/spin-keyvalue/user_data.db | Bin 0 -> 12288 bytes images/spin-outbound-redis/Cargo.toml | 2 +- images/spin/Cargo.toml | 2 +- 19 files changed, 19 insertions(+), 19 deletions(-) create mode 100644 images/spin-keyvalue/.spin/logs/keyvalue_stderr.txt create mode 100644 images/spin-keyvalue/.spin/logs/keyvalue_stdout.txt create mode 100644 images/spin-keyvalue/user_data.db diff --git a/Cargo.lock b/Cargo.lock index bdfc2c3a..28946571 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -175,7 +175,7 @@ dependencies = [ [[package]] name = "containerd-wasm-shims-tests" -version = "0.9.3" +version = "0.10.0" dependencies = [ "anyhow", "curl", diff --git a/Cargo.toml b/Cargo.toml index a80120e0..6bfee5ab 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,5 +1,5 @@ [workspace.package] -version = "0.9.3" +version = "0.10.0" edition = "2021" license = "Apache-2.0" readme = "README.md" diff --git a/containerd-shim-lunatic/Cargo.lock b/containerd-shim-lunatic/Cargo.lock index d15f323f..a9bdec48 100644 --- a/containerd-shim-lunatic/Cargo.lock +++ b/containerd-shim-lunatic/Cargo.lock @@ -583,7 +583,7 @@ dependencies = [ [[package]] name = "containerd-shim-lunatic-v1" -version = "0.9.3" +version = "0.10.0" dependencies = [ "anyhow", "chrono", diff --git a/containerd-shim-lunatic/Cargo.toml b/containerd-shim-lunatic/Cargo.toml index a8b17f1c..89d09921 100644 --- a/containerd-shim-lunatic/Cargo.toml +++ b/containerd-shim-lunatic/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "containerd-shim-lunatic-v1" -version = "0.9.3" +version = "0.10.0" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/containerd-shim-slight/Cargo.lock b/containerd-shim-slight/Cargo.lock index 3501d0e2..5b0dc877 100644 --- a/containerd-shim-slight/Cargo.lock +++ b/containerd-shim-slight/Cargo.lock @@ -1459,7 +1459,7 @@ dependencies = [ [[package]] name = "containerd-shim-slight-v1" -version = "0.9.3" +version = "0.10.0" dependencies = [ "anyhow", "containerd-shim-wasm", diff --git a/containerd-shim-slight/Cargo.toml b/containerd-shim-slight/Cargo.toml index 8c331a9e..fe08fabe 100644 --- a/containerd-shim-slight/Cargo.toml +++ b/containerd-shim-slight/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "containerd-shim-slight-v1" -version = "0.9.3" +version = "0.10.0" authors = ["DeisLabs Engineering Team"] edition = "2021" repository = 'https://github.com/deislabs/containerd-wasm-shims' diff --git a/containerd-shim-spin/Cargo.lock b/containerd-shim-spin/Cargo.lock index 88e2d798..af73718a 100644 --- a/containerd-shim-spin/Cargo.lock +++ b/containerd-shim-spin/Cargo.lock @@ -975,7 +975,7 @@ dependencies = [ [[package]] name = "containerd-shim-spin-v2" -version = "0.9.3" +version = "0.10.0" dependencies = [ "anyhow", "containerd-shim-wasm", diff --git a/containerd-shim-spin/Cargo.toml b/containerd-shim-spin/Cargo.toml index c34fbf1e..cb2471ac 100644 --- a/containerd-shim-spin/Cargo.toml +++ b/containerd-shim-spin/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "containerd-shim-spin-v2" -version = "0.9.3" +version = "0.10.0" authors = ["DeisLabs Engineering Team"] edition = "2021" repository = 'https://github.com/deislabs/containerd-wasm-shims' diff --git a/containerd-shim-wws/Cargo.lock b/containerd-shim-wws/Cargo.lock index 16247d27..dc840875 100644 --- a/containerd-shim-wws/Cargo.lock +++ b/containerd-shim-wws/Cargo.lock @@ -847,7 +847,7 @@ dependencies = [ [[package]] name = "containerd-shim-wws-v1" -version = "0.9.3" +version = "0.10.0" dependencies = [ "anyhow", "containerd-shim-wasm", diff --git a/containerd-shim-wws/Cargo.toml b/containerd-shim-wws/Cargo.toml index df2b8c99..1026dd5f 100644 --- a/containerd-shim-wws/Cargo.toml +++ b/containerd-shim-wws/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "containerd-shim-wws-v1" -version = "0.9.3" +version = "0.10.0" authors = ["Wasm Labs team "] edition = "2021" repository = 'https://github.com/deislabs/containerd-wasm-shims' diff --git a/deployments/k3d/README.md b/deployments/k3d/README.md index f41f1045..e88e9784 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.9.3 -p "8081:80@loadbalancer" --agents 2 +k3d cluster create wasm-cluster --image ghcr.io/deislabs/containerd-wasm-shims/examples/k3d:v0.10.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 382653f6..d515a702 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.9.3 + image: ghcr.io/deislabs/containerd-wasm-shims/examples/slight-rust-hello:v0.10.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.9.3 + image: ghcr.io/deislabs/containerd-wasm-shims/examples/spin-rust-hello:v0.10.0 command: ["/"] resources: # limit the resources to 128Mi of memory and 100m of CPU limits: @@ -93,7 +93,7 @@ spec: runtimeClassName: wasmtime-wws containers: - name: wws-hello - image: ghcr.io/deislabs/containerd-wasm-shims/examples/wws-js-hello:v0.9.3 + image: ghcr.io/deislabs/containerd-wasm-shims/examples/wws-js-hello:v0.10.0 command: ["/"] resources: # limit the resources to 128Mi of memory and 100m of CPU limits: @@ -132,7 +132,7 @@ spec: runtimeClassName: wasmtime-lunatic containers: - name: lunatic - image: ghcr.io/deislabs/containerd-wasm-shims/examples/lunatic-submillisecond:v0.9.3 + image: ghcr.io/deislabs/containerd-wasm-shims/examples/lunatic-submillisecond:v0.10.0 resources: # limit the resources to 128Mi of memory and 100m of CPU limits: cpu: 100m diff --git a/images/slight/Cargo.toml b/images/slight/Cargo.toml index e18b68a2..3a95cf4d 100644 --- a/images/slight/Cargo.toml +++ b/images/slight/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "http-server-lib" -version = "0.9.3" +version = "0.10.0" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/images/spin-inbound-redis/Cargo.toml b/images/spin-inbound-redis/Cargo.toml index f16eca66..5dfb4f7e 100644 --- a/images/spin-inbound-redis/Cargo.toml +++ b/images/spin-inbound-redis/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "spin-inbound-redis" -version = "0.9.3" +version = "0.10.0" authors = ["Suneet Nangia "] edition = "2021" diff --git a/images/spin-keyvalue/.spin/logs/keyvalue_stderr.txt b/images/spin-keyvalue/.spin/logs/keyvalue_stderr.txt new file mode 100644 index 00000000..e69de29b diff --git a/images/spin-keyvalue/.spin/logs/keyvalue_stdout.txt b/images/spin-keyvalue/.spin/logs/keyvalue_stdout.txt new file mode 100644 index 00000000..e69de29b diff --git a/images/spin-keyvalue/user_data.db b/images/spin-keyvalue/user_data.db new file mode 100644 index 0000000000000000000000000000000000000000..e48ceed18ce32273a674a295c2a31c5cd4de3fee GIT binary patch literal 12288 zcmeI$y-LGS6bJBoWBn?&5goFgMQET1;^<;hGKkS=j9{k_F@a#(Xq#HQif_=z@r_&@ zTpT?K1dPzux&9A1B!}Fu{K#_e)ukP0Aw}t+7i4rOwuO}9m`DhraISEcA^D+J7JSd^ zMWKlO=)IwS38gs|&8hmfr~}?Z00Izz00bZa0SG_<0uX?}zY%!Zlk1wU%h%N`xJ|<0 zL)`c8!-@YCB%@!I(s3=rv&b_{+oEbqYSn3W46}3)l4sp`bnb9o+je_idtLw!_V@P1 zV#%}}^T+t}Cb)1<&J4Fpr&gC*#p>F`lj<}3=ts($=IBzy{k!ma_?YlM-Va7uTGW0O z!#}9j`M!Q5|Dzh5QvDEoAs_$&2tWV=5P$##AOHafKmY;|SPlVI)^@d>C{244K3o{5 q<2rwrR6hk@2nav`0uX=z1Rwwb2tWV=5P$##mPcTVj{r8yBY Date: Mon, 13 Nov 2023 23:28:52 +0000 Subject: [PATCH 2/2] delete skin-keyvalue logs Signed-off-by: jiaxiao zhou --- .../.spin/logs/keyvalue_stderr.txt | 0 .../.spin/logs/keyvalue_stdout.txt | 0 images/spin-keyvalue/user_data.db | Bin 12288 -> 0 bytes 3 files changed, 0 insertions(+), 0 deletions(-) delete mode 100644 images/spin-keyvalue/.spin/logs/keyvalue_stderr.txt delete mode 100644 images/spin-keyvalue/.spin/logs/keyvalue_stdout.txt delete mode 100644 images/spin-keyvalue/user_data.db diff --git a/images/spin-keyvalue/.spin/logs/keyvalue_stderr.txt b/images/spin-keyvalue/.spin/logs/keyvalue_stderr.txt deleted file mode 100644 index e69de29b..00000000 diff --git a/images/spin-keyvalue/.spin/logs/keyvalue_stdout.txt b/images/spin-keyvalue/.spin/logs/keyvalue_stdout.txt deleted file mode 100644 index e69de29b..00000000 diff --git a/images/spin-keyvalue/user_data.db b/images/spin-keyvalue/user_data.db deleted file mode 100644 index e48ceed18ce32273a674a295c2a31c5cd4de3fee..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 12288 zcmeI$y-LGS6bJBoWBn?&5goFgMQET1;^<;hGKkS=j9{k_F@a#(Xq#HQif_=z@r_&@ zTpT?K1dPzux&9A1B!}Fu{K#_e)ukP0Aw}t+7i4rOwuO}9m`DhraISEcA^D+J7JSd^ zMWKlO=)IwS38gs|&8hmfr~}?Z00Izz00bZa0SG_<0uX?}zY%!Zlk1wU%h%N`xJ|<0 zL)`c8!-@YCB%@!I(s3=rv&b_{+oEbqYSn3W46}3)l4sp`bnb9o+je_idtLw!_V@P1 zV#%}}^T+t}Cb)1<&J4Fpr&gC*#p>F`lj<}3=ts($=IBzy{k!ma_?YlM-Va7uTGW0O z!#}9j`M!Q5|Dzh5QvDEoAs_$&2tWV=5P$##AOHafKmY;|SPlVI)^@d>C{244K3o{5 q<2rwrR6hk@2nav`0uX=z1Rwwb2tWV=5P$##mPcTVj{r8yBY