diff --git a/CHANGELOG.md b/CHANGELOG.md index 44312641..885c1533 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,12 +4,14 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), ## [Unreleased] +## [v0.18.0] - 2025-01-14 + ### Changed - Bump Spin dependencies to v3.1.2 ([#263](https://github.com/spinkube/containerd-shim-spin/pull/263)) - Updated the minimum required Rust version to 1.81 -## [v0.17.0](https://github.com/spinkube/containerd-shim-spin/releases/tag/v0.17.0) - 2024-11-08 +## [v0.17.0] - 2024-11-08 ### Added @@ -26,7 +28,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), - FIxed CI errors due to old versions of Go and TinyGo and disk pressure ([#217](https://github.com/spinkube/containerd-shim-spin/pull/217)) -## [v0.16.0](https://github.com/spinkube/containerd-shim-spin/releases/tag/v0.16.0) - 2024-10-04 +## [v0.16.0] - 2024-10-04 ### Added @@ -51,6 +53,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), --- -[Unreleased]: +[Unreleased]: +[v0.18.0]: [v0.17.0]: https://github.com/spinkube/containerd-shim-spin/compare/v0.16.0...v0.17.0 [v0.16.0]: https://github.com/spinkube/containerd-shim-spin/compare/v0.15.1...v0.16.0 diff --git a/Cargo.lock b/Cargo.lock index 219ebf05..b4b4e42a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1869,7 +1869,7 @@ dependencies = [ [[package]] name = "containerd-shim-spin-tests" -version = "0.17.0" +version = "0.18.0" dependencies = [ "anyhow", "curl", @@ -1880,7 +1880,7 @@ dependencies = [ [[package]] name = "containerd-shim-spin-v2" -version = "0.17.0" +version = "0.18.0" dependencies = [ "anyhow", "containerd-shim", @@ -7088,7 +7088,7 @@ dependencies = [ [[package]] name = "shim-conformance-tests" -version = "0.17.0" +version = "0.18.0" dependencies = [ "anyhow", "conformance-tests", diff --git a/Cargo.toml b/Cargo.toml index 0b81467d..a72c6c8e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,5 +1,5 @@ [workspace.package] -version = "0.17.0" +version = "0.18.0" edition = "2021" license = "Apache-2.0" readme = "README.md" diff --git a/README.md b/README.md index 0bbe7ea4..c834aa2b 100644 --- a/README.md +++ b/README.md @@ -18,9 +18,9 @@ This project aims to provide the [containerd shim](https://github.com/containerd Below is a table for referencing the version of the Spin runtime used in each `containerd-shim-spin` release. -| **shim version** | v0.12.0 | v0.13.0 | v0.14.0 | v0.14.1 | v0.15.0 | v0.15.1 | v0.16.0 | v0.17.0 | -| ---------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | --- | --- | -| **spin** | [v2.2.0](https://github.com/fermyon/spin/releases/tag/v2.2.0) | [v2.3.1](https://github.com/fermyon/spin/releases/tag/v2.3.1) | [v2.4.2](https://github.com/fermyon/spin/releases/tag/v2.4.2) | [v2.4.3](https://github.com/fermyon/spin/releases/tag/v2.4.3) | [v2.6.0](https://github.com/fermyon/spin/releases/tag/v2.6.0) | [v2.6.0](https://github.com/fermyon/spin/releases/tag/v2.6.0) | [v2.6.0](https://github.com/fermyon/spin/releases/tag/v2.6.0) | [v3.0.0](https://github.com/fermyon/spin/releases/tag/v3.0.0) | +| **shim version** | v0.12.0 | v0.13.0 | v0.14.0 | v0.14.1 | v0.15.0 | v0.15.1 | v0.16.0 | v0.17.0 | v0.18.0 | +| ---------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | --- | --- | --- | +| **spin** | [v2.2.0](https://github.com/fermyon/spin/releases/tag/v2.2.0) | [v2.3.1](https://github.com/fermyon/spin/releases/tag/v2.3.1) | [v2.4.2](https://github.com/fermyon/spin/releases/tag/v2.4.2) | [v2.4.3](https://github.com/fermyon/spin/releases/tag/v2.4.3) | [v2.6.0](https://github.com/fermyon/spin/releases/tag/v2.6.0) | [v2.6.0](https://github.com/fermyon/spin/releases/tag/v2.6.0) | [v2.6.0](https://github.com/fermyon/spin/releases/tag/v2.6.0) | [v3.0.0](https://github.com/fermyon/spin/releases/tag/v3.0.0) | [v3.1.2](https://github.com/fermyon/spin/releases/tag/v3.1.2) | ## Documentation diff --git a/containerd-shim-spin/quickstart.md b/containerd-shim-spin/quickstart.md index dfb7b2ea..b51bd660 100644 --- a/containerd-shim-spin/quickstart.md +++ b/containerd-shim-spin/quickstart.md @@ -14,7 +14,7 @@ Before you begin, you need to have the following installed: Start a k3d cluster with the wasm shims already installed: ```bash -k3d cluster create wasm-cluster --image ghcr.io/spinkube/containerd-shim-spin/k3d:v0.17.0 -p "8081:80@loadbalancer" --agents 2 --registry-create mycluster-registry:12345 +k3d cluster create wasm-cluster --image ghcr.io/spinkube/containerd-shim-spin/k3d:v0.18.0 -p "8081:80@loadbalancer" --agents 2 --registry-create mycluster-registry:12345 ``` Apply RuntimeClass for spin applications to use the spin wasm shim: diff --git a/deployments/k3d/README.md b/deployments/k3d/README.md index dad93c5b..d0256be9 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 Spin shim installed and containerd configured. The script then applies the runtime classes for the shim 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/spinkube/containerd-shim-spin/k3d:v0.17.0 -p "8081:80@loadbalancer" --agents 2 +k3d cluster create wasm-cluster --image ghcr.io/spinkube/containerd-shim-spin/k3d:v0.18.0 -p "8081:80@loadbalancer" --agents 2 kubectl apply -f https://github.com/spinkube/containerd-shim-spin/raw/main/deployments/workloads/runtime.yaml kubectl apply -f https://github.com/spinkube/containerd-shim-spin/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 5855408e..e2bda230 100644 --- a/deployments/workloads/workload.yaml +++ b/deployments/workloads/workload.yaml @@ -15,7 +15,7 @@ spec: runtimeClassName: wasmtime-spin containers: - name: spin-hello - image: ghcr.io/spinkube/containerd-shim-spin/examples/spin-rust-hello:v0.17.0 + image: ghcr.io/spinkube/containerd-shim-spin/examples/spin-rust-hello:v0.18.0 command: ["/"] resources: # limit the resources to 128Mi of memory and 100m of CPU limits: diff --git a/images/spin-dapr/README.md b/images/spin-dapr/README.md index ab983ad2..6af5e29f 100644 --- a/images/spin-dapr/README.md +++ b/images/spin-dapr/README.md @@ -18,7 +18,7 @@ sudo mv ./spin /usr/local/bin/ ### Run example with K3d: ```sh # start the K3d cluster -k3d cluster create wasm-cluster --image ghcr.io/spinkube/containerd-shim-spin/k3d:v0.17.0 -p "8081:80@loadbalancer" +k3d cluster create wasm-cluster --image ghcr.io/spinkube/containerd-shim-spin/k3d:v0.18.0 -p "8081:80@loadbalancer" # Install Dapr dapr init -k --wait # or via helm diff --git a/images/spin-keyvalue/Cargo.lock b/images/spin-keyvalue/Cargo.lock index 186a331c..de433744 100644 --- a/images/spin-keyvalue/Cargo.lock +++ b/images/spin-keyvalue/Cargo.lock @@ -355,7 +355,7 @@ dependencies = [ [[package]] name = "spin-keyvalue" -version = "0.17.0" +version = "0.18.0" dependencies = [ "anyhow", "http", diff --git a/images/spin-keyvalue/Cargo.toml b/images/spin-keyvalue/Cargo.toml index a6a855bb..36c8b45e 100644 --- a/images/spin-keyvalue/Cargo.toml +++ b/images/spin-keyvalue/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "spin-keyvalue" -version = "0.17.0" +version = "0.18.0" authors = ["SpinKube Engineering Team"] edition = "2021" diff --git a/images/spin-multi-trigger-app/spin-http-trigger/Cargo.lock b/images/spin-multi-trigger-app/spin-http-trigger/Cargo.lock index 96690262..5666a797 100644 --- a/images/spin-multi-trigger-app/spin-http-trigger/Cargo.lock +++ b/images/spin-multi-trigger-app/spin-http-trigger/Cargo.lock @@ -355,7 +355,7 @@ dependencies = [ [[package]] name = "spin-http-trigger" -version = "0.17.0" +version = "0.18.0" dependencies = [ "anyhow", "spin-sdk", diff --git a/images/spin-multi-trigger-app/spin-http-trigger/Cargo.toml b/images/spin-multi-trigger-app/spin-http-trigger/Cargo.toml index f85f9829..dfaaf9a1 100644 --- a/images/spin-multi-trigger-app/spin-http-trigger/Cargo.toml +++ b/images/spin-multi-trigger-app/spin-http-trigger/Cargo.toml @@ -2,7 +2,7 @@ name = "spin-http-trigger" authors = ["Rajat Jindal "] description = "" -version = "0.17.0" +version = "0.18.0" edition = "2021" [lib] diff --git a/images/spin-multi-trigger-app/spin-redis-trigger/Cargo.lock b/images/spin-multi-trigger-app/spin-redis-trigger/Cargo.lock index 1e7caa11..9c2cf5a3 100644 --- a/images/spin-multi-trigger-app/spin-redis-trigger/Cargo.lock +++ b/images/spin-multi-trigger-app/spin-redis-trigger/Cargo.lock @@ -369,7 +369,7 @@ dependencies = [ [[package]] name = "spin-redis-trigger" -version = "0.17.0" +version = "0.18.0" dependencies = [ "anyhow", "bytes", diff --git a/images/spin-multi-trigger-app/spin-redis-trigger/Cargo.toml b/images/spin-multi-trigger-app/spin-redis-trigger/Cargo.toml index def62e32..b379cc30 100644 --- a/images/spin-multi-trigger-app/spin-redis-trigger/Cargo.toml +++ b/images/spin-multi-trigger-app/spin-redis-trigger/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "spin-redis-trigger" -version = "0.17.0" +version = "0.18.0" authors = ["Suneet Nangia "] edition = "2021" diff --git a/images/spin-outbound-redis/Cargo.lock b/images/spin-outbound-redis/Cargo.lock index 8b196b24..3cb07ad0 100644 --- a/images/spin-outbound-redis/Cargo.lock +++ b/images/spin-outbound-redis/Cargo.lock @@ -368,7 +368,7 @@ dependencies = [ [[package]] name = "spin-outbound-redis" -version = "0.17.0" +version = "0.18.0" dependencies = [ "anyhow", "bytes", diff --git a/images/spin-outbound-redis/Cargo.toml b/images/spin-outbound-redis/Cargo.toml index f1203c85..102e4937 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.17.0" +version = "0.18.0" authors = ["SpinKube Engineering Team"] edition = "2021" diff --git a/images/spin/Cargo.lock b/images/spin/Cargo.lock index aac86aff..50ddb25a 100644 --- a/images/spin/Cargo.lock +++ b/images/spin/Cargo.lock @@ -368,7 +368,7 @@ dependencies = [ [[package]] name = "spin-rust-hello" -version = "0.17.0" +version = "0.18.0" dependencies = [ "anyhow", "http", diff --git a/images/spin/Cargo.toml b/images/spin/Cargo.toml index 50819685..02d55bad 100644 --- a/images/spin/Cargo.toml +++ b/images/spin/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "spin-rust-hello" -version = "0.17.0" +version = "0.18.0" authors = ["SpinKube Engineering Team"] edition = "2021"