Skip to content

Commit

Permalink
Automate publishing dataproxy to secretflow/bazel-registry (#18)
Browse files Browse the repository at this point in the history
* Automate publishing dataproxy to secretflow/bazel-registry

* chore: update bazel_dep kuscia & update module version
  • Loading branch information
tongke6 authored Jan 23, 2025
1 parent 4bb95c8 commit d30da95
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 6 deletions.
7 changes: 7 additions & 0 deletions .bcr/metadata.template.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"homepage": "https://github.com/secretflow/dataproxy",
"maintainers": [],
"repository": ["github:secretflow/dataproxy"],
"versions": [],
"yanked_versions": {}
}
16 changes: 16 additions & 0 deletions .bcr/presubmit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
matrix:
platform:
- debian10
- ubuntu2004
- macos
- macos_arm64
- windows
bazel:
- 7.x
tasks:
verify_targets:
name: Verify build targets
platform: ${{ platform }}
bazel: ${{ bazel }}
build_targets:
- "@dataproxy//..."
5 changes: 5 additions & 0 deletions .bcr/source.template.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"integrity": "",
"strip_prefix": "{REPO}-{VERSION}",
"url": "https://github.com/{OWNER}/{REPO}/archive/refs/tags/{TAG}.tar.gz"
}
8 changes: 2 additions & 6 deletions MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@

module(
name = "dataproxy",
version = "0.3.0b1",
compatibility_level = 1,
)

Expand Down Expand Up @@ -71,12 +72,7 @@ single_version_override(
version = "1.66.0.bcr.3",
)

bazel_dep(name = "kuscia")
git_override(
module_name = "kuscia",
commit = "a1208dcdab6682dfc6d3ae21b2d5990e917cbf2f",
remote = "https://github.com/secretflow/kuscia.git",
)
bazel_dep(name = "kuscia", version = "0.13.0b1")

# # test
bazel_dep(name = "googletest", version = "1.15.2", dev_dependency = True)
Expand Down

0 comments on commit d30da95

Please sign in to comment.