Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
mmorel-35 committed Mar 23, 2024
1 parent 4026595 commit dce2339
Show file tree
Hide file tree
Showing 6 changed files with 104 additions and 0 deletions.
20 changes: 20 additions & 0 deletions modules/skywalking-data-collect-protocol/9.7.0/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
module(
name = "skywalking-data-collect-protocol",
compatibility_level = 1,
version = "9.7.0",
)

bazel_dep(
name = "grpc",
version = "1.56.3.bcr.1",
repo_name = "com_github_grpc_grpc",
)
bazel_dep(
name = "rules_cc",
version = "0.0.9",
)
bazel_dep(
name = "rules_proto",
version = "5.3.0-21.7",
)
# -- bazel_dep definitions -- #
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
diff --git a/common/BUILD b/common/BUILD
index 55d0e92..061e22a 100644
--- a/common/BUILD
+++ b/common/BUILD
@@ -22,6 +22,9 @@ package(default_visibility = ["//visibility:public"])
licenses(["notice"]) # Apache 2

proto_library(
- name = "common_protocol_proto_lib",
- srcs = ["Common.proto"],
+ name = "common_protocol_proto_lib",
+ srcs = [
+ "Command.proto",
+ "Common.proto",
+ ],
)
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
--- a/MODULE.bazel
+++ a/MODULE.bazel
@@ -0,0 +1,20 @@
+module(
+ name = "skywalking-data-collect-protocol",
+ compatibility_level = 1,
+ version = "9.7.0",
+)
+
+bazel_dep(
+ name = "grpc",
+ version = "1.56.3.bcr.1",
+ repo_name = "com_github_grpc_grpc",
+)
+bazel_dep(
+ name = "rules_cc",
+ version = "0.0.9",
+)
+bazel_dep(
+ name = "rules_proto",
+ version = "5.3.0-21.7",
+)
+# -- bazel_dep definitions -- #
19 changes: 19 additions & 0 deletions modules/skywalking-data-collect-protocol/9.7.0/presubmit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
matrix:
platform:
- debian10
- ubuntu2004
- macos
- macos_arm64
- windows
bazel:
- 7.x
- 6.x
tasks:
verify_targets:
name: Verify build targets
platform: ${{ platform }}
bazel: ${{ bazel }}
build_flags:
- '--cxxopt=-std=c++14'
build_targets:
- '@skywalking-data-collect-protocol//...'
10 changes: 10 additions & 0 deletions modules/skywalking-data-collect-protocol/9.7.0/source.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"url": "https://github.com/apache/skywalking-data-collect-protocol/archive/refs/tags/v9.7.0.tar.gz",
"integrity": "sha256-8DcGmfSB8mLuM+HTX5Oh4VhHumF0YvwfgrfgvhDEu0Q=",
"strip_prefix": "skywalking-data-collect-protocol-9.7.0",
"patches": {
"build_dot_bzl.patch": "sha256-a4Cy8bSt1E+LOV7lLewlubKG+VQKfQOFyKEuDuBEKqQ=",
"module_dot_bazel.patch": "sha256-FJTR5P8OtiAUX42fGE9p6y1Udb2ezBXXx9tFCyEK1h8="
},
"patch_strip": 1
}
16 changes: 16 additions & 0 deletions modules/skywalking-data-collect-protocol/metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"homepage": "https://github.com/apache/skywalking-data-collect-protocol",
"maintainers": [
{
"email": "[email protected]",
"name": "No Maintainer Specified"
}
],
"repository": [
"github:apache/skywalking-data-collect-protocol"
],
"versions": [
"9.7.0"
],
"yanked_versions": {}
}

0 comments on commit dce2339

Please sign in to comment.