Migrate Ginkgo from v1 to v2#109111
Conversation
Ginkgo is now writing the JUnit file itself. The -report-dir parameter is used as fallback for enabling JUnit output in case that users haven't migrated to the new -junit-report parameter. Co-authored-by: Patrick Ohly <patrick.ohly@intel.com> Signed-off-by: Dave Chen <dave.chen@arm.com>
Co-authored-by: Patrick Ohly <patrick.ohly@intel.com> Signed-off-by: Dave Chen <dave.chen@arm.com>
Signed-off-by: Dave Chen <dave.chen@arm.com>
The alias for vendor/github.com/onsi/ginkgo/ginkgo ensures that code like https://github.com/chendave/test-infra/blob/30e99cb2a97fdee7bb41316881cfbca91bb600db/experiment/kind-conformance-image-e2e.sh#L110 continues to work. The one without "vendor/" is there just in case that it was used because it also worked. Long term, "ginkgo" is a nicer, version independent alias. It gets used internally to avoid future churn and gets documented also publicly in the Makefile help. The caveat is that there's no guarantee that a future v3 CLI will be compatible with current invocations. But the most common usage is through hack/ginkgo-e2e.sh, which can deal with such differences.
Ginkgo has been migrated to V2, add this to unwanted dependencies so that it won't be shown up as a dep again in the future. Signed-off-by: Dave Chen <dave.chen@arm.com>
|
Due to latest update on master: https://github.com/kubernetes/kubernetes/pull/110805/files and https://github.com/kubernetes/kubernetes/pull/110122/files We must rebase to master and fix the import path again, see here and there Nothing else was updated in this push. |
|
/retest |
|
/hold cancel |
|
@chendave: The following tests failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. DetailsInstructions 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. I understand the commands that are listed here. |
|
/lgtm |
|
sorry for missing the pings, I was out on vacation, glad to see this has merged 👏 |
|
Added one action item, based on what we observed here: #111040 |
With the GA of v2, v1 has been formally deprecated
see #109744 for some umbrella issues.
Signed-off-by: Dave Chen dave.chen@arm.com
What type of PR is this?
/kind feature
What this PR does / why we need it:
Which issue(s) this PR fixes:
Fixes #107936
Special notes for your reviewer:
Verified as below,
Does this PR introduce a user-facing change?
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.: