Skip to content

Commit

Permalink
Use rules_jsonnet from BCR
Browse files Browse the repository at this point in the history
This allows us to drop the direct dependency on jsonnet_go entirely.
Only bb-storage has a direct code dependency on it.
  • Loading branch information
EdSchouten committed Apr 1, 2024
1 parent f84a2c0 commit ea22f37
Show file tree
Hide file tree
Showing 5 changed files with 180 additions and 215 deletions.
11 changes: 2 additions & 9 deletions MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,17 @@ bazel_dep(name = "com_github_buildbarn_bb_storage")
bazel_dep(name = "com_github_buildbarn_go_xdr")
bazel_dep(name = "gazelle", version = "0.35.0")
bazel_dep(name = "googleapis", version = "0.0.0-20240326-1c8d509c5")
bazel_dep(name = "jsonnet_go", version = "0.20.0", repo_name = "google_jsonnet_go")
bazel_dep(name = "protobuf", version = "23.1")
bazel_dep(name = "rules_go", version = "0.46.0")
bazel_dep(name = "rules_jsonnet", version = "0.5.0")
bazel_dep(name = "rules_oci", version = "1.7.5")
bazel_dep(name = "rules_pkg", version = "0.10.1")
bazel_dep(name = "rules_proto", version = "6.0.0-rc2")
bazel_dep(name = "toolchains_llvm", version = "1.0.0")

git_override(
module_name = "com_github_buildbarn_bb_storage",
commit = "914e53aad8cd16fc4c1ecd7f706149e8440ea24a",
commit = "dee7e428a0bd962b192512aad8f3ff76dcc0f437",
remote = "https://github.com/buildbarn/bb-storage.git",
)

Expand Down Expand Up @@ -130,13 +130,6 @@ http_archive(
urls = ["https://github.com/twbs/bootstrap/releases/download/v5.1.0/bootstrap-5.1.0-dist.zip"],
)

http_archive(
name = "io_bazel_rules_jsonnet",
sha256 = "c51ba0dba41d667fa5c64e56e252ba54be093e5ae764af6470dabca901f373eb",
strip_prefix = "rules_jsonnet-0.5.0",
urls = ["https://github.com/bazelbuild/rules_jsonnet/archive/0.5.0.tar.gz"],
)

http_file = use_repo_rule("@bazel_tools//tools/build_defs/repo:http.bzl", "http_file")

http_file(
Expand Down
Loading

0 comments on commit ea22f37

Please sign in to comment.