Integration tests pulling from remote cluster-stacks repository #14
Labels
Container
Issues or pull requests relevant for Team 2: Container Infra and Tooling
Sprint Reykjavik
Sprint Reykjavik (2023, cwk 50+51)
/kind feature
Describe the solution you'd like
Add integration tests that use an actual remote cluster-stacks Git repository (e.g. SovereignCloudStack/cluster-stacks). These tests should ensure that all cluster stacks release assets are downloaded and processed successfully.
They do not have to test all functionality that can be tested just as well with local unit tests using envtest (#9).
This test requires a new folder in internal/controllers/test/integration and a new setup with controllers that defines the properties of the Reconcilers as needed (e.g. an actual Github client instead of a fake one in the unit tests).
** Important note: **
This requires a Github token, otherwise the CI will run into rate limits quickly. We should add a new token that allows to read the cluster-stacks repository.
Acceptance criteria:
The text was updated successfully, but these errors were encountered: