Skip to content

Ensure unit tests run against each chart version

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

Summary

  • Creates common functions to create mock GitLabs and CustomResourceAdapters
  • Ensures these common functions are reused
  • Ensures that chartVersions[0] calls are removed, instead checking the environment for CHART_VERSION (which will be set in each CI job configuration)

Prioritizing this now because we need to ensure we're testing against all available chart versions when the Charts pipeline creates the MR to update the CHART_VERSIONS file. As it stands, there are many cases where we only test against the latest version, which is insufficient.

Closes #484 (closed)

Edited by Mitchell Nielsen

Merge request reports

Loading