-
Notifications
You must be signed in to change notification settings - Fork 529
Fix CI failures for Go 1.17 and verifying invalid examples #830
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
Conversation
Signed-off-by: Nick Young <[email protected]>
/lgtm |
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.
Would make generate
on a local machine without go1.17 revert this now? So developers need to use 1.17 now? That seems ok, just wanted to check if that is the case
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: howardjohn, 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 |
I'm not sure. It depends on what Go 1.16.x does with build tags that start with |
🤦 I forgot about this part, it looks like we need to copy kubernetes/kubernetes#103692.
|
Better link: kubernetes/kubernetes@f11a3cd |
Looks like golangci-lint also has a deprecation that's causing a failure, sigh. I'll keep ticking things off. |
Signed-off-by: Nick Young <[email protected]>
3fa5d4e
to
c6f4e98
Compare
Signed-off-by: Nick Young <[email protected]>
Signed-off-by: Nick Young <[email protected]>
Okay, done. In total, this PR fixes the following:
|
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.
Thanks @youngnick! A couple tiny nits but otherwise LGTM, this is a huge improvement.
/lgtm |
Signed-off-by: Nick Young <[email protected]>
Thanks! /lgtm |
/hold cancel |
Signed-off-by: Nick Young [email protected]
What type of PR is this?
/kind cleanup
/kind failing-test
What this PR does / why we need it:
Fixes up the generated docs with Go 1.17 build tags, should mean they pass CI now.
Updates #828
It also turned out that the verify-examples script was failing and not actually testing what we though, so I fixed that as well.