Skip to content

[CI] Test all available versions of the Helm Chart

Mitchell Nielsen requested to merge test-chart-versions into master

Summary

  • When testing, check the environment for CHART_VERSION. If it isn't set, then get the highest available version from the CHART_VERSIONS file.
  • In CI, unit test all available versions of the Chart (see docs on one-dimensional parallel jobs)

Closes #229 (closed)

Testing

To validate this is working, check one of the MR pipelines and look at the unit_tests or slow_unit_tests jobs. You'll see the following output in the logs before the testing starts:

testing with chart version 4.11.3

That version will be different for each instance of the job.

To try this locally, just set CHART_VERSION=x.y.z before running tests and you'll see the same output.

Edited by Mitchell Nielsen

Merge request reports