-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
feat(crd-generator): Allow to configure CRDGenerator if running as annotation processor, add approval and compiler tests #5896
Conversation
- Read options from compiler options and crd-generator.properties in classpath - Allow to configure... - parallel generation - CRD versions (v1, v1beta1) - outputPath - header in output files - describeTypes (debug output) - additional labels - additional annotations
TBD:
|
Quality Gate failedFailed conditions |
I skimmed through it and the changes look to be going in a nice direction, but this is massive, either you manage to chunk it into more digestible bites or it will take some time to properly review. cc. @shawkins asking for help here 🆘 |
A third of the changes come from the copy of the test module to the new test-parallel module. (It's exactly the same content). So the first question is, do we want to keep both test modules? ...if we have an alternative: I don't like both because it requires a lot (test case) duplications, but it's some kind of a real end-2-end test and it was there before I started contributing. My suggestion would be to replace those both modules by appropriate "compile-testing" tests in the apt module. With a small abstraction we can build easily tests which run always with parallel mode on and off (and I think we can also run them in parallel via failsafe plugin because they are fully isolated). Regarding the options: I'm happy to hear any further suggestions or guidence ;) |
Can probably be closed. See #5885 (comment) |
Description
CRDGenerator: Replace assertions with ApprovalTests #5850
see fix(crd-generator): Fail if multiple versions are marked as stored #5846 (comment)
Type of change
test, version modification, documentation, etc.)
Checklist