From e6b592c81613d68dec179775d786ecc205ee203b Mon Sep 17 00:00:00 2001 From: Randy <857271370@qq.com> Date: Tue, 10 Nov 2026 13:06:48 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=8C=20chore:=20pin=20Weir=20v0.4.1=20a?= =?UTF-8?q?nd=20release=20chart=200.22.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/ci.yaml | 2 +- .github/workflows/release.yaml | 2 +- README.md | 6 +++--- charts/weir/Chart.yaml | 6 +++--- charts/weir/values.yaml | 2 +- tests/test_chart.py | 6 +++--- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 0968f88..9e74502 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -23,7 +23,7 @@ jobs: version: v3.17.0 - run: pip install -r requirements-dev.txt - name: Install the Weir contract validator - run: GOBIN="$PWD/.bin" go install github.com/batchstream/weir/cmd/weir@db27d25f0d80798f4e9277c24339d75e945cea62 + run: GOBIN="$PWD/.bin" go install github.com/batchstream/weir/cmd/weir@31656bc6d0d7247f222842ce8bd70988d6bdd72b - name: Install promtool run: | curl -fsSLo "$RUNNER_TEMP/prometheus.tar.gz" https://github.com/prometheus/prometheus/releases/download/v3.15.1/prometheus-3.15.1.linux-amd64.tar.gz diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 90f9d85..3b323a0 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -32,7 +32,7 @@ jobs: version: v3.17.0 - run: pip install -r requirements-dev.txt - name: Install the Weir contract validator - run: GOBIN="$PWD/.bin" go install github.com/batchstream/weir/cmd/weir@db27d25f0d80798f4e9277c24339d75e945cea62 + run: GOBIN="$PWD/.bin" go install github.com/batchstream/weir/cmd/weir@31656bc6d0d7247f222842ce8bd70988d6bdd72b - name: Install promtool run: | curl -fsSLo "$RUNNER_TEMP/prometheus.tar.gz" https://github.com/prometheus/prometheus/releases/download/v3.15.1/prometheus-3.15.1.linux-amd64.tar.gz diff --git a/README.md b/README.md index d7d6ce6..259f48b 100644 --- a/README.md +++ b/README.md @@ -27,9 +27,9 @@ MongoDB and Search data plane, on Kubernetes. | Item | Version | | --- | --- | -| Chart | `0.21.0` | -| Server source | v0.4.0, [commit `db27d25f0d80`](https://github.com/batchstream/weir/commit/db27d25f0d80798f4e9277c24339d75e945cea62) | -| Server image | `ghcr.io/batchstream/weir@sha256:07f07d339e1deff548d8d936561b3a47f585c78dbdefac31f18d420228f61567` | +| Chart | `0.22.0` | +| Server source | v0.4.1, [commit `31656bc6d0d7`](https://github.com/batchstream/weir/commit/31656bc6d0d7247f222842ce8bd70988d6bdd72b) | +| Server image | `ghcr.io/batchstream/weir@sha256:d12d95076ce756ffbb07286c135e67acbd3bb58c15b89a12b74fecbc1c4ced15` | | Go SDK | [weir-go](https://github.com/batchstream/weir-go) v0.24.1 | `Chart.yaml` records the server source and `values.yaml` pins the image. Both the diff --git a/charts/weir/Chart.yaml b/charts/weir/Chart.yaml index 5e9d8c7..cc881dd 100644 --- a/charts/weir/Chart.yaml +++ b/charts/weir/Chart.yaml @@ -2,10 +2,10 @@ apiVersion: v2 name: weir description: Synchronous MongoDB and Search data plane type: application -version: 0.21.0 -appVersion: "db27d25f0d80" +version: 0.22.0 +appVersion: "31656bc6d0d7" annotations: - weir.batchstream.io/source-revision: "db27d25f0d80798f4e9277c24339d75e945cea62" + weir.batchstream.io/source-revision: "31656bc6d0d7247f222842ce8bd70988d6bdd72b" kubeVersion: ">=1.30.0-0" home: https://github.com/batchstream/weir sources: diff --git a/charts/weir/values.yaml b/charts/weir/values.yaml index b9c36e2..5d08a55 100644 --- a/charts/weir/values.yaml +++ b/charts/weir/values.yaml @@ -6,7 +6,7 @@ nameOverride: "" fullnameOverride: "" image: repository: ghcr.io/batchstream/weir - digest: sha256:07f07d339e1deff548d8d936561b3a47f585c78dbdefac31f18d420228f61567 + digest: sha256:d12d95076ce756ffbb07286c135e67acbd3bb58c15b89a12b74fecbc1c4ced15 pullPolicy: IfNotPresent imagePullSecrets: [] # Weir Store definitions; backends and credentials are provisioned separately. diff --git a/tests/test_chart.py b/tests/test_chart.py index bd88dc9..a53c252 100644 --- a/tests/test_chart.py +++ b/tests/test_chart.py @@ -519,11 +519,11 @@ def test_runtime_logging_failures_still_reap_child_and_check_ports(self): listener.__exit__.assert_called_once() def test_chart_identity_matches_pinned_image(self): - revision = "db27d25f0d80798f4e9277c24339d75e945cea62" - digest = "sha256:07f07d339e1deff548d8d936561b3a47f585c78dbdefac31f18d420228f61567" + revision = "31656bc6d0d7247f222842ce8bd70988d6bdd72b" + digest = "sha256:d12d95076ce756ffbb07286c135e67acbd3bb58c15b89a12b74fecbc1c4ced15" chart = yaml.safe_load((ROOT / "charts/weir/Chart.yaml").read_text()) values = yaml.safe_load((ROOT / "charts/weir/values.yaml").read_text()) - self.assertEqual(chart["version"], "0.21.0") + self.assertEqual(chart["version"], "0.22.0") self.assertEqual(chart["annotations"]["weir.batchstream.io/source-revision"], revision) self.assertEqual(values["image"]["repository"], "ghcr.io/batchstream/weir") self.assertEqual(values["image"]["digest"], digest)