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

revert revert of test/e2e/generated/BUILD #37114

Merged
merged 2 commits into from
Nov 19, 2016

Conversation

mikedanese
Copy link
Member

@mikedanese mikedanese commented Nov 18, 2016

broken in fad1990


This change is Reviewable

@mikedanese mikedanese changed the title revert revert of test/e2e/generated/BUIL revert revert of test/e2e/generated/BUILD Nov 18, 2016
@mikedanese mikedanese added this to the v1.5 milestone Nov 18, 2016
@mikedanese
Copy link
Member Author

This fixes bazel builds in the release branch.

@ixdy
Copy link
Member

ixdy commented Nov 18, 2016

/lgtm

@k8s-bot bazel build this

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Nov 18, 2016
@k8s-github-robot k8s-github-robot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. release-note-label-needed do-not-merge DEPRECATED. Indicates that a PR should not merge. Label can only be manually applied/removed. labels Nov 18, 2016
@k8s-ci-robot
Copy link
Contributor

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. Please help us cut down flakes by linking to an open flake issue when you hit one in your PR.

@k8s-github-robot k8s-github-robot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed lgtm "Looks good to me", indicates that a PR is ready to be merged. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Nov 18, 2016
@mikedanese mikedanese added release-note-none Denotes a PR that doesn't merit a release note. and removed do-not-merge DEPRECATED. Indicates that a PR should not merge. Label can only be manually applied/removed. release-note-label-needed labels Nov 18, 2016
@mikedanese
Copy link
Member Author

@k8s-bot bazel build this

@@ -210,20 +210,13 @@ go_library(
],
)

go_test(
# phony go_default_test. Bazel test run interprets these as
Copy link
Member

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.

Copy link
Member Author

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

Copy link
Member Author

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.

@mikedanese
Copy link
Member Author

@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
Copy link
Member

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?

Copy link
Member Author

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",
Copy link
Member

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.

Copy link
Member Author

@mikedanese mikedanese Nov 18, 2016

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.

@mikedanese
Copy link
Member Author

@k8s-bot bazel build this

Copy link
Member

@ixdy ixdy left a comment

Choose a reason for hiding this comment

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

/lgtm

@mikedanese mikedanese added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Nov 18, 2016
@k8s-github-robot
Copy link

Automatic merge from submit-queue

@k8s-github-robot k8s-github-robot merged commit fa0eb19 into kubernetes:master Nov 19, 2016
@mikedanese mikedanese deleted the fix-bzl branch November 19, 2016 04:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm "Looks good to me", indicates that a PR is ready to be merged. release-note-none Denotes a PR that doesn't merit a release note. 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