From 2b65e4d4b10e5db5ccebcb576a48c5ec5af3e8e3 Mon Sep 17 00:00:00 2001 From: Randy <857271370@qq.com> Date: Sun, 8 Nov 2026 13:06:02 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=8C=20chore:=20pin=20Weir=20v0.4.0=20a?= =?UTF-8?q?nd=20release=20chart=200.21.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 3b5fe94..0968f88 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@56b193a2252a299d8a1d8661c7fae25bb78c2518 + run: GOBIN="$PWD/.bin" go install github.com/batchstream/weir/cmd/weir@db27d25f0d80798f4e9277c24339d75e945cea62 - 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 ec2e10d..90f9d85 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@56b193a2252a299d8a1d8661c7fae25bb78c2518 + run: GOBIN="$PWD/.bin" go install github.com/batchstream/weir/cmd/weir@db27d25f0d80798f4e9277c24339d75e945cea62 - 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 112bad8..d7d6ce6 100644 --- a/README.md +++ b/README.md @@ -27,9 +27,9 @@ MongoDB and Search data plane, on Kubernetes. | Item | Version | | --- | --- | -| Chart | `0.20.0` | -| Server source | v0.3.0, [commit `56b193a2252a`](https://github.com/batchstream/weir/commit/56b193a2252a299d8a1d8661c7fae25bb78c2518) | -| Server image | `ghcr.io/batchstream/weir@sha256:6a84f2b3f3ff0776db0f01185d1b0e2cc108cf2e406fbc81b5824206106466b7` | +| 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` | | 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 b04e085..5e9d8c7 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.20.0 -appVersion: "56b193a2252a" +version: 0.21.0 +appVersion: "db27d25f0d80" annotations: - weir.batchstream.io/source-revision: "56b193a2252a299d8a1d8661c7fae25bb78c2518" + weir.batchstream.io/source-revision: "db27d25f0d80798f4e9277c24339d75e945cea62" 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 93028ef..b9c36e2 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:6a84f2b3f3ff0776db0f01185d1b0e2cc108cf2e406fbc81b5824206106466b7 + digest: sha256:07f07d339e1deff548d8d936561b3a47f585c78dbdefac31f18d420228f61567 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 b5902b5..bd88dc9 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 = "56b193a2252a299d8a1d8661c7fae25bb78c2518" - digest = "sha256:6a84f2b3f3ff0776db0f01185d1b0e2cc108cf2e406fbc81b5824206106466b7" + revision = "db27d25f0d80798f4e9277c24339d75e945cea62" + digest = "sha256:07f07d339e1deff548d8d936561b3a47f585c78dbdefac31f18d420228f61567" 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.20.0") + self.assertEqual(chart["version"], "0.21.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)