summaryrefslogtreecommitdiff
path: root/rabbitmqctl.bzl
Commit message (Collapse)AuthorAgeFilesLines
* Fix shell quoting in bazel rabbitmqctl helperAlexey Lebedeff2023-02-011-1/+1
| | | | E.g. any complex `rabbitmqctl eval` was not possible via `bazel run rabbitmqctl`.
* Make rabbitmq-server work with rules_erlang 3Philip Kuryloski2022-06-081-4/+0
| | | | | | | | | | | | | | | | | | | | Also rework elixir dependency handling, so we no longer rely on mix to fetch the rabbitmq_cli deps Also: - Specify ra version with a commit rather than a branch - Fixup compilation options for erlang 23 - Add missing ra reference in MODULE.bazel - Add missing flag in oci.yaml - Reduce bazel rbe jobs to try to save memory - Use bazel built erlang for erlang git master tests - Use the same cache for all the workflows but windows - Avoid using `mix local.hex --force` in elixir rules - Fetching seems blocked in CI, and this should reduce hex api usage in all builds, which is always nice - Remove xref and dialyze tags since rules_erlang 3 includes them in the defaults
* Use rules_erlang v2Philip Kuryloski2022-01-181-2/+2
| | | | | | | | bazel-erlang has been renamed rules_erlang. v2 is a substantial refactor that brings Windows support. While this alone isn't enough to run all rabbitmq-server suites on windows, one can at least now start the broker (bazel run broker) and run the tests that do not start a background broker process
* Make it convenient to run the "secondary umbrella" under bazelPhilip Kuryloski2021-09-081-3/+3
| | | | | i.e. `bazel run @rabbitmq-server-generic-unix-3.8.18//:broker` or `bazel run @rabbitmq-server-generic-unix-3.8.18//:rabbitmqctl`
* Mixed version testing in bazel (#3200)Philip Kuryloski2021-07-191-3/+0
| | | | | | | | | 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`
* Make it possible to `bazel run rabbitmq-plugins`Philip Kuryloski2021-05-261-2/+5
|
* Add a partial Bazel build (#2938)Philip Kuryloski2021-03-291-0/+32
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