Commit Graph

6 Commits

Author SHA1 Message Date
Philip Kuryloski 8cc9806f07 Synchronize mixed versions approach with v3.8.x 2021-09-09 13:50:22 +02:00
Philip Kuryloski eec4a04289 Fix a typo in rabbitmq-run.sh 2021-09-08 16:55:35 +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 b16274b4ab Update scripts/bazel/rabbitmq-run.sh to match the Makefile version
Previously the log level was hard coded.
`RABBITMQ_LOG=info,+color RABBITMQ_LOGS=- bazel run broker` will log to
the console
2021-06-08 17:31:36 +02:00
Philip Kuryloski 95cad1b2aa Allow plugin selection when running //:broker from bazel 2021-05-25 16:09:31 +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