Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
mmorel-35 authored Apr 8, 2024
1 parent 82d7634 commit ea6e8ae
Show file tree
Hide file tree
Showing 6 changed files with 75 additions and 0 deletions.
5 changes: 5 additions & 0 deletions modules/zipkin-api/1.0.0/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
module(
name = "zipkin-api",
version = "1.0.0",
compatibility_level = 1,
)
18 changes: 18 additions & 0 deletions modules/zipkin-api/1.0.0/patches/add_build_file.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
--- /dev/null
+++ BUILD.bazel
@@ -0,0 +1,15 @@
+proto_library(
+ name = "zipkin_proto",
+ srcs = [
+ "zipkin.proto",
+ ],
+ visibility = ["//visibility:public"],
+)
+
+proto_library(
+ name = "zipkin_jsonv2_proto",
+ srcs = [
+ "zipkin-jsonv2.proto",
+ ],
+ visibility = ["//visibility:public"],
+)
8 changes: 8 additions & 0 deletions modules/zipkin-api/1.0.0/patches/module_dot_bazel.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
--- MODULE.bazel
+++ MODULE.bazel
@@ -0,0 +1,5 @@
+module(
+ name = "zipkin-api",
+ version = "1.0.0",
+ compatibility_level = 1,
+)
18 changes: 18 additions & 0 deletions modules/zipkin-api/1.0.0/presubmit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
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_targets:
- '@zipkin-api//:zipkin_proto'
- '@zipkin-api//:zipkin_jsonv2_proto'
10 changes: 10 additions & 0 deletions modules/zipkin-api/1.0.0/source.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"url": "https://github.com/openzipkin/zipkin-api/archive/refs/tags/1.0.0.tar.gz",
"integrity": "sha256-bI7iAUzwdGukUuXywB8DjfYOhestkQsib5qifdwORM8=",
"strip_prefix": "zipkin-api-1.0.0",
"patches": {
"add_build_file.patch": "sha256-dArUcsY31vXF/WickIO6wJL1dhb/UdBdwLlcExZnVZk=",
"module_dot_bazel.patch": "sha256-HM0FvHWvQnsi5aVL5/9F99AfTHc4wzLYxYVjY1DIsek="
},
"patch_strip": 0
}
16 changes: 16 additions & 0 deletions modules/zipkin-api/metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"homepage": "https://github.com/openzipkin/zipkin-api",
"maintainers": [
{
"email": "[email protected]",
"name": "No Maintainer Specified"
}
],
"repository": [
"github:openzipkin/zipkin-api"
],
"versions": [
"1.0.0"
],
"yanked_versions": {}
}

0 comments on commit ea6e8ae

Please sign in to comment.