Skip to content

Add helm smoke test (versioning-strategy) - #547

Merged
robaiken merged 5 commits into
dependabot:mainfrom
casey-robertson-paypal:add-helm-smoke-test
Jul 13, 2026
Merged

Add helm smoke test (versioning-strategy)#547
robaiken merged 5 commits into
dependabot:mainfrom
casey-robertson-paypal:add-helm-smoke-test

Conversation

@casey-robertson-paypal

@casey-robertson-paypal casey-robertson-paypal commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

Adds a smoke test for the helm ecosystem, covering the versioning-strategy support that landed in dependabot-core (dependabot/dependabot-core#15218).

The fixture (helm/Chart.yaml) and recording (tests/smoke-helm.yaml) live in this repo, matching every other ecosystem's smoke test — no dependency on any contributor's personal repo or registry.

⚠️ Placeholder chart — maintainers please vet/pick

The fixture currently depends on metrics-server (kubernetes-sigs/metrics-server, hosted at https://kubernetes-sigs.github.io/metrics-server/). It was chosen as a deliberately safe placeholder: a large, stable, actively-maintained, GitHub-hosted chart with plain semver versions (no v-prefix, no OCI auth). Please swap it for whatever canonical test chart/registry you'd prefer to depend on long-term — the fixture header calls this out inline too.

What it exercises

A single caret-constrained dependency, verifying the headline versioning-strategy behavior — the operator is preserved rather than exact-pinned:

dependency constraint latest result
metrics-server ^3.0.0 3.13.1 ^3.13.1

This is the common one-requirement-per-chart case. If you'd like broader coverage (tilde, explicit ranges, exact pins) once the chart is settled, I'm happy to expand the fixture.

ℹ️ Bootstrap state — the smoke (helm) run here is live/uncached (by design)

Since this adds a brand-new ecosystem, there's no cache-helm artifact yet, so smoke (helm) runs uncached (same as how new-ecosystem PRs like #541/#483 bootstrap). To make that live fetch resolve the not-yet-on-main fixture, source.commit / base-commit-sha are pinned to this PR's fixture commit (reachable via refs/pull/547/head); I've verified locally that a fresh-cache run produces output byte-identical to the recording. The run currently passes because 3.13.1 is metrics-server's latest — if a newer version ships before merge it'll drift red until re-recorded.

Durable finish (maintainer, post-merge): run Cache One (package_manager: helm) to upload cache-helm, then Regenerate Test (test: helm) to re-pin source.commit to a real main commit. Happy to do any of this if I'm granted the access, or to adjust to whatever you prefer.

Companion

Matrix wiring is in dependabot/dependabot-core#15554 (adds {core: helm, test: helm, ecosystem: helm} to .github/smoke-matrix.json).

thavaahariharangit added a commit to dependabot/dependabot-core that referenced this pull request Jul 13, 2026
Wires the helm ecosystem into the smoke suite now that versioning-strategy
support landed (#15218). Pairs with the smoke-helm.yaml test in
dependabot/smoke-tests (dependabot/smoke-tests#547).

Co-authored-by: Hariharan Thavachelvam <164553783+thavaahariharangit@users.noreply.github.com>
@robaiken
robaiken merged commit 37a5461 into dependabot:main Jul 13, 2026
3 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.

2 participants