Skip to content

Commit

Permalink
Add rules_proto 6.0.0.bcr.1 (#2137)
Browse files Browse the repository at this point in the history
This is the same as 6.0.0 but rules_cc is not a dev dep

bazelbuild/rules_proto#211
  • Loading branch information
keith authored May 29, 2024
1 parent b8852e7 commit d28305c
Show file tree
Hide file tree
Showing 5 changed files with 64 additions and 1 deletion.
19 changes: 19 additions & 0 deletions modules/rules_proto/6.0.0.bcr.1/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
"Bazel dependencies"

module(
name = "rules_proto",
# Note: the publish-to-BCR app will patch this line to stamp the version being published.
version = "6.0.0.bcr.1",
compatibility_level = 1,
)

bazel_dep(name = "rules_license", version = "0.0.7")
bazel_dep(name = "bazel_skylib", version = "1.3.0")
bazel_dep(name = "bazel_features", version = "1.4.1")
bazel_dep(name = "rules_cc", version = "0.0.1")

# Dependencies needed in tests
bazel_dep(name = "stardoc", version = "0.5.6", dev_dependency = True, repo_name = "io_bazel_stardoc")
bazel_dep(name = "googletest", version = "1.11.0", dev_dependency = True, repo_name = "com_google_googletest")
bazel_dep(name = "protobuf", version = "23.1", dev_dependency = True, repo_name = "com_google_protobuf")
bazel_dep(name = "platforms", version = "0.0.8", dev_dependency = True)
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
diff --git a/MODULE.bazel b/MODULE.bazel
index d69b785..fdb608d 100644
--- a/MODULE.bazel
+++ b/MODULE.bazel
@@ -3,17 +3,17 @@
module(
name = "rules_proto",
# Note: the publish-to-BCR app will patch this line to stamp the version being published.
- version = "0.0.0",
+ version = "6.0.0.bcr.1",
compatibility_level = 1,
)

bazel_dep(name = "rules_license", version = "0.0.7")
bazel_dep(name = "bazel_skylib", version = "1.3.0")
bazel_dep(name = "bazel_features", version = "1.4.1")
+bazel_dep(name = "rules_cc", version = "0.0.1")

# Dependencies needed in tests
bazel_dep(name = "stardoc", version = "0.5.6", dev_dependency = True, repo_name = "io_bazel_stardoc")
-bazel_dep(name = "rules_cc", version = "0.0.1", dev_dependency = True)
bazel_dep(name = "googletest", version = "1.11.0", dev_dependency = True, repo_name = "com_google_googletest")
bazel_dep(name = "protobuf", version = "23.1", dev_dependency = True, repo_name = "com_google_protobuf")
bazel_dep(name = "platforms", version = "0.0.8", dev_dependency = True)
10 changes: 10 additions & 0 deletions modules/rules_proto/6.0.0.bcr.1/presubmit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
matrix:
platform: ["centos7", "debian10", "macos", "ubuntu2004", "windows"]
bazel: ['7.x', '6.x']
tasks:
verify_build_targets:
name: "Verify build targets"
bazel: ${{ bazel }}
platform: ${{ platform }}
build_targets:
- "@rules_proto//proto/..."
9 changes: 9 additions & 0 deletions modules/rules_proto/6.0.0.bcr.1/source.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"integrity": "sha256-MD6G5yKlIPbzJqULQc/Ba5j+bRlVzkZkKlt6Z8EcD10=",
"strip_prefix": "rules_proto-6.0.0",
"url": "https://github.com/bazelbuild/rules_proto/releases/download/6.0.0/rules_proto-6.0.0.tar.gz",
"patches": {
"module_dot_bazel_version.patch": "sha256-O611MTM6jc/FSREFg1XadlJTs+0AEV0OXw5rymD9w74="
},
"patch_strip": 1
}
3 changes: 2 additions & 1 deletion modules/rules_proto/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@
"6.0.0-rc1",
"6.0.0-rc2",
"6.0.0-rc3",
"6.0.0"
"6.0.0",
"6.0.0.bcr.1"
],
"yanked_versions": {},
"repository": [
Expand Down

0 comments on commit d28305c

Please sign in to comment.