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

test: e2e cover clusterclass provisioning #1355

Merged

Conversation

salasberryfin
Copy link
Contributor

@salasberryfin salasberryfin commented Nov 5, 2024

/kind feature

What this PR does / why we need it:

Cover cluster provisioning via ClusterClass in E2E tests.

Which issue(s) this PR fixes:
Fixes #1354

Special notes for your reviewer:

To simplify the creation of all resources, this combines ClusterClass and Cluster definition together in a single yaml file. This allows us to provision all resources with only one apply command. Additionally, a new folder is created inside test/e2e/data/ to contain cluster class templates (this could be extended to other templates as the number of files keeps growing).

TODOs:

  • squashed commits
  • includes documentation
  • adds unit tests

Release note:

Cover ClusterClass in E2E

@k8s-ci-robot k8s-ci-robot added release-note Denotes a PR that will be considered when it comes time to generate release notes. do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. kind/feature Categorizes issue or PR as related to a new feature. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Nov 5, 2024
@k8s-ci-robot k8s-ci-robot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Nov 5, 2024
Copy link

netlify bot commented Nov 5, 2024

Deploy Preview for kubernetes-sigs-cluster-api-gcp ready!

Name Link
🔨 Latest commit 213b32f
🔍 Latest deploy log https://app.netlify.com/sites/kubernetes-sigs-cluster-api-gcp/deploys/672b3a844f623d00083a5ca0
😎 Deploy Preview https://deploy-preview-1355--kubernetes-sigs-cluster-api-gcp.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@salasberryfin salasberryfin force-pushed the test-e2e-cover-clusterclass branch 2 times, most recently from 9ed9287 to 73c5f8d Compare November 5, 2024 18:26
@salasberryfin salasberryfin force-pushed the test-e2e-cover-clusterclass branch from 7961037 to 213b32f Compare November 6, 2024 09:44
@salasberryfin
Copy link
Contributor Author

/retest

@salasberryfin salasberryfin changed the title WIP: e2e cover clusterclass provisioning e2e cover clusterclass provisioning Nov 6, 2024
@k8s-ci-robot k8s-ci-robot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Nov 6, 2024
@salasberryfin salasberryfin changed the title e2e cover clusterclass provisioning test: e2e cover clusterclass provisioning Nov 6, 2024
@salasberryfin
Copy link
Contributor Author

Could you take a look at this old PR? It would be great to have ClusterClass covered in testing :)

cc @cpanato @damdo @richardcase

Copy link
Member

@cpanato cpanato left a comment

Choose a reason for hiding this comment

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

cool

thanks

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jan 31, 2025
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: cpanato, salasberryfin

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jan 31, 2025
@k8s-ci-robot k8s-ci-robot merged commit 08da022 into kubernetes-sigs:main Jan 31, 2025
20 checks passed
@k8s-ci-robot k8s-ci-robot added this to the v1.1.0 milestone Jan 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. kind/feature Categorizes issue or PR as related to a new feature. lgtm "Looks good to me", indicates that a PR is ready to be merged. release-note Denotes a PR that will be considered when it comes time to generate release notes. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cover ClusterClass provisioning in E2E
3 participants