Commit Graph

15 Commits

Author SHA1 Message Date
GitHub e9272ed091 Use latest rabbitmq-server-buildenv:linux-erlang-23.3
for remote build execution (RBE) with BuildBuddy
2021-09-23 08:54:30 +00:00
pjk25 40a89d74aa [create-pull-request] automated change 2021-09-14 03:06:24 +00:00
Philip Kuryloski 313410f5f4
Test nightly with Erlang built from otp/master (#3215)
Add a github actions workflow that tests with dev builds of erlang
2021-07-21 17:05:02 +02:00
Philip Kuryloski 242ba2c9e6 Pick up more recent rabbitmq-server-buildenv 2021-07-12 11:06:02 +02:00
Gerhard Lazu fae836f1c6
Remove rabbitmq_stream_prometheus plugin
All these metrics, except publishers & consumers, are handled by
rabbitmq_global_metrics, so we currently have duplicates. As I started
removing these, I realised that tests were written in Java - why not
Erlang? - and they seemed way too complicated for what was needed. After
the new rabbitmq_global_metrics, we are left with 2 metrics, and all the
extra code simply doesn't justify them. I am proposing that we add them to
rabbit_global_counters as gauges. Let's discuss @dcorbacho @acogoluegnes

Signed-off-by: Gerhard Lazu <gerhard@lazu.co.uk>
2021-06-22 14:14:26 +01:00
Philip Kuryloski df1a633aae Allow `bazel run repl` to start an erlang shell
with all plugins and deps on the code path
2021-06-15 17:14:03 +02:00
Philip Kuryloski ad8c6f8f64 Allow `bazel run rabbitmq-diagnostics` 2021-06-02 17:23:48 +02:00
Philip Kuryloski fe2e2cfe78 Use dialyzer on rabbit_common
Only dialyze errors will cause a build failure, similar to Erlang.mk
2021-05-28 13:03:55 +02:00
Philip Kuryloski 92173c1514 Make it possible to `bazel run rabbitmq-plugins` 2021-05-26 15:40:20 +02:00
Philip Kuryloski 687a7474be Add Erlang 24 testing to GitHub Actions 2021-05-17 09:43:11 +02:00
Philip Kuryloski 13793e039b Bazel file refactoring for rabbit
Also `bazel run broker` now includes all plugins to better match
`make run-broker`
2021-05-10 17:55:27 +02:00
Philip Kuryloski 999bed402c Add rabbitmq_peer_discovery_aws to bazel
For mysterious reasons, it turns out that using rabbit_ct_helpers:exec
with the `[binary]` option cause `aws ec2 describe-instances ...` to
fail with "bad argument". Removing the option and using
`list_to_binary/1` on the response before json parsing seems to
alleviate the issue.

Also make RABBITMQ_IMAGE non-optional for integration_SUITE
2021-05-05 09:51:00 +02:00
Philip Kuryloski 7eb1bdf38a Bump Bazel RBE docker image 2021-04-14 16:38:23 +02:00
Philip Kuryloski 01ae46cbc8 Use pinned container images for bazel build
Buildbuddy caches the image on worker start, and won't check for
changes in what is tagged. Using a pinned version should avoid
confusion later on.
2021-04-12 19:17:27 +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