Skip to content

ci: publish helm wrapper chart via web-app-serve-action v0.2.0#23

Merged
thenav56 merged 3 commits into
developfrom
feat/web-app-serve-helm
Jul 17, 2026
Merged

ci: publish helm wrapper chart via web-app-serve-action v0.2.0#23
thenav56 merged 3 commits into
developfrom
feat/web-app-serve-helm

Conversation

@thenav56

@thenav56 thenav56 commented Jul 17, 2026

Copy link
Copy Markdown
Member

Changes

The docker web-app-serve path already shipped upstream; this PR adds the K8s
deploy path (helm wrapper chart) and upgrades the publish workflow accordingly.

ci: — publish helm wrapper chart via web-app-serve-action@v0.2.0

  • Workflow renamed publish-web-app-serve.ymlhelm-publish.yaml; action bumped v0.1.1v0.2.0 (helm-capable; helm_publish: true).
  • Permissions widened: added contents: read + pull-requests: read (the provenance writer resolves the PR from the commit); kept packages: write and submodules: true (the backend submodule).
  • New wrapper chart web-app-serve/helm/ (ercs-cms-helm), depending on oci://ghcr.io/toggle-corp/web-app-serve-helm:0.2.1 aliased app. CI stamps image name/tag + provenance annotations and pushes the chart to GHCR on every develop push: oci://ghcr.io/toggle-corp/ercs-cms-helm, version 0.0.1-develop.c<sha>.

Verification

  • Local helm check (mirrors CI's smoke render): helm dependency update + helm lint + helm template (with app.ingress.hostname/ingressClassName/image.name set) all pass; Ingress + provenance labels render as expected.
  • The docker-compose §9 checks were completed upstream when the docker path shipped; they were not re-run here (no app-side changes in this PR).

TODO before/after merge

  • Remove the temporary feat/web-app-serve-helm entry from on.push.branches in .github/workflows/helm-publish.yaml — it exists only to test the publish workflow end-to-end on this branch (publishes to ghcr.io/toggle-corp/ercs-cms-dev / ercs-cms-dev-helm because of the slash in the branch name).

Notes for deployers

  • Consume the wrapper chart at the CI-stamped helm_target_revision; all overrides nest under app: (image.{name,tag} are already baked in by CI). Supply app.ingress.hostname / app.ingress.ingressClassName at deploy time.
  • Pre-existing stock APP_ apply-config caveat (unchanged by this PR, upstream FIXME): the base image's stock script has no sed-metachar escaping and no blank-unfilled step — avoid &/| in runtime APP_* values and set every APP_* var explicitly ("" to opt out) so unset vars don't leak their literal placeholder.

thenav56 added 3 commits July 17, 2026 20:43
Bump the publish action to the helm-capable v0.2.0 and add a thin
wrapper chart (web-app-serve/helm) that CI resolves and publishes to
GHCR alongside the image. The wrapper depends on the pinned
web-app-serve-helm base chart (aliased app) with image name/tag and
ingress annotations stamped in by CI.

- Rename publish-web-app-serve.yml -> helm-publish.yaml (now also
  publishes the chart).
- Grant contents: read and pull-requests: read (provenance writer needs
  the PR lookup); keep packages: write and submodules: true.
- Add helm_publish: true explicitly.
- Add a temporary feat/web-app-serve-helm push trigger to test the
  integration end-to-end (to be removed after merge).
@thenav56
thenav56 force-pushed the feat/web-app-serve-helm branch from 3ff564d to 8015a54 Compare July 17, 2026 14:59
@thenav56
thenav56 merged commit 0fe634f into develop Jul 17, 2026
3 checks passed
@thenav56
thenav56 deleted the feat/web-app-serve-helm branch July 17, 2026 15:05
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