summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--BUILD.trust_store_http15
-rw-r--r--workspace_helpers.bzl12
2 files changed, 8 insertions, 19 deletions
diff --git a/BUILD.trust_store_http b/BUILD.trust_store_http
deleted file mode 100644
index 7e0f7869bd..0000000000
--- a/BUILD.trust_store_http
+++ /dev/null
@@ -1,15 +0,0 @@
-load("@rules_erlang//:erlang_app.bzl", "erlang_app")
-
-erlang_app(
- app_description = "Trust store HTTP server",
- app_module = "trust_store_http_app",
- app_name = "trust_store_http",
- app_version = "1.0.0",
- extra_apps = [
- "ssl",
- ],
- deps = [
- "@cowboy//:erlang_app",
- "@jsx//:erlang_app",
- ],
-)
diff --git a/workspace_helpers.bzl b/workspace_helpers.bzl
index 10a3efd4b9..742a8b2d77 100644
--- a/workspace_helpers.bzl
+++ b/workspace_helpers.bzl
@@ -250,11 +250,15 @@ sed -i"_orig" -E '/VERSION/ s/[0-9]+\\.[0-9]+\\.[0-9]+/'${VERSION}'/' BUILD.baze
],
)
- new_git_repository(
+ github_erlang_app(
name = "trust_store_http",
- remote = "https://github.com/rabbitmq/trust-store-http.git",
- branch = "master",
- build_file = rabbitmq_workspace + "//:BUILD.trust_store_http",
+ org = "rabbitmq",
+ repo = "trust-store-http",
+ deps = [
+ "@cowboy//:erlang_app",
+ "@jsx//:erlang_app",
+ ],
+ sha256 = "e398967f37620c38a359e3e8c044a77c39a8d7869439fbb4fb4e19f293e7eb56",
)
RA_INJECT_GIT_VERSION = """