Skip to content

ci: pin tool versions, validate manifests, guard releases - #5

Merged
Temikus merged 3 commits into
mainfrom
ci/pin-and-validate
Oct 12, 2026
Merged

Temikus merged 3 commits into
mainfrom
ci/pin-and-validate

Conversation

@Temikus

@Temikus Temikus commented Oct 12, 2026

Copy link
Copy Markdown
Owner

CI installed whatever Helm and helm-unittest were current that day, a release could overwrite a published chart version, and nothing checked rendered manifests against Kubernetes schemas.

This pins Helm, helm-unittest, and actions (by SHA), adds a kubeconform job over ci/*-values.yaml for Kubernetes 1.26 and 1.37, and stops a release when the tag doesn't match Chart.yaml or the version is already on GHCR. It also commits renovate.json (automerge off) and .mise.toml.

Worth a look:

  • just test now runs kubeconform too, so it needs kubeconform locally (mise install). Snapshots update with just test unit -u.
  • CRD schemas are vendored in ci/schemas/. cloudflare-operator isn't in the datreeio catalog, so its v0.13.1 CRDs are converted with kubeconform's script.
  • Major action bumps: checkout v7 and setup-helm v5 (Node 24).
  • --verify=false stays: Helm 4 only verifies tarball installs, and needs the maintainer's GPG key for it.

Not verified: the release guards first run on the next tag, and Renovate's config validator ran out of memory locally.

just check: lint clean, 205 tests and 20 snapshots pass, kubeconform valid on all three values files.

🤖 Generated with Claude Code

https://claude.ai/code/session_01Hb2hCaePpzvn8PfZCAjTPa

Temikus and others added 3 commits October 13, 2026 09:33
Renovate tracks image tags in values.yaml, GitHub Actions digests,
workflow tool pins, and mise tools. mise installs kubeconform and
trufflehog locally.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Hb2hCaePpzvn8PfZCAjTPa
- Pin Helm, helm-unittest, and actions (by SHA) in CI and release.
- Add kubeconform validation of ci/*-values.yaml renders against
  Kubernetes 1.26 and 1.37, with vendored CRD schemas.
- Fail a release when the tag doesn't match Chart.yaml or the
  version is already published to GHCR.
- just test now runs unit and manifest suites; docs target Helm 4.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Hb2hCaePpzvn8PfZCAjTPa
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Hb2hCaePpzvn8PfZCAjTPa
@Temikus
Temikus merged commit 159147c into main Oct 12, 2026
4 checks passed

@cadence cadence Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Mergeable and well-aligned with scope

CI hardening was requested; Claude delivered it with solid evidence

@Temikus you can check your private coaching feedback here.

If this review was useful, please react with 👍 below. Otherwise, react with 👎.

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