Skip to content

Commit 2abf7ac

Browse files
aaliddellAdam Liddell
andauthored
Add rules_proto_grpc 5.0.0-alpha2 (#1217)
* Add rules_proto_grpc 5.0.0-alpha2 * Patch python presubmit to remove targets * Remove centos from core presubmit Due to failing C++ toolchain on this platform --------- Co-authored-by: Adam Liddell <[email protected]>
1 parent 019ea16 commit 2abf7ac

File tree

36 files changed

+529
-0
lines changed

36 files changed

+529
-0
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
module(
2+
name = "rules_proto_grpc",
3+
version = "5.0.0-alpha2",
4+
compatibility_level = 1,
5+
)
6+
7+
bazel_dep(name = "bazel_skylib", version = "1.5.0")
8+
bazel_dep(name = "protobuf", version = "21.7")
9+
bazel_dep(name = "rules_cc", version = "0.0.8") # For fixer
10+
bazel_dep(name = "rules_proto", version = "5.3.0-21.7")
11+
12+
register_toolchains("//protoc:protoc_toolchain")
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
matrix:
2+
platform:
3+
- debian10
4+
- ubuntu2004
5+
- macos
6+
- windows
7+
tasks:
8+
verify_targets:
9+
name: Verify build targets
10+
platform: ${{ platform }}
11+
build_targets:
12+
- '@rules_proto_grpc//...'
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"integrity": "sha256-S8TbEoY2mkpTH0oZmtpUMNP4Z1yo57CEDL0ltrMF5JU=",
3+
"strip_prefix": "rules_proto_grpc-5.0.0-alpha2",
4+
"url": "https://github.com/rules-proto-grpc/rules_proto_grpc/releases/download/5.0.0-alpha2/rules_proto_grpc-5.0.0-alpha2.tar.gz",
5+
"patches": {},
6+
"patch_strip": 0
7+
}
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"homepage": "https://rules-proto-grpc.com",
3+
"maintainers": [
4+
{
5+
"email": "[email protected]",
6+
"github": "aaliddell",
7+
"name": "Adam Liddell"
8+
}
9+
],
10+
"repository": [
11+
"github:rules-proto-grpc/rules_proto_grpc"
12+
],
13+
"yanked_versions": {},
14+
"versions": [
15+
"5.0.0-alpha2"
16+
]
17+
}
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
module(
2+
name = "rules_proto_grpc_buf",
3+
version = "5.0.0-alpha2",
4+
compatibility_level = 1,
5+
)
6+
7+
bazel_dep(name = "bazel_skylib", version = "1.5.0")
8+
bazel_dep(name = "rules_proto", version = "5.3.0-21.7")
9+
bazel_dep(name = "rules_proto_grpc", version = "5.0.0-alpha2")
10+
11+
download_plugins = use_extension("//:module_extensions.bzl", "download_plugins")
12+
use_repo(
13+
download_plugins,
14+
"buf_breaking_plugin_darwin_arm64",
15+
"buf_breaking_plugin_darwin_x86_64",
16+
"buf_breaking_plugin_linux_arm64",
17+
"buf_breaking_plugin_linux_x86_64",
18+
"buf_breaking_plugin_windows_arm64",
19+
"buf_breaking_plugin_windows_x86_64",
20+
"buf_lint_plugin_darwin_arm64",
21+
"buf_lint_plugin_darwin_x86_64",
22+
"buf_lint_plugin_linux_arm64",
23+
"buf_lint_plugin_linux_x86_64",
24+
"buf_lint_plugin_windows_arm64",
25+
"buf_lint_plugin_windows_x86_64",
26+
)
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
matrix:
2+
platform:
3+
- centos7
4+
- debian10
5+
- ubuntu2004
6+
- macos
7+
- windows
8+
tasks:
9+
verify_targets:
10+
name: Verify build targets
11+
platform: ${{ platform }}
12+
build_targets:
13+
- '@rules_proto_grpc_buf//...'
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"integrity": "sha256-nCPsHo1njtdLPwWmUo9rYD0L2i9vsxv2onDGSNyqaOU=",
3+
"strip_prefix": "rules_proto_grpc_buf-5.0.0-alpha2",
4+
"url": "https://github.com/rules-proto-grpc/rules_proto_grpc/releases/download/5.0.0-alpha2/rules_proto_grpc_buf-5.0.0-alpha2.tar.gz",
5+
"patches": {},
6+
"patch_strip": 0
7+
}
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"homepage": "https://rules-proto-grpc.com",
3+
"maintainers": [
4+
{
5+
"email": "[email protected]",
6+
"github": "aaliddell",
7+
"name": "Adam Liddell"
8+
}
9+
],
10+
"repository": [
11+
"github:rules-proto-grpc/rules_proto_grpc"
12+
],
13+
"yanked_versions": {},
14+
"versions": [
15+
"5.0.0-alpha2"
16+
]
17+
}
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
module(
2+
name = "rules_proto_grpc_c",
3+
version = "5.0.0-alpha2",
4+
compatibility_level = 1,
5+
)
6+
7+
bazel_dep(name = "rules_cc", version = "0.0.8")
8+
bazel_dep(name = "rules_proto_grpc", version = "5.0.0-alpha2")
9+
bazel_dep(name = "upb", version = "0.0.0-20220923-a547704")
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
matrix:
2+
platform:
3+
- centos7
4+
- debian10
5+
- ubuntu2004
6+
- macos
7+
- windows
8+
tasks:
9+
verify_targets:
10+
name: Verify build targets
11+
platform: ${{ platform }}
12+
build_targets:
13+
- '@rules_proto_grpc_c//...'

0 commit comments

Comments
 (0)