Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Placeholder CI for automatically testing cluster chart changes in cluster-<provider> apps #263

Merged
merged 8 commits into from
Jul 11, 2024

Conversation

nprokopic
Copy link
Contributor

@nprokopic nprokopic commented Jul 11, 2024

What does this PR do?

Add a placeholder GitHub action (does not make any changes anywhere) to automate testing of cluster chart changes in cluster-aws.

In order to really test this, the GitHub workflow has to be in the main branch, so adding first a workflow that just prints theoretical cluster chart version update in cluster-aws.

Any background context you can provide?

CAPA is already GA, CAPZ will be GA soon, and all other providers will also soon start to use cluster chart, so without automated cross-provider testing the risk of issues slipping through cracks due to changes not being tested is very high.

@nprokopic nprokopic requested a review from a team as a code owner July 11, 2024 13:08
@nprokopic nprokopic changed the title [WIP] Test changes in cluster provider [WIP] Test cluster chart changes in cluster-<provider> apps Jul 11, 2024
@nprokopic nprokopic changed the title [WIP] Test cluster chart changes in cluster-<provider> apps [WIP] Automatically test cluster chart changes in cluster-<provider> apps Jul 11, 2024
@nprokopic
Copy link
Contributor Author

/run cluster-test-suites

@nprokopic nprokopic force-pushed the test-changes-in-cluster-provider branch from 7a1b981 to 3531fa2 Compare July 11, 2024 13:37
@nprokopic nprokopic changed the title [WIP] Automatically test cluster chart changes in cluster-<provider> apps Placeholder CI for automatically testing cluster chart changes in cluster-<provider> apps Jul 11, 2024
@nprokopic nprokopic changed the base branch from add-mc-zot-support to main July 11, 2024 13:38
run: |
git clone https://github.com/giantswarm/cluster-aws.git

- name: Update cluster chart version in Chart.yaml
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's not really updating it, just prints theoretical version updates

Copy link

There were no differences in the rendered Helm template.

Output
=== Differences when rendered with values file helm/cluster/ci/test-required-values.yaml ===

No difference


=== No differences at all ===

@nprokopic
Copy link
Contributor Author

Will merge this and then open a PR with actual workflow.

@nprokopic nprokopic merged commit 38f29b6 into main Jul 11, 2024
8 checks passed
@nprokopic nprokopic deleted the test-changes-in-cluster-provider branch July 11, 2024 14:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant