Skip to content

Commit 41c6b82

Browse files
authored
Bazel 5 Upgrade (attempt 2) (#274)
* Upgrade bazel to 5.1.1 * Upgrade grpc/grpc to v1.42.0 - make tidy
1 parent 7c55315 commit 41c6b82

9 files changed

Lines changed: 29 additions & 25 deletions

File tree

.bazelci/presubmit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
buildifier:
33
version: 4.2.3
44
warnings: "-function-docstring,-function-docstring-header,-module-docstring,-function-docstring-args,-list-append"
5-
bazel: 4.0.0
5+
bazel: 5.1.1
66
tasks:
77
default_workspace_ubuntu1804:
88
platform: ubuntu1804

.bazelversion

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
4.0.0
1+
5.1.1

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
BAZEL := bazel
1+
BAZEL := bzl
22

33
.PHONY: tidy
44
tidy: deps

deps/BUILD.bazel

Lines changed: 9 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -236,25 +236,19 @@ proto_dependency(
236236
visibility = ["//visibility:public"],
237237
)
238238

239-
# Release: v1.35.0
240-
# Commit: v1.35.x
241-
# Date: 2021-01-19 18:07:57 +0000 UTC
242-
# URL: https://github.com/grpc/grpc/releases/tag/v1.35.0
243-
# Branch: master
244-
# Commit: 5f759fcd1f602b38004b948b071f8b5726a9a4b1
245-
# Date: 2021-02-09 05:46:27 +0000 UTC
246-
# URL: https://github.com/grpc/grpc/commit/5f759fcd1f602b38004b948b071f8b5726a9a4b1
247-
#
248-
# Merge pull request #25384 from gnossen/fix_interop_typo
239+
# Release: v1.42.0
240+
# Commit: 11f00485aa5ad422cfe2d9d90589158f46954101
241+
# Date: 2021-11-16 23:39:48 +0000 UTC
242+
# URL: https://github.com/grpc/grpc/commit/11f00485aa5ad422cfe2d9d90589158f46954101
249243
#
250-
# Fix Interop Client Typo
251-
# Size: 7899154 (7.9 MB)
244+
# internal_ci: rename grpc_xds_k8s to psm-security as part of tech-debt cleanup and name clarity (#28034) (#28098)
245+
# Size: 8463684 (8.5 MB)
252246
proto_dependency(
253247
name = "com_github_grpc_grpc",
254248
repository_rule = "http_archive",
255-
sha256 = "e6c6b1ac9ba2257c93e49c98ef4fc96b2e2a1cdd90782a919f60e23fa8c2428b",
256-
strip_prefix = "grpc-5f759fcd1f602b38004b948b071f8b5726a9a4b1",
257-
urls = ["https://github.com/grpc/grpc/archive/5f759fcd1f602b38004b948b071f8b5726a9a4b1.tar.gz"],
249+
sha256 = "3db6da6500312cf011ecea4231cdb75ba1dd40440a10c9f807cee805448fc82b",
250+
strip_prefix = "grpc-11f00485aa5ad422cfe2d9d90589158f46954101",
251+
urls = ["https://github.com/grpc/grpc/archive/11f00485aa5ad422cfe2d9d90589158f46954101.tar.gz"],
258252
deps = [
259253
":build_bazel_rules_swift",
260254
":com_google_protobuf",

deps/grpc_core_deps.bzl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,9 +103,9 @@ def com_github_grpc_grpc():
103103
_maybe(
104104
http_archive,
105105
name = "com_github_grpc_grpc",
106-
sha256 = "e6c6b1ac9ba2257c93e49c98ef4fc96b2e2a1cdd90782a919f60e23fa8c2428b",
107-
strip_prefix = "grpc-5f759fcd1f602b38004b948b071f8b5726a9a4b1",
106+
sha256 = "3db6da6500312cf011ecea4231cdb75ba1dd40440a10c9f807cee805448fc82b",
107+
strip_prefix = "grpc-11f00485aa5ad422cfe2d9d90589158f46954101",
108108
urls = [
109-
"https://github.com/grpc/grpc/archive/5f759fcd1f602b38004b948b071f8b5726a9a4b1.tar.gz",
109+
"https://github.com/grpc/grpc/archive/11f00485aa5ad422cfe2d9d90589158f46954101.tar.gz",
110110
],
111111
)

deps/grpc_node_deps.bzl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,10 +104,10 @@ def com_github_grpc_grpc():
104104
_maybe(
105105
http_archive,
106106
name = "com_github_grpc_grpc",
107-
sha256 = "e6c6b1ac9ba2257c93e49c98ef4fc96b2e2a1cdd90782a919f60e23fa8c2428b",
108-
strip_prefix = "grpc-5f759fcd1f602b38004b948b071f8b5726a9a4b1",
107+
sha256 = "3db6da6500312cf011ecea4231cdb75ba1dd40440a10c9f807cee805448fc82b",
108+
strip_prefix = "grpc-11f00485aa5ad422cfe2d9d90589158f46954101",
109109
urls = [
110-
"https://github.com/grpc/grpc/archive/5f759fcd1f602b38004b948b071f8b5726a9a4b1.tar.gz",
110+
"https://github.com/grpc/grpc/archive/11f00485aa5ad422cfe2d9d90589158f46954101.tar.gz",
111111
],
112112
)
113113

deps/grpc_web_deps.bzl

100755100644
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ def _maybe(repo_rule, name, **kwargs):
99
repo_rule(name = name, **kwargs)
1010

1111
def grpc_web_deps():
12+
"""grpc_web dependency macro
13+
"""
1214
com_github_grpc_grpc_web_releases_download_v1_3_1_protoc_gen_grpc_web_1_3_1_darwin_x86_64() # via <TOP>
1315
com_github_grpc_grpc_web_releases_download_v1_3_1_protoc_gen_grpc_web_1_3_1_linux_x86_64() # via <TOP>
1416
com_github_grpc_grpc_web_releases_download_v1_3_1_protoc_gen_grpc_web_1_3_1_windows_x86_64() # via <TOP>

go_deps.bzl

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,14 @@ def go_deps():
7373
sum = "h1:KViqR7qKXwz+LrNdIauCDU21kneCk+4DnYjpvlJwH50=",
7474
version = "v0.27.0",
7575
)
76+
go_repository(
77+
name = "com_github_bmatcuk_doublestar",
78+
build_file_proto_mode = "disable_global",
79+
importpath = "github.com/bmatcuk/doublestar",
80+
sum = "h1:oC24CykoSAB8zd7XgruHo33E0cHJf/WhQA/7BeXj+x0=",
81+
version = "v1.2.2",
82+
)
83+
7684
go_repository(
7785
name = "com_github_burntsushi_toml",
7886
build_file_proto_mode = "disable_global",

pkg/rule/rules_scala/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ go_library(
1616
"@bazel_gazelle//label:go_default_library",
1717
"@bazel_gazelle//resolve:go_default_library",
1818
"@bazel_gazelle//rule:go_default_library",
19-
"@com_github_bmatcuk_doublestar//:go_default_library",
19+
"@com_github_bmatcuk_doublestar//:doublestar",
2020
"@com_github_emicklei_proto//:proto",
2121
],
2222
)

0 commit comments

Comments
 (0)