diff options
| author | Philip Kuryloski <kuryloskip@vmware.com> | 2021-05-07 13:01:01 +0200 |
|---|---|---|
| committer | Philip Kuryloski <kuryloskip@vmware.com> | 2021-05-07 13:01:01 +0200 |
| commit | 3d6230432a4dbcaea83e304d0dc49ba457353fce (patch) | |
| tree | 68f992f4092b1bc362f01ad13a6a269e8b064969 /workspace_helpers.bzl | |
| parent | 59f0076b0bfb752abd543fcb52943b4555300a6f (diff) | |
| download | rabbitmq-server-git-3d6230432a4dbcaea83e304d0dc49ba457353fce.tar.gz | |
Add rabbitmq_trust_store to bazel
Diffstat (limited to 'workspace_helpers.bzl')
| -rw-r--r-- | workspace_helpers.bzl | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/workspace_helpers.bzl b/workspace_helpers.bzl index e6d3195be7..42892c16df 100644 --- a/workspace_helpers.bzl +++ b/workspace_helpers.bzl @@ -50,6 +50,11 @@ def rabbitmq_external_deps(rabbitmq_workspace = "@rabbitmq-server"): ) github_bazel_erlang_lib( + name = "ct_helper", + org = "extend", + ) + + github_bazel_erlang_lib( name = "cuttlefish", org = "Kyorai", ) @@ -242,11 +247,18 @@ erlang_lib( commit = "e732727b0b637eb29e8adc77a4eb46d7ebc0f41a", build_file = rabbitmq_workspace + "//:BUILD.systemd", patch_cmds = [ - INJECT_GIT_VERSION, + SYSTEMD_INJECT_GIT_VERSION, ], ) -INJECT_GIT_VERSION = """set -euo pipefail + new_git_repository( + name = "trust_store_http", + remote = "https://github.com/rabbitmq/trust-store-http.git", + branch = "master", + build_file = rabbitmq_workspace + "//:BUILD.trust_store_http", + ) + +SYSTEMD_INJECT_GIT_VERSION = """set -euo pipefail V="$(git describe --dirty --abbrev=7 --tags --always --first-parent 2>/dev/null \\ || git describe --dirty --abbrev=7 --tags --always 2>/dev/null || true)" cat src/systemd.app.src \\ |
