-
Notifications
You must be signed in to change notification settings - Fork 597
Use envtest for CRD validation tests #3948
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
Use envtest for CRD validation tests #3948
Conversation
/hold |
b6b5faf
to
a428bc8
Compare
a428bc8
to
7cc8702
Compare
/hold cancel |
66ca898
to
9815758
Compare
TODO: If/once we accept this PR, we can remove the Prow jobs for CRD validation from kubernetes/test-infra repo. |
Wow, this is a great change, thanks @rikatz! /approve |
This is a huge improvement, thanks @rikatz! Just ping for LGTM once presubmits/linting passes. /approve |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Legit, very helpful thank you Ricardo! Once passing 👍
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: rikatz, robscott, shaneutt, youngnick 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 |
9815758
to
97469f8
Compare
97469f8
to
85b1641
Compare
This is great, thanks @rikatz! /lgtm |
What type of PR is this?
/kind test
What this PR does / why we need it: This change does multiple improvements on CEL validation tests:
With this change, the execution time falls from 8 minutes to ~45s, while keeping the desired k8s matrix also on the Github Action configuration
Does this PR introduce a user-facing change?: