diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 9e74502..d096685 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -13,7 +13,7 @@ jobs: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - uses: actions/setup-go@40f1582b2485089dde7abd97c1529aa768e1baff # v5 with: - go-version: '1.27.3' + go-version: '1.27.4' cache: false - uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5 with: @@ -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@31656bc6d0d7247f222842ce8bd70988d6bdd72b + run: GOBIN="$PWD/.bin" go install github.com/batchstream/weir/cmd/weir@727f6003c4e05087b112a653bc412f0ba0004ab3 - 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 @@ -44,7 +44,7 @@ jobs: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - uses: actions/setup-go@40f1582b2485089dde7abd97c1529aa768e1baff # v5 with: - go-version: '1.27.3' + go-version: '1.27.4' cache: false - uses: azure/setup-helm@b9e51907a09c216f16ebe8536097933489208112 # v4.3.0 with: diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 3b323a0..28727f1 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -22,7 +22,7 @@ jobs: git merge-base --is-ancestor "$GITHUB_SHA" origin/main - uses: actions/setup-go@40f1582b2485089dde7abd97c1529aa768e1baff # v5 with: - go-version: '1.27.3' + go-version: '1.27.4' cache: false - uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5 with: @@ -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@31656bc6d0d7247f222842ce8bd70988d6bdd72b + run: GOBIN="$PWD/.bin" go install github.com/batchstream/weir/cmd/weir@727f6003c4e05087b112a653bc412f0ba0004ab3 - 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 259f48b..7672e3a 100644 --- a/README.md +++ b/README.md @@ -27,9 +27,9 @@ MongoDB and Search data plane, on Kubernetes. | Item | Version | | --- | --- | -| 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` | +| Chart | `0.23.0` | +| Server source | v0.4.2, [commit `727f6003c4e0`](https://github.com/batchstream/weir/commit/727f6003c4e05087b112a653bc412f0ba0004ab3) | +| Server image | `ghcr.io/batchstream/weir@sha256:885f052ba31943409a99b442ca74aa02a75665e439f98887684fcd2568c1ce05` | | 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 @@ -47,7 +47,7 @@ validation and release workflows install that exact source with `go install`. | Collections and indices | Must exist before typed reads and mutations. | | Network | The application port uses plaintext HTTP/2. Use an isolated network and a CNI that enforces NetworkPolicy. | | Optional | Prometheus Operator for monitoring. KEDA for autoscaling. | -| Development | Go 1.27.3 and Python 3, to run the chart tests. | +| Development | Go 1.27.4 and Python 3, to run the chart tests. | ## Quick start diff --git a/charts/weir/Chart.yaml b/charts/weir/Chart.yaml index cc881dd..c5449bb 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.22.0 -appVersion: "31656bc6d0d7" +version: 0.23.0 +appVersion: "727f6003c4e0" annotations: - weir.batchstream.io/source-revision: "31656bc6d0d7247f222842ce8bd70988d6bdd72b" + weir.batchstream.io/source-revision: "727f6003c4e05087b112a653bc412f0ba0004ab3" 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 5d08a55..bd2a691 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:d12d95076ce756ffbb07286c135e67acbd3bb58c15b89a12b74fecbc1c4ced15 + digest: sha256:885f052ba31943409a99b442ca74aa02a75665e439f98887684fcd2568c1ce05 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 a53c252..84f6771 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 = "31656bc6d0d7247f222842ce8bd70988d6bdd72b" - digest = "sha256:d12d95076ce756ffbb07286c135e67acbd3bb58c15b89a12b74fecbc1c4ced15" + revision = "727f6003c4e05087b112a653bc412f0ba0004ab3" + digest = "sha256:885f052ba31943409a99b442ca74aa02a75665e439f98887684fcd2568c1ce05" 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.22.0") + self.assertEqual(chart["version"], "0.23.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)