Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand All @@ -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:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

Expand Down
6 changes: 3 additions & 3 deletions charts/weir/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion charts/weir/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
6 changes: 3 additions & 3 deletions tests/test_chart.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
Loading