Add presets / surts to test the workload-team-defs HelmRelease

What it does

  • Add the testing of the presets (aka SylvaUnitsReleaseTemplates - SURT) in the CI

Details

Background: what is a preset / SURT

A SURT is a subset of what is required to define a SylvaUnitsRelease and are consumed by the SylvaWorkloadCluster (SWC) user in the SWC CRD operator. They can be

  • Composed (the SWC CRD has a surt list field)
  • Overridden (the SWC user defined values have more priority)

Tests which are enabled by the present MR

It enables the CI to test the creation (by the workload-team-defs HelmRelease) of

  • SURT global to all teams (such a SURT is duplicated in each team namespace)
  • SURT specific to teams (such a SURT only exists in the team namespace)

Possible Impacts on other MR / tests (none)

The MR which brings the creation of workload clusters in the CI (link) currently does not rely on the workload team defs results. In addition, in the team repo, there is no workload cluster definition. Therefore, the present MR is not impacting workload cluster tests relying on operator.

To enforce the fact that the present code is not used to actually deploy a workload cluster (and to ease its modification), no Sylva source version is defined to ensure a quick failure if attempted to used

References

Closes #18 (closed)

Edited by vladimir braquet

Merge request reports

Loading