Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
60 changes: 29 additions & 31 deletions MODULE.bazel
Original file line number Diff line number Diff line change
@@ -1,35 +1,34 @@
module(name = "com_github_buildbarn_bb_deployments")

bazel_dep(name = "abseil-cpp", version = "20240116.2")
bazel_dep(name = "aspect_bazel_lib", version = "2.9.4")
bazel_dep(name = "aspect_rules_js", version = "2.1.3")
bazel_dep(name = "bazel_remote_apis", version = "0")
bazel_dep(name = "aspect_bazel_lib", version = "2.20.0")
bazel_dep(name = "aspect_rules_js", version = "2.3.8")
bazel_dep(name = "bazel_remote_apis", version = "0.0.0")
bazel_dep(name = "com_github_buildbarn_bb_browser")
bazel_dep(name = "com_github_buildbarn_bb_remote_execution")
bazel_dep(name = "com_github_buildbarn_bb_storage")
bazel_dep(name = "com_github_buildbarn_go_xdr")
bazel_dep(name = "gazelle", version = "0.42.0")
bazel_dep(name = "googleapis", version = "0.0.0-20240819-fe8ba054a")
bazel_dep(name = "gazelle", version = "0.44.0")

# bazel_dep(name = "googleapis", version = "0.0.0-20250703-f9d6fe4a") # bb-remote-execution
bazel_dep(name = "googleapis", version = "0.0.0-20250604-de157ca3")
bazel_dep(name = "googletest", version = "1.15.2")
bazel_dep(name = "jsonnet_go", version = "0.20.0")
bazel_dep(name = "opentelemetry-proto", version = "1.5.0")
bazel_dep(name = "jsonnet_go", version = "0.21.0")
bazel_dep(name = "opentelemetry-proto", version = "1.7.0")
bazel_dep(name = "platforms", version = "0.0.11")
bazel_dep(name = "protobuf", version = "29.3")
bazel_dep(name = "toolchains_protoc", version = "0.4.3") # must come BEFORE protobuf so the toolchain registration wins
bazel_dep(name = "protobuf", version = "31.1")
bazel_dep(name = "remote_config_cc")
bazel_dep(name = "remote_config_sh")
bazel_dep(name = "rules_antlr")
bazel_dep(name = "rules_cc", version = "0.0.17")
bazel_dep(name = "rules_go", version = "0.53.0")
bazel_dep(name = "rules_jsonnet", version = "0.6.0")
bazel_dep(name = "rules_oci", version = "2.2.2")
bazel_dep(name = "rules_pkg", version = "1.0.1")
bazel_dep(name = "rules_go", version = "0.55.1")
bazel_dep(name = "rules_jsonnet", version = "0.7.2")
bazel_dep(name = "rules_oci", version = "2.2.6")
bazel_dep(name = "rules_pkg", version = "1.1.0")
bazel_dep(name = "rules_shell", version = "0.3.0")

# TODO.... NB 2024-11-18: rules_proto is 7.0.2 in bb-storage,
# but held back to be compatible with bb-remote-execution.
bazel_dep(name = "rules_proto", version = "7.1.0")
bazel_dep(name = "toolchains_llvm", version = "1.3.0")
bazel_dep(name = "toolchains_protoc", version = "0.3.4")
bazel_dep(name = "toolchains_llvm", version = "1.4.0")

# # Workarounds 2024-06-27
# ERROR: in tag at https://bcr.bazel.build/modules/grpc-java/1.62.2/MODULE.bazel:89:15: no repository visible as '@com_google_protobuf_javalite' to the repository '@@grpc-java~', but referenced by label '@com_google_protobuf_javalite//:protobuf_javalite' in attribute 'target' of tag 'override'. Is the module 'grpc-java' missing a bazel_dep or use_repo(..., "com_google_protobuf_javalite")?
Expand All @@ -50,14 +49,6 @@ single_version_override(
version = "3.19.0",
)

# # Workaround 2025-03-03: re2 has not created a new version yet
# This solves an issue with `bazel mod graph`.
git_override(
module_name = "re2",
commit = "c84a140c93352cdabbfb547c531be34515b12228",
remote = "https://github.com/google/re2",
)

bazel_dep(name = "buildifier_prebuilt", version = "6.4.0", dev_dependency = True)

http_archive = use_repo_rule("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
Expand Down Expand Up @@ -104,26 +95,29 @@ local_path_override(

git_override(
module_name = "bazel_remote_apis",
commit = "7f922028fcfac63bdd8431e68de152d9e7a9e2a0", # bb-storage
# commit = "a6328f5026d3b2ae27bd8efd86a0f1057ccab361", # bb-remote-execution
commit = "9ef19c6b5fbf77d6dd9d84d75fbb5a20a6b62ef1", # bb-storage
# commit = "e94a7ece2a1e8da1dcf278a0baf2edfe7baafb94", # bb-remote-execution
remote = "https://github.com/bazelbuild/remote-apis.git",
)

git_override(
module_name = "com_github_buildbarn_bb_browser",
commit = "9b44996f7d6a04185f61e7752cbe8649aaa59f16",
commit = "5d2ed98e07561fdad8b50d995e9b1a76d4a96450",
remote = "https://github.com/buildbarn/bb-browser.git",
)

git_override(
module_name = "com_github_buildbarn_bb_remote_execution",
commit = "1c726bdc27e7793c685d8788913f8f91f59bc887",
commit = "0ef36fa4ed17c2b9667f163d91fb10e9ace946f7",
remote = "https://github.com/buildbarn/bb-remote-execution.git",
)

git_override(
module_name = "com_github_buildbarn_bb_storage",
commit = "1d733a37487a01416bda38eff6f61eb78103c7f0",
# TODO(2025-08-19) bb-storage is held back one commit from
# commit = "75021325d8dc0aceffc4014a1e355e2f9b7f3202",
# for compatibility between SuspendableClock and the updated Clock interface.
commit = "139cf51268e0870b937633dd8b7fb255225ad9c8",
remote = "https://github.com/buildbarn/bb-storage.git",
)

Expand Down Expand Up @@ -153,8 +147,12 @@ single_version_override(
patches = ["//:patches/jsonnet/bazel-8.diff"],
)

# Match protobuf above, until it ships a pre-built binary toolchain itself
protoc = use_extension("@toolchains_protoc//protoc:extensions.bzl", "protoc")
protoc.toolchain(version = "v31.1")

go_sdk = use_extension("@rules_go//go:extensions.bzl", "go_sdk")
go_sdk.download(version = "1.24.0")
go_sdk.download(version = "1.24.5")

go_deps = use_extension("@gazelle//:extensions.bzl", "go_deps")
go_deps.from_file(go_mod = "//:go.mod")
Expand Down
Loading