-
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 script for deep-copies generator #545
Add verify script for deep-copies generator #545
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. |
fi | ||
popd > /dev/null 2>&1 | ||
|
||
echo "Generated deep-copies verified." |
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.
Please delete this line. You can also remove this line from the verify-conversions.sh script too.
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.
Are you referring to, line 34 or line 36 ?
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.
Line 36
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.
Some kind of "success" message is helpful rather than printing nothing, to show that the script did actually complete (for local runs, and for CI where we are calling multiple scripts).
I would also update the failure message to include a Please run ./hack/update-deep-copies.sh
(same for conversions if it doesn't already)
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.
Updated with latest push.
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.
Okay, I'll just put back those in with the updated failure message as well.
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.
Yeah, sorry for the back and forth but I do think these are worth having... You may want to wait for @seanmalloy to see if he agrees or there is something I'm overlooking 🙂
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.
It's fine to keep the echo statement.
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.
@pravarag you can re-add the echo
statement. Sorry for the confusion.
/ok-to-test |
58b2314
to
487a3e9
Compare
hack/verify-conversions.sh
Outdated
@@ -32,5 +32,3 @@ if ! _out="$(diff -Naupr pkg/ "${_deschedulertmp}/pkg/")"; then | |||
exit 1 | |||
fi | |||
popd > /dev/null 2>&1 | |||
|
|||
echo "Generated conversions verified." |
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.
Please don't delete these lines. Sorry for the confusion.
487a3e9
to
4fce2ca
Compare
I've added back the |
@pravarag thanks, this looks good to me |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: damemi, pravarag, seanmalloy 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 |
Thanks @seanmalloy @damemi for merging this 🙂 |
…t-deep-copies Add verify script for deep-copies generator
This PR is related to: #483
This PR contains changes for verifying deep-copies generator. Below are the logs,