-
Notifications
You must be signed in to change notification settings - Fork 114
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
Update Ginkgo to v2 #386
Update Ginkgo to v2 #386
Conversation
Thanks for your PR,
To skip the vendors CIs use one of:
|
Hi @liornoy , is it possible to split the commit in 2:
It would make the review much easier |
Thanks for your PR,
To skip the vendors CIs use one of:
|
Sure! np, done. |
Approved workflow run. @liornoy can you please have a look at the errors? Let me know if you think they are not related to the PR, maybe there are some build flakes. |
This commit bumps ginkgo to v2 and updates go.mod, go.sum and the vendor dir. Note: ginkgov2 requires go1.18, so go version is updated as well. Signed-off-by: liornoy <[email protected]>
Update source files to import ginkgo v2 and since the custom reporters feature is deprecated in ginkgo v2, modified the k8sreporter/reporter.go. Please note that ginkgo v2 has default configurations that lead to some code deletion in this commit: Ginkgo v2 default reporter prints with a new line. Ginkgo v2 by default configures ParallelTotal to 1. Ginkgo v2 by default configures TimeOut to 60 min. Signed-off-by: liornoy <[email protected]>
Thanks for your PR,
To skip the vendors CIs use one of:
|
@zeeke I updated .golangci.yml to solve the lint issues. (adding ginkgo/v2 to the whitelist) |
Pull Request Test Coverage Report for Build 3685350391
💛 - Coveralls |
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.
I test this one locally and it looks good.
Thanks for the contribution!
This PR updates ginkgo to v2.
Signed-off-by: liornoy [email protected]