This repository contains Helm charts related to Lagoon.
See here.
Branch/fork and add/edit a chart in the charts/
directory.
When you create a PR your change will be automatically linted and tested.
PRs are not mergeable until lint + test passes.
Releases are automatically made for any change which is merged to main
.
lagoon-test
are automatically linted, installed, and tested.lagoon-test
is special since it is used purely for development and consists of test fixtures for the full Lagoon test suite.lagoon-core
, lagoon-remote
, or lagoon-test
trigger a second CI job which installs the three charts together and runs the full test suite.Please ensure that any new chart:
kind
, which is used in the CI environment.
You can add a ci/linter-values.yaml
file if necessary (example).templates/NOTES.txt
.README.md
with some basic information about the chart.The CI runs in a constrained environment which makes it a good place to test how your chart handles slow-starting pods. Ideally pods should never be killed due to failing probes during chart-install, even if they do eventually start and the chart installation succeeds. Documentation on probes for pod startup is here.
docker run --rm --interactive --detach --network host --name ct "--volume=$(pwd):/workdir" "--workdir=/workdir" --volume=$(pwd)/default.ct.yaml:/etc/ct/ct.yaml quay.io/helmpack/chart-testing:latest cat
docker exec ct git config --global --add safe.directory /workdir
docker exec ct ct lint
Prerequisite: install ct.
kind create cluster -n chart-testing
ct install --charts=charts/lagoon-logging
kind delete cluster -n chart-testing