Commit Graph

10 Commits

Author SHA1 Message Date
Michael Klishin f7d32d69f8 Introduce a new CLI tool (scope), rabbitmq-tanzu
For Tanzu (commercial) plugins to attach their commands to instead of
polluting rabbitmqctl.

Pair: @pjk25
(cherry picked from commit 6e0f2436fa)
2021-11-30 14:54:09 +00:00
Philip Kuryloski 11fd866247 Add the bazel target :package-generic-unix
Which can be used to build the artifact with bazel
2021-11-18 14:38:41 +01:00
Philip Kuryloski 1d4ddceb5d Fix handling of priv dirs for external deps
These were placed incorrectly for rabbitmq_home rules in bazel
2021-09-30 16:26:33 +02:00
Philip Kuryloski 8cc9806f07 Synchronize mixed versions approach with v3.8.x 2021-09-09 13:50:22 +02:00
Philip Kuryloski 2f69eaf7eb Use the correct "home" directory for rabbit in rabbitmq_home.bzl 2021-09-08 16:56:05 +02:00
Philip Kuryloski 3e2976384a Make it convenient to run the "secondary umbrella" under bazel
i.e. `bazel run @rabbitmq-server-generic-unix-3.8.18//:broker` or
`bazel run @rabbitmq-server-generic-unix-3.8.18//:rabbitmqctl`
2021-09-08 12:01:38 +02:00
Philip Kuryloski d6399bbb5b
Mixed version testing in bazel (#3200)
Unlike with gnu make, mixed version testing with bazel uses a package-generic-unix for the secondary umbrella rather than the source. This brings the benefit of being able to mixed version test releases built with older erlang versions (even though all nodes will run under the single version given to bazel)

This introduces new test labels, adding a `-mixed` suffix for every existing test. They can be skipped if necessary with `--test_tag_filters` (see the github actions workflow for an example)

As part of the change, it is now possible to run an old release of rabbit with rabbitmq_run rule, such as:

`bazel run @rabbitmq-server-generic-unix-3.8.17//:rabbitmq-run run-broker`
2021-07-19 14:33:25 +02:00
Philip Kuryloski ad8c6f8f64 Allow `bazel run rabbitmq-diagnostics` 2021-06-02 17:23:48 +02:00
Philip Kuryloski 078c897d2a Add rabbitmq_federation to bazel 2021-04-13 11:45:09 +02:00
Philip Kuryloski 388654c542
Add a partial Bazel build (#2938)
Adds WORKSPACE.bazel, BUILD.bazel & *.bzl files for partial build & test with Bazel. Introduces a build-time dependency on https://github.com/rabbitmq/bazel-erlang
2021-03-29 11:01:43 +02:00