Skip to content

Commit d30da95

Browse files
authored
Automate publishing dataproxy to secretflow/bazel-registry (#18)
* Automate publishing dataproxy to secretflow/bazel-registry * chore: update bazel_dep kuscia & update module version
1 parent 4bb95c8 commit d30da95

File tree

4 files changed

+30
-6
lines changed

4 files changed

+30
-6
lines changed

.bcr/metadata.template.json

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"homepage": "https://github.com/secretflow/dataproxy",
3+
"maintainers": [],
4+
"repository": ["github:secretflow/dataproxy"],
5+
"versions": [],
6+
"yanked_versions": {}
7+
}

.bcr/presubmit.yml

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
matrix:
2+
platform:
3+
- debian10
4+
- ubuntu2004
5+
- macos
6+
- macos_arm64
7+
- windows
8+
bazel:
9+
- 7.x
10+
tasks:
11+
verify_targets:
12+
name: Verify build targets
13+
platform: ${{ platform }}
14+
bazel: ${{ bazel }}
15+
build_targets:
16+
- "@dataproxy//..."

.bcr/source.template.json

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"integrity": "",
3+
"strip_prefix": "{REPO}-{VERSION}",
4+
"url": "https://github.com/{OWNER}/{REPO}/archive/refs/tags/{TAG}.tar.gz"
5+
}

MODULE.bazel

+2-6
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414

1515
module(
1616
name = "dataproxy",
17+
version = "0.3.0b1",
1718
compatibility_level = 1,
1819
)
1920

@@ -71,12 +72,7 @@ single_version_override(
7172
version = "1.66.0.bcr.3",
7273
)
7374

74-
bazel_dep(name = "kuscia")
75-
git_override(
76-
module_name = "kuscia",
77-
commit = "a1208dcdab6682dfc6d3ae21b2d5990e917cbf2f",
78-
remote = "https://github.com/secretflow/kuscia.git",
79-
)
75+
bazel_dep(name = "kuscia", version = "0.13.0b1")
8076

8177
# # test
8278
bazel_dep(name = "googletest", version = "1.15.2", dev_dependency = True)

0 commit comments

Comments
 (0)