Skip to content

Automatic versioning for common chart #338

@bosbaber

Description

@bosbaber

At the moment the automatic versioning scheme we are using works well for updating charts in general, but it falls apart in the case where we we make PRs to update the common chart.

The core issue is that since helm unittest cannot easily run unitests in library charts, we had to create separate charts dedicated to the purpose of testing the common library.

This task involves solving this problem by first doing some clean up work, and then by modifying the repository tooling so that it automatically updates the versions version references related to the common chart.

This task can be broken up into several steps.

  1. Rework the tests found in charts/tests/common0unittests so that the same functionality is tested in either charts/examples/singledeployment(needs to be created) or in the sibling multideployment folder.
  2. Modify the scripts under tooling to understand that whenever the common library is being updated, then the version references under charts/examples should be automatically updated as well when we patch the version.

This might not be the most elegant solution, so feel free to propose a different solution.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions