Run these checks before opening or updating a pull request:
pre-commit run --all-files
helm dependency build .
helm lint .
helm show chart .
helm show values .
helm dependency build test/fixtures/common-itsumi-fixture
helm template common-itsumi-fixture test/fixtures/common-itsumi-fixture --namespace common-itsumicommon.itsumi is a Helm library chart, so helm template common.itsumi .
is expected to fail with library charts are not installable. Use the fixture
application chart to validate rendered resources.
The starter template is a Copier template. To test it locally against this checkout:
tmpdir="$(mktemp -d)"
copier copy --trust --defaults --skip-tasks . "$tmpdir/starter-chart"
STARTER_CHART="$tmpdir/starter-chart" python -c 'from pathlib import Path; import os; p=Path(os.environ["STARTER_CHART"])/"Chart.yaml"; p.write_text(p.read_text().replace("repository: oci://ghcr.io/michaelw/charts", "repository: file://" + os.getcwd()))'
helm dependency build "$tmpdir/starter-chart"
helm lint "$tmpdir/starter-chart"
helm template common-itsumi-starter "$tmpdir/starter-chart" --namespace common-itsumiReleases are managed by Release Please using the Helm release strategy. Conventional Commit messages drive version bumps and changelog generation.
Existing release tags use the component-prefixed format, such as
common.itsumi-v0.5.1, and new releases should keep that format.
When Release Please creates a release, GitHub Actions:
- Validates that
Chart.yamlversion matches the Release Please version. - Builds chart dependencies.
- Packages the chart into
dist/common.itsumi-VERSION.tgz. - Pushes the chart to
oci://ghcr.io/michaelw/charts. - Uploads the chart package to the GitHub Release.
- Pulls and inspects the published chart from GHCR.
Use the parent namespace when pushing:
helm push dist/common.itsumi-VERSION.tgz oci://ghcr.io/michaelw/chartsUse the full chart reference when pulling, installing, or upgrading:
helm pull oci://ghcr.io/michaelw/charts/common.itsumi --version VERSION
helm install my-release oci://ghcr.io/michaelw/charts/common.itsumi --version VERSION
helm upgrade my-release oci://ghcr.io/michaelw/charts/common.itsumi --version VERSIONConsumer chart dependencies should use:
dependencies:
- name: common.itsumi
version: 0.5.x
repository: oci://ghcr.io/michaelw/chartsThe Release Please workflow uses michaelw-release-bot through
actions/create-github-app-token. The GitHub App must be installed on this
repository with read/write access for contents, issues, and pull requests.
Required repository secrets:
RELEASE_PLEASE_APP_CLIENT_IDRELEASE_PLEASE_APP_PRIVATE_KEY
Use the Test Published Chart workflow when you want to verify a chart
version that is already published. Pass the version without a leading v.