You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ci(helm): branch-driven publish with PR pre-flight version check
Restructures the chart publish workflow:
- Adds a release channel: pushes to release branch publish as
<chart-yaml-version>-release.<short-sha>, hidden from default
`helm install` (clients must pass --devel). Master keeps publishing
the on-disk version verbatim as stable.
- PRs touching deploy/helm/** now run a pre-flight version check that
fails if the on-disk Chart.yaml version was already published as a
stable release. Catches "I forgot to bump the version" before merge.
- Single combined job (was two): version-collision check uses curl HEAD
against the public chart URL, no AWS credentials needed, so it
applies identically on PRs (including from forks) and on push.
- index.yaml is regenerated from current bucket state on every publish
rather than --merge appended. This decouples cleanup from publish:
any S3 lifecycle rule that expires release-channel tarballs is
automatically reflected in the next published index.
- values.schema.json is now uploaded alongside the chart on stable
publishes, enabling IDE schema validation via `# yaml-language-server:
$schema=https://helm.appsmith.com/values.schema.json`.
- index.yaml gets short Cache-Control (max-age=60) so `helm repo update`
picks up new versions promptly even behind a CDN.
- Bumps Helm to v4.1.4 (was v3.6.3) and setup-helm to v4 (was v1).
- Switches HELM_S3_BUCKET / HELM_REPO_URL from secrets to repository
variables so the validate-version path works on fork PRs. Naming
matches what each value actually represents (bucket name vs. URL).
- Drops workflow_dispatch (re-runs from the Actions UI cover the rare
manual republish case) and the unused `helm repo add bitnami` step
(helm dep build resolves dependencies via Chart.yaml URLs).
0 commit comments