Skip to content
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

⚠️ Envtest: Do not pull in ginkgo outside of _test.go files #720

Merged

Conversation

alvaroaleman
Copy link
Member

I noticed that introducing envtest as a dependency also adds ginkgo as a transient dependency, this PR fixes that.

/assign @DirectXMan12

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Dec 8, 2019
@k8s-ci-robot k8s-ci-robot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Dec 8, 2019
@k8s-ci-robot k8s-ci-robot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Dec 8, 2019
@DirectXMan12
Copy link
Contributor

This is a breaking change. We actually meant to make this a while ago, IIRC, but never got around to finalizing the breaking change.

I'm fine with doing this, but let's leave it for the next set of breaking changes.

@DirectXMan12
Copy link
Contributor

/hold

@k8s-ci-robot k8s-ci-robot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Dec 9, 2019
@DirectXMan12 DirectXMan12 added this to the breaking-next milestone Dec 9, 2019
@k8s-ci-robot k8s-ci-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Jan 22, 2020
@k8s-ci-robot k8s-ci-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Jan 26, 2020
DirectXMan12 pushed a commit that referenced this pull request Jan 31, 2020
📖 quick start update to install 2.0.0-alpha.1
Copy link
Member

@vincepri vincepri left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be good to go as well, we might need to retitle to make it a ⚠️ / breaking change for users

/hold cancel
/lgtm
/assign @gerred @DirectXMan12

@k8s-ci-robot k8s-ci-robot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Feb 5, 2020
@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Feb 5, 2020
@DirectXMan12
Copy link
Contributor

IIRC, this has been deprecated for a while, but is a ⚠️ none-the-less. Updating

@DirectXMan12 DirectXMan12 changed the title 🐛 Envtest: Do not pull in ginkgo outside of _test.go files ⚠️ Envtest: Do not pull in ginkgo outside of _test.go files Feb 5, 2020
@DirectXMan12
Copy link
Contributor

ooo, this is gonna be a bit painful b/c it hits test suites.

we need to update KB to start scaffolding new projects with this change too.

@DirectXMan12
Copy link
Contributor

/approve

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: alvaroaleman, DirectXMan12

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Feb 5, 2020
@alvaroaleman
Copy link
Member Author

/retest

@gerred
Copy link
Contributor

gerred commented Feb 5, 2020

kicking off one retest bc this is a type alias and shouldn't trigger random timeouts.

this should be generally OK though in KB and elsewhere though until we remove the type alias, yeah?

/retest

@k8s-ci-robot k8s-ci-robot merged commit 9ed8996 into kubernetes-sigs:master Feb 5, 2020
@alvaroaleman alvaroaleman deleted the envtest-ginkgo-dep branch February 5, 2020 23:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants