ffb6406a40
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
20 lines
649 B
ReStructuredText
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.
|