Skip to content

Commit 2d3e4a5

Browse files
committed
Fetch prometheus from hex instead of github in bazel
as we do in Make
1 parent 37b55d1 commit 2d3e4a5

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

workspace_helpers.bzl

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -174,12 +174,10 @@ erlang_lib(
174174
build_file = rabbitmq_workspace + "//:BUILD.osiris",
175175
)
176176

177-
github_bazel_erlang_lib(
177+
hex_pm_bazel_erlang_lib(
178178
name = "prometheus",
179-
org = "deadtrickster",
180-
repo = "prometheus.erl",
181-
ref = "v4.8.1",
182179
version = "4.8.1",
180+
sha256 = "6edfbe928d271c7f657a6f2c46258738086584bd6cae4a000b8b9a6009ba23a5",
183181
first_srcs = [
184182
"src/prometheus_collector.erl",
185183
"src/prometheus_format.erl",

0 commit comments

Comments
 (0)