Skip to content

File tree

6 files changed

+102
-0
lines changed

6 files changed

+102
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
module(
2+
name = "skywalking-data-collect-protocol",
3+
compatibility_level = 1,
4+
version = "9.7.0",
5+
)
6+
7+
bazel_dep(
8+
name = "grpc",
9+
version = "1.56.3.bcr.1",
10+
repo_name = "com_github_grpc_grpc",
11+
)
12+
bazel_dep(
13+
name = "rules_cc",
14+
version = "0.0.9",
15+
)
16+
bazel_dep(
17+
name = "rules_proto",
18+
version = "5.3.0-21.7",
19+
)
20+
# -- bazel_dep definitions -- #
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
diff --git a/common/BUILD b/common/BUILD
2+
index 55d0e92..061e22a 100644
3+
--- a/common/BUILD
4+
+++ b/common/BUILD
5+
@@ -22,6 +22,9 @@ package(default_visibility = ["//visibility:public"])
6+
licenses(["notice"]) # Apache 2
7+
8+
proto_library(
9+
- name = "common_protocol_proto_lib",
10+
- srcs = ["Common.proto"],
11+
+ name = "common_protocol_proto_lib",
12+
+ srcs = [
13+
+ "Command.proto",
14+
+ "Common.proto",
15+
+ ],
16+
)
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
--- a/MODULE.bazel
2+
+++ a/MODULE.bazel
3+
@@ -0,0 +1,20 @@
4+
+module(
5+
+ name = "skywalking-data-collect-protocol",
6+
+ compatibility_level = 1,
7+
+ version = "9.7.0",
8+
+)
9+
+
10+
+bazel_dep(
11+
+ name = "grpc",
12+
+ version = "1.56.3.bcr.1",
13+
+ repo_name = "com_github_grpc_grpc",
14+
+)
15+
+bazel_dep(
16+
+ name = "rules_cc",
17+
+ version = "0.0.9",
18+
+)
19+
+bazel_dep(
20+
+ name = "rules_proto",
21+
+ version = "5.3.0-21.7",
22+
+)
23+
+# -- bazel_dep definitions -- #
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
matrix:
2+
platform:
3+
- debian10
4+
- ubuntu2004
5+
- windows
6+
bazel:
7+
- 7.x
8+
- 6.x
9+
tasks:
10+
verify_targets:
11+
name: Verify build targets
12+
platform: ${{ platform }}
13+
bazel: ${{ bazel }}
14+
build_flags:
15+
- '--cxxopt=-std=c++14'
16+
build_targets:
17+
- '@skywalking-data-collect-protocol//...'
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"url": "https://github.com/apache/skywalking-data-collect-protocol/archive/refs/tags/v9.7.0.tar.gz",
3+
"integrity": "sha256-8DcGmfSB8mLuM+HTX5Oh4VhHumF0YvwfgrfgvhDEu0Q=",
4+
"strip_prefix": "skywalking-data-collect-protocol-9.7.0",
5+
"patches": {
6+
"build_dot_bzl.patch": "sha256-a4Cy8bSt1E+LOV7lLewlubKG+VQKfQOFyKEuDuBEKqQ=",
7+
"module_dot_bazel.patch": "sha256-FJTR5P8OtiAUX42fGE9p6y1Udb2ezBXXx9tFCyEK1h8="
8+
},
9+
"patch_strip": 1
10+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"homepage": "https://github.com/apache/skywalking-data-collect-protocol",
3+
"maintainers": [
4+
{
5+
"email": "[email protected]",
6+
"name": "No Maintainer Specified"
7+
}
8+
],
9+
"repository": [
10+
"github:apache/skywalking-data-collect-protocol"
11+
],
12+
"versions": [
13+
"9.7.0"
14+
],
15+
"yanked_versions": {}
16+
}

0 commit comments

Comments
 (0)