Skip to content

ci: test installs and upgrades, gate the auto-release, modernise the matrix - #150

Merged
charliedowler merged 10 commits into
mainfrom
feature/spk-1080
Aug 17, 2026
Merged

ci: test installs and upgrades, gate the auto-release, modernise the matrix#150
charliedowler merged 10 commits into
mainfrom
feature/spk-1080

Conversation

@charliedowler

Copy link
Copy Markdown
Contributor

What this does

This PR makes chart CI rehearse what customers do, and it gates the auto-release on the result. It stacks on #149 and consumes its rehearsal harness.

Pull request testing (lint-and-test-charts.yml)

  • Every PR now runs a fresh-install rehearsal and an upgrade rehearsal (latest released chart → the PR's chart) on each matrix entry.
  • The matrix moves from EOL Kubernetes 1.21–1.23 to current kind images: v1.33.7, v1.34.3, v1.35.0.
  • Helm moves from 3.7.2 to 3.21.4. Actions move from 2021 versions to current pinned releases.
  • The automerge job is unchanged.

Release gating (ci-release.yml)

  • The auto-bump bot pushes releases straight to main many times a day. These releases shipped with zero testing.
  • A test job now runs the same install and upgrade rehearsals on push to main. The release job requires it. A red rehearsal stops the release.
  • A concurrency group queues racing pushes so releases stay ordered.

Known red until #147 lands

The upgrade rehearsal asserts zero dropped requests during the roll. Current main drops requests on a single-replica install because pods stop taking traffic without a pre-stop drain. PR #147 contains the fix. The upgrade test stays red until it lands. This is the gate working, not a flake.

Fresh installs on current main also need S3 settings the default values do not provide (SPK-1102). The rehearsal values provide them through an in-cluster MinIO, so the rehearsal installs succeed where the old ct install failed.

Notes

  • ct lint stays for chart linting. The unused ct-install config file is removed.
  • Version research: Kubernetes 1.33–1.35 are the three newest stable minors; kindest/node tags verified on Docker Hub; all action tags verified to exist.

Linear: SPK-1080

@linear-code

linear-code Bot commented Aug 17, 2026

Copy link
Copy Markdown

SPK-1080

@charliedowler
charliedowler changed the base branch from feature/spk-1101 to main August 17, 2026 20:29
@charliedowler
charliedowler force-pushed the feature/spk-1080 branch 2 times, most recently from 42f830a to 174a563 Compare August 17, 2026 20:39
…matrix

Test fresh chart installs and upgrades in CI.
Gate chart releases on the rehearsal test job.
Modernise the workflow action and tool versions.

Linear: SPK-1080
Observe the PostgreSQL endpoint and pod identity during each rehearsal.

Fail the gate if an upgrade replaces the bundled database pod.

Exercise the chart readiness defaults without an override.
@charliedowler
charliedowler marked this pull request as ready for review August 17, 2026 22:15
@charliedowler
charliedowler merged commit 6043388 into main Aug 17, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant