-
Notifications
You must be signed in to change notification settings - Fork 669
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
Add verify scripts for defaulters generator #549
Add verify scripts for defaulters generator #549
Conversation
Hi @pravarag. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/ok-to-test |
b0c195b
to
e813291
Compare
/retest |
@pravarag the test is still failing with:
|
@ingvagabund for the failing test, this error I've been getting since the very start. But, I'm still not able to debug that why this error coming only for this generator. I submitted separate PRs for other two generators and the changes worked without any such error. But, for this generator it's been failing with this error. Would you like to suggest any changes I could do here? |
helped to get rid of the panic. |
@ingvagabund where did you add this part? Was it in |
Yeah, just updated hack/verify-defaulters.sh |
b5cdb13
to
7626546
Compare
Thanks @ingvagabund , the change has worked 😄 |
hack/verify-defaulters.sh
Outdated
${OS_OUTPUT_BINPATH}/defaulter-gen \ | ||
--go-header-file "hack/boilerplate/boilerplate.go.txt" \ | ||
--input-dirs "${PRJ_PREFIX}/pkg/apis/componentconfig/v1alpha1,${PRJ_PREFIX}/pkg/api/v1alpha1" \ | ||
+ --extra-peer-dirs "${PRJ_PREFIX}/pkg/apis/componentconfig/v1alpha1,${PRJ_PREFIX}/pkg/api/v1alpha1" \ |
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.
Can you drop +
? I'd expect the bash script to fail actually.
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.
Done
7626546
to
df84dc4
Compare
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ingvagabund, pravarag 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 |
…s-gen Add verify scripts for defaulters generator
This PR is related to: #483
This PR contains changes for verifying defaulters generator. Currently I'm facing a SIGSEGV error while trying to run verify-defaulters.sh script from local with below logs,
Opening this PR as a follow-up from this conversation: #507 (comment)