-
Notifications
You must be signed in to change notification settings - Fork 74
Build with latest Bazel(upgrade Bazel from 0.5.4 to 0.21.0) #529
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
Changes from all commits
baea6bb
0b3b96c
8f4f277
08abaaa
2332032
8c50860
af6d2a6
e3cc14c
b7dd598
4304180
b5f5fa3
30e22f0
13b9a28
0e8c7f5
28efabf
112c36d
2b25282
e8f1cc4
702ba5e
f6fa9bc
3b8f6b1
22c1c25
9b4b7d8
046c3e3
95d38ab
003006e
234b694
b0dd33a
a181b3b
9d41d95
9cb9272
06498f8
3b00f07
e39b83f
20551e0
fbccda4
bcdd5c0
ac838a8
f541774
6e68051
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -134,6 +134,42 @@ genrule( | |
actual = "@cares_git//:ares", | ||
) | ||
|
||
def go_grpc_repositories(bind = True): | ||
BUILD = """ | ||
# Copyright (C) Extensible Service Proxy Authors. All Rights Reserved. | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
# | ||
################################################################################ | ||
# | ||
filegroup( | ||
name = "test_proto", | ||
srcs = ["interop/grpc_testing/test.proto"], | ||
visibility = ["//visibility:public"], | ||
) | ||
""" | ||
native.new_git_repository( | ||
name = "org_golang_google_grpc_git", | ||
commit = "9bf8ea0a8282ebecd1aa474c926e3028f5c22a4c", # May 19, 2017 | ||
remote = "https://github.com/grpc/grpc-go.git", | ||
build_file_content = BUILD, | ||
) | ||
|
||
if bind: | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It seems this bind is not used. when it is binded, instead of depends on "@org_golang_google_grpc_git//:test_proto", you can depend on "//external:test_proto" I saw the BUILD file use @org_golang_google_grpc_git//:test_proto directly. so bind is not needed. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ack. Other parts in this file uses |
||
native.bind( | ||
name = "test_proto", | ||
actual = "@org_golang_google_grpc_git//:test_proto") | ||
|
||
def protobuf_repositories(bind = True): | ||
native.git_repository( | ||
name = "protobuf_git", | ||
|
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.
if --config=asan or debug,the file name will without linux_amd64_stripped. do we need to stash or save them?
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.
Jenkins stores Release version binary to GCS bucket for e2e testing, so we do not neet stash asan or debug one.