-
Notifications
You must be signed in to change notification settings - Fork 40k
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
revert revert of test/e2e/generated/BUILD #37114
Conversation
This fixes bazel builds in the release branch. |
/lgtm @k8s-bot bazel build this |
Jenkins Bazel Build failed for commit ea192dd. Full PR test history. The magic incantation to run this job again is |
@k8s-bot bazel build this |
@@ -210,20 +210,13 @@ go_library( | |||
], | |||
) | |||
|
|||
go_test( | |||
# phony go_default_test. Bazel test run interprets these as |
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.
should these be go_binarys instead? our e2e infrastructure expects an e2e_test
binary, I think.
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.
Hmm, good idea. I will see if that works
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 can't fix this without modifying rules_go. I will add it to the list of stuff to finish.
@k8s-bot bazel build this |
go_test( | ||
# this is a private library until we can support building the | ||
# test binary | ||
# TODO(mikedanese): fix @io_bazelbuild/rules_go |
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.
do you have an issue tracking this?
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.
deps = [ | ||
"//pkg/api:go_default_library", | ||
"//pkg/client/clientset_generated/internalclientset:go_default_library", | ||
"//pkg/metrics:go_default_library", | ||
"//test/e2e/framework:go_default_library", | ||
"//vendor:github.com/onsi/ginkgo", | ||
"//vendor:github.com/onsi/gomega", |
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.
why remove this? metrics_grabber_test.go
still seems to directly depend on it.
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 was testing if gazel would still correctly manages this. It does. Fixed.
@k8s-bot bazel build this |
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.
/lgtm
Automatic merge from submit-queue |
broken in fad1990
This change is