zuul-jobs/roles/chart-testing/README.rst
James E. Blair ffb6406a40 Move chart-testing to a role and disable version check
Move the chart-testing task to a role (so that it is easily
reconsumable) and update the default arguments to disable checking
for version bumps (instead, we expect to rely on setting the version
when building a release).

Change-Id: I85482dc704c189222c92fd4174f733382ebf69d1
2020-01-09 11:46:41 -08:00

20 lines
649 B
ReStructuredText

Run chart-testing (for helm charts)
**Role Variables**
.. zuul:rolevar:: zuul_work_dir
:default: {{ zuul.project.src_dir }}
The location of the main working directory of the job.
.. zuul:rolevar:: chart_testing_options
:default: --validate-maintainers=false --check-version-increment=false
Arguments passed to chart testing.
The defaults are suitable for a Zuul environment because
`validate-maintainers` requires a valid git remote (which is not
present in Zuul) and `check-version-increment` requires each commit
to have a new version; Zuul users are expected to set the version
when tagging/publishing a release.