Commit Graph

300 Commits

Author SHA1 Message Date
Rin Kuryloski 56aab34fb5 Use erlang 26.0 instead of rc3 in bazel 2023-05-17 15:45:26 +02:00
Rin Kuryloski 6fe4ba18dd Use the latest rules_erlang 2023-05-16 14:11:57 +02:00
Rin Kuryloski eb94a58bc9 Add a workflow to compare the bazel/erlang.mk output
To catch any drift between the builds
2023-05-15 13:54:14 +02:00
Rin Kuryloski dad871e86c Update rules_pkg to 0.9.1 2023-05-12 12:45:01 +02:00
Rin Kuryloski 92b0a81c60 Use rules_erlang 3.10.0 2023-05-12 08:41:01 +02:00
Michael Klishin c9c6730cc5 Pin Ra to 2.6.1 2023-05-12 01:48:47 +04:00
Michael Klishin 441a77f6d0 Pin Ra to 2.6.0-pre.1 2023-05-11 23:25:58 +04:00
GitHub 817808b9ef Adopt otp 25.3.2 2023-05-06 03:05:31 +00:00
Michael Klishin 2d51c8c99b Bump Osiris to 1.5.1 2023-05-05 00:09:45 +04:00
Michal Kuratczyk 48086bfec9
Bump credentials_obfuscation to 3.4.0 2023-05-04 15:31:01 +02:00
Loïc Hoguin e6e68fcb0b
Update Cowboy to 2.10.0 for OTP-26
We already were using Cowlib 2.12.1 and therefore were
compatible with OTP-26. This simply updates Cowboy to
the version that depends on Cowlib 2.12.1.
2023-04-28 15:34:12 +02:00
GitHub 13d5bb2329 Adopt otp 25.3.1 2023-04-28 03:14:13 +00:00
Michal Kuratczyk cff2c65302
Use emqtt from the otp-26-compatibility branch 2023-04-26 11:06:23 +02:00
Michal Kuratczyk 858ed1bff6
Switch to an emqtt fork/branch for OTP26
This change should be reverted once emqx/emqtt is OTP26 compatible.
Our fork/branch isn't either at this point, but at least partially
works. Let's use this branch for now to uncover server-side OTP26
incompatibilities (and continue working on OTP26 support for emqtt of
course).
2023-04-26 11:06:23 +02:00
GitHub 1b8c4b258d Adopt elixir 1.14.4 2023-04-26 07:12:03 +00:00
Rin Kuryloski 09af4fdd25 Use rules_erlang 3.9.14 2023-04-25 16:15:36 +02:00
Rin Kuryloski 854d01d9a5 Restore the original -include_lib statements from before #6466
since this broke erlang_ls

requires rules_erlang 3.9.13
2023-04-20 12:40:45 +02:00
Rin Kuryloski 2bb0b42c85 Add OTP 26.0-rc3 config to bazel 2023-04-14 18:23:33 +02:00
Rin Kuryloski 42268d8c75 Use rules_erlang 3.9.12 which has the new plt attrs 2023-04-14 11:41:37 +02:00
Rin Kuryloski 12153ed823 Fetch github.com/hexpm/hex via bzlmod
This fixes a visibility issue when a bazel module depends on
rabbitmq-server
2023-04-13 09:45:28 +02:00
Rin Kuryloski f09b31e8c5
Fetch all cli deps with bazel (#7875)
* Fetch all prod cli deps with bazel

This avoids issues with hex and OTP 26, and is needed for offline
bazel builds anyway

* Fetch test cli deps with bazel

* mix format
2023-04-12 16:27:32 +04:00
Michael Klishin ac89309a9c
Merge pull request #7846 from rabbitmq/stream-at-most-once-dead-lettering
Streams: make at-most-once dead lettering work
2023-04-05 19:42:26 +04:00
Arnaud Cogoluègnes 70af1c4607
Merge pull request #7827 from rabbitmq/qq-return-crash
Quorum queues: avoid potential crash when returning message.
2023-04-05 16:56:55 +02:00
Karl Nilsson e7d7f6f225 Streams: make at-most-once dead lettering to work
Previously osiris did not support uncorrelated writes which means
we could not use a "stateless" queue type delivery and these were
silently dropped.

This had the impact that at-most-once dead letter was not possible
where the dead letter target is a stream.

This change bumps the osiris version that has the required API
to allow for uncorrelated writes (osiris:write/2).

Currently there is no feature flag to control this as osiris writer
processes just logs and drops any messages they don't understand.
2023-04-05 15:34:22 +01:00
Arnaud Cogoluègnes cdf4ec5944
Use Ra 2.5.1 2023-04-05 15:37:20 +02:00
Michael Klishin b26b371f21
Merge pull request #7821 from rabbitmq/lh-update-ct-helper
Update ct_helper
2023-04-04 21:52:46 +04:00
Karl Nilsson 01f6d0fc19 Quorum queues: avoid potential crash when returning message.
Returns reaching a Ra member that used to be leader but now has stepped
down would cause that follower to crash and restart.

This commit avoids this scenario as well as giving the return commands
a good chance of being resent to the new leader in a timeley manner.
(see the Ra release for this).
2023-04-04 16:02:26 +01:00
Loïc Hoguin 53c6d19434
Update ct_helper
Since ct_helper removes erl_make_certs some tests needed
to be updated to use public_key:pkix_test_data/1 instead.
2023-04-04 13:01:33 +02:00
Loïc Hoguin 31a84183e5
Update Cowlib to 2.12.1
This fixes a compilation error with OTP-26.
2023-04-04 09:19:00 +02:00
Michael Davis fb48d4623c bazel: Pin ct_helper 2023-03-30 21:13:32 +04:00
Rin Kuryloski 8b08bff908 Remove "dev_dependency = True" from erlang_dev_package in MODULE
deps/rabbitmq_ct_helpers depends on proper and meck, so unfortunately
if proper and meck are marked as dev dependencies, bazel modules
depending on rabbitmq-server cannot build it

Another way of putting it is that they are not actually "dev"
dependencies of for all components that rabbitmq-server exposes
2023-03-16 08:45:57 +01:00
Rin Kuryloski eba1d531c9 Fetch cli prod deps via bazel or erlang.mk instead of mix
In preparation for offline bazel builds
2023-03-14 23:11:36 +01:00
Karl Nilsson 36c2417bac Ra 2.5.0
This Ra release includes improvements to Ra server GC behaviour when receiving a lot
of low priority commands with large binary payloads (e.g. quorum queue messages).

Practically this allows quorum queues to accept large amounts of messages in a more predicatble and performant manner.

This change also removes ra_file_handle cache that was used as a bridge between ra file operations and RabbitMQ io metrics. Lots of components in RabbitMQ such as streams and CQv2s do not record io metrics in the previous manner due to overhead incurred for every file io operation. These metrics are better inspected at the OS level anyway.
2023-03-09 14:20:21 +00:00
Rin Kuryloski 3ebfa257e2 Add OTP 25.3 to the build and CI matrix as otp-max 2023-03-08 15:21:27 +01:00
GitHub e6b781c14b Adopt elixir 1.13.4 2023-03-02 03:11:34 +00:00
Rin Kuryloski 778ee998a6 Further annotate test deps with new rules_erlang 3.9.9 features 2023-02-28 16:47:02 +01:00
Rin Kuryloski faaf78bbed Mark test deps as dev_dependency in MODULE.bazel
This keeps other modules depending on rabbitmq-server from inheriting
these deps
2023-02-28 12:44:45 +01:00
Karl Nilsson 59a9069fba Update Ra to 2.4.9
This Ra release
    * Omproves election availability in certain mixed versions failure
      scenarios
    * Optimises segment reference compaction which may becomes expensive
      in quorum queues with very long backlogs
    * Various log message improvements and level tweaks
    * Better cleans up machine monitor records after quorum queue rebalancing
2023-02-22 08:26:34 +00:00
David Ansari bf2a97a20a Bump emqx/emqtt to 1.8.2 2023-02-21 17:25:19 +01:00
GitHub 209a815af7 Adopt otp 25.2.3 2023-02-18 03:05:21 +00:00
Rin Kuryloski 2dc0236101 Regenerate bazel/BUILD.eetcd with the latest rules_erlang
`bazel run gazelle -- update-repos --verbose --build_files_dir=bazel
hex.pm/eetcd@0.3.6`

Related to #7196
2023-02-15 15:35:51 +01:00
Rin Kuryloski 06c5593fe7 Use 3.13.0 as the default version in bazel for this branch 2023-02-14 16:36:37 +01:00
Rin Kuryloski 8a7e43e11a enable maybe expression in all tests 2023-02-07 16:36:08 +01:00
David Ansari 2d0826c335 Add OAuth 2.0 MQTT system test
Add a test that rabbitmq_auth_backend_oauth2 works with MQTT.

See https://github.com/rabbitmq/rabbitmq-oauth2-tutorial#mqtt-protocol
2023-02-03 14:08:51 +00:00
Rin Kuryloski bdb2046185
Add rabbitmq_cli dialyze to bazel (#7066)
* Add rabbitmq_cli dialyze to bazel

and fix a number of warnings

Because we stop mix from recompiling rabbit_common in bazel, many
unknown functions are reported, so this dialyzer analysis is somewhat
incomplete.

* Use erlang dialyzer for rabbitmq_cli rather than mix dialyzer

Since this resolves all of the rabbit functions, there are far fewer
unknown functions.

Requires yet to be released rules_erlang 3.9.2

* Temporarily use pre-release rules_erlang

So that checks can run on this PR without a release

* Fix additional dialyzer warnings in rabbitmq_cli

* rabbitmq_cli: mix format

* Additional fixes for ignored return values

* Revert "Temporarily use pre-release rules_erlang"

This reverts commit c16b5b6815.

* Use rules_erlang 3.9.2
2023-01-31 15:05:52 +01:00
GitHub 463682242e Adopt otp 25.2.2 2023-01-31 03:06:46 +00:00
Michael Klishin bed4519995
Bump Thoas to 1.0.0 2023-01-27 13:58:52 -05:00
Rin Kuryloski 352db2e036 Reference BUILD.lib_name files with full label in MODULE.bazel
This allows the files to be resolved, if another repo depends on this
one
2023-01-27 16:41:30 +01:00
GitHub be2e99123f Adopt otp 25.2.1 2023-01-26 03:11:45 +00:00
Rin Kuryloski 2c7b37d7af
Use gazelle for external erlang deps (#6935)
* Add gazelle for use with update-repos command

* Use explicit BUILD.app_name files for erlang app deps

This allows us to remove the duplicate definitions in
workspace_helpers.bzl

These files are generated with gazelle. For instance:
BUILD.ra is generated with `bazel run gazelle -- update-repos
--verbose --build_files_dir=bazel hex.pm/ra@2.4.6`

Running gazelle this way will modify the WORKSPACE file, as gazelle
does not yet support MODULE.bazel files. Such changes to the WORKSPACE
can be dropped, and should not be committed. It may also update the
`moduleindex.yaml` file. Changes to `moduleindex.yaml` should be
committed.

However
* skip the explicit bazel/BUILD.osiris file, as osiris already contains the file in its repo
* skip the explict BUILD.inet_tcp_proxy_dist file, since the repo already contains a bazel BUILD.bazel file
  gazelle command: `bazel run gazelle -- update-repos --verbose --build_files_dir=bazel
inet_tcp_proxy_dist=github.com/rabbitmq/inet_tcp_proxy@master`
* jose is imported with `bazel run gazelle -- update-repos --verbose --build_files_dir=bazel
jose=github.com/michaelklishin/erlang-jose@d63c1c5c8f9c1a4f1438e234b886de8607a0034e`

* Move the bats dep directly to WORKSPACE, drop workspace_helpers.bzl

* Use bzlmod in windows tests
2023-01-25 09:41:56 +01:00
Alexey Lebedeff 183a260290 Fix all dialyzer warnings in peer discovery plugins 2023-01-23 22:32:06 +00:00
Michael Klishin 7ace097f5b
Merge pull request #6932 from rabbitmq/bump-otp-25.1
Adopt otp 25.1.2.1
2023-01-19 08:04:15 -06:00
Michal Kuratczyk b8691b720b
Merge pull request #6862 from rabbitmq/small-chunks-opts
Move nopush to reader to try to better make use of packets
2023-01-19 09:01:24 +01:00
GitHub 20ff35eef8 Adopt otp 25.1.2.1 2023-01-19 03:06:50 +00:00
GitHub 7a4a8db4b9 Adopt otp 25.2.1 2023-01-18 03:06:33 +00:00
Rin Kuryloski 2cd020a0da rules_erlang 3.9.0 compatibility
the elixir toolchain uses some private apis, and needed updating to
match internal changes in rules_erlang
2023-01-17 17:08:09 +01:00
Karl Nilsson 83880154de Streams: Move nopush to reader to try to combine small chunks into larger IP packets.
Also change consumer credit top-ups to delay calling send_chunks until there is a "batch"
of credit to consume. Most clients at the time of writing send single credit updates after receiving each chunk so here we won't enter the send loop unless there are more than half the initial credits available.

osiris v1.4.3
2023-01-17 14:01:42 +00:00
Michal Kuratczyk 510415f8b9
Update prometheus.erl to 4.10.0
Since 4.10.0 was released specifically to address an issue we
encountered in RabbitMQ integration with prometheus.erl, new test was
added to validate this functionality in the future.
2023-01-13 10:24:41 +01:00
GitHub 453c45fe80 Adopt otp 25.1.2 2023-01-11 03:05:33 +00:00
Rin Kuryloski 06a330f553 format with buildifier 2023-01-05 12:39:25 +01:00
Luke Bakken f56557a53c
Pin to recon 2.5.3
https://github.com/ferd/recon/issues/102

Huzzah!
2022-12-23 11:13:40 -08:00
Karl Nilsson b1de79c9e0 Ra 2.4.6
This release includes improvements for paths containing unicode characters
and a stale read fix for the `ra:consistent_read/2` function.
2022-12-21 15:16:17 +00:00
GitHub ec4ce0ac17 Adopt elixir 1.13.4 2022-12-21 03:04:28 +00:00
Luke Bakken 943668c9b1 pin recon to cf5bfc290c6cdd46bea45ae4a6418e9802d511e5 2022-12-20 18:32:39 +00:00
Rin Kuryloski e799daa24e Use rules_erlang 3.8.5 2022-12-19 11:16:04 +01:00
Michael Klishin 571b1f5a1f
Merge pull request #6681 from rabbitmq/adopt-OTP-25.2
Adopt OTP 25.2
2022-12-16 01:38:21 +04:00
Michal Kuratczyk d78b8b3a2a
Adopt OTP 25.2 2022-12-15 11:08:21 +01:00
Arnaud Cogoluègnes d3caa1cdaa
Merge pull request #6440 from rabbitmq/stream-balancing
Streams rebalancing
2022-12-14 16:51:30 +01:00
Rin Kuryloski 27653f5130
Fix rules erlang version in WORKSPACE file
it did not match MODULE.bazel as it should
2022-12-14 14:12:13 +01:00
Michael Klishin 3d384838a7
Bump Ra to 2.4.5 2022-12-13 16:05:24 +04:00
Karl Nilsson b41476a5ff QQ: introduce configuration for mem table compression.
Mem table compression is configurable in Ra from v2.4.4 and reduces
peek ETS table use at a relatively small throughput penalty.
2022-12-07 16:04:17 +00:00
GitHub b33581763c Adopt otp 25.1.2 2022-12-06 03:06:08 +00:00
Rin Kuryloski 7bfc42abac Add deps info for ra when it is fetched from hex.pm
Currently ra is not published to hex.pm with the bazel files that are
available when fetched directly from github, so additional hints must
be provided in the MODULE.bazel for now
2022-12-05 15:04:36 +01:00
Karl Nilsson a0f3b6b452 Update Ra to 2.4.3
This release contains additional configuration parameters to control
Ra replication behaviour.
2022-12-05 11:25:58 +00:00
Karl Nilsson a2afb70fe7 Osiris v1.4.2
Multiple improvements around stream replication and optimisations
needed for reliable stream rebalancing.
2022-11-30 14:22:25 +00:00
Karl Nilsson 9736425fa5 Add restart_stream command to rabbitmq-streams
Also add epoch to stream_status output which requires osiris 1.4.1
2022-11-29 16:30:41 +00:00
Karl Nilsson ef5f2c0b47 Osiris 1.4.0
This includes:

* async replica initialisation - making definitions import
and bulk restarts faster.
* Faster end of stream handling - lowering cpu use in clusters
with many low throughput streams
* Makes osiris binary string friendly so that paths do not have to be lists
anymore.
* Periodic max_age retention evaluation. Streams with max_age retention settings
are now re-evaluated every 1hr to reclaim disk space for streams that are idle but
have segments that only have old message data. Before retention would only be evaluated
when streams were written to and a new segment was opened.
2022-11-21 10:04:22 +00:00
Rin Kuryloski d733c1d9d6 Remove unnecessary patch commands in bazel repos
When the version of osiris is a published version, there is no longer
a need to inject the git sha as its version. Other patches are no
longer needed now that osiris is caught up to the same rules_erlang
major.
2022-11-08 12:13:21 +01:00
Rin Kuryloski 712c9ad8f2 Adjust generated .app file for ra to include seshat as a dep
The quality of auto-detection of properities of a hex dependency was
improved with bzlmod, thus in the MODULE.bazel file, ra is handled
correctly with no hints. In WORKSPACE.bazel/workspace_helpers.bzl,
this not the case, so a full build_file_content is needed.

Bazel 6, due this month, takes bzlmod out of experimental status, so I
don't expect to close up the difference between the systems.

The easier solution is to publish ra to hex.pm with the BUILD.bazel
file included, as it exists in the ra source, and is correct,
eliminating the need for any auto-generation of it when
imported/referenced by rabbitmq-server
2022-11-08 08:45:36 +01:00
Michael Davis 24297f5e59
Bump Ra to 2.4.1 2022-11-07 18:40:58 -06:00
Michael Klishin 8ad1c8be5c
Bump credentials_obfuscation to 3.2.0 2022-11-08 03:35:33 +04:00
Michael Klishin a1cedeb859
Seshat 0.4.0 2022-11-08 02:45:06 +04:00
Michael Klishin 20b02321c3
Bump Osiris to 1.3.3 2022-11-08 02:39:38 +04:00
GitHub 331b78a913 Adopt otp 25.1.2 2022-11-05 03:37:18 +00:00
Karl Nilsson f17dd084da Upgrade osiris version to v1.3.2
Which contains an important fix that ensures seshat counter records
are cleaned up properly when the osiris log readers are closed.
2022-11-03 16:54:31 +00:00
Rin Kuryloski 7edfcd0b2a Remove trust_store_http from MODULE.bazel since it's an internal dep
Seems to have been an accidental result of conflict resolution in
fe13f69338
2022-11-03 10:11:40 +01:00
Rin Kuryloski 8136f01209 Mark @rbe as non-dev dependency
If it's a dev dependency, projects that depend on rabbitmq-server as a
bzlmod module cannot borrow rabbitmq-server's platform definitions, as
the rbe repo won't be visible to rabbitmq-server in such a scenario
2022-10-25 17:29:00 +02:00
GitHub ea18d7f2a6 Adopt otp 25.1.2 2022-10-25 03:58:07 +00:00
David Ansari 1f6ead8055 Make main branch use 3.11.2 as mixed version tests
The 3.11.2 artifact already got uploaded to AWS.
2022-10-19 10:56:22 +02:00
Rin Kuryloski 16300cc4ba Adopt rules_erlang 3.8.3
and apply corresponding changes to the elixir build
2022-10-18 15:57:51 +02:00
Rin Kuryloski 4122382111 Use rules_erlang 3.8.2 2022-10-14 10:47:35 +02:00
Rin Kuryloski 736d7d1bc2 Remove elixir 1.12 in a few other files 2022-10-11 17:46:15 +02:00
Michael Klishin 9cae4b5d4b
Drop Elixir 1.12 toolchain
All currently supported series require 1.13+
2022-10-11 14:56:59 +04:00
GitHub c4109d7854 Adopt elixir 1.14.1 2022-10-11 03:50:18 +00:00
Rin Kuryloski 18bccf5873 Remove erlang 23 from bazel build 2022-10-10 09:30:29 +02:00
Michael Klishin 567d32afe6
Merge pull request #6050 from rabbitmq/bump-otp-24.3
Adopt otp 24.3.4.6
2022-10-08 09:10:28 +04:00
GitHub bdcb55f81b Adopt otp 24.3.4.6 2022-10-08 03:31:45 +00:00
Luke Bakken 02e3e0046f
Upgrade cuttlefish to 3.1.0
Related to https://github.com/rabbitmq/opportunities/issues/207
2022-10-07 14:36:22 -07:00
GitHub b5ebd52e68 Adopt otp 25.1.1 2022-10-04 08:45:49 +00:00
Rin Kuryloski 702784ccd8 Use rules_erlang 3.7.2 2022-10-03 14:52:08 +02:00
Rin Kuryloski 25c0eae13f Add erlang 25.1 to github actions 2022-09-30 09:21:56 +02:00
Rin Kuryloski a885cab9f9
Merge pull request #5896 from rabbitmq/rin/fixup-windows-actions
fixup windows actions
2022-09-29 12:26:32 +02:00
Rin Kuryloski ad043228f2 Fixup config drift causing the Windows Actions to fail 2022-09-29 11:54:06 +02:00
GitHub 2d42a838cc Adopt otp 24.3.4.5 2022-09-29 03:53:18 +00:00
Rin Kuryloski 502730b32d Apply the @erlang_config pattern for elixir via the WORKSPACE
and use rules_erlang 3.7.0
2022-09-28 16:09:18 +02:00
Rin Kuryloski 6d35adc740 Fixup platform references for erlang git master nightly tests 2022-09-28 10:49:31 +02:00
GitHub 6671070d18 Adopt otp 24.3.4.5 2022-09-27 03:48:48 +00:00
Rin Kuryloski 72f258f2af Mark the rbe repo as a dev dependency
So that bazel modules depending on rabbitmq-server can define their
own without conflicts
2022-09-26 15:24:19 +02:00
Rin Kuryloski 0411026233
Adopt otp 25.0.4 (#5873)
Co-authored-by: GitHub <noreply@github.com>
2022-09-25 11:22:43 +04:00
Rin Kuryloski 1586cadb52 Use rules_cc 0.0.2 2022-09-22 08:56:04 +02:00
David Ansari 307e6730cc Point emqtt test dependency from ansd to emqx
Given that https://github.com/emqx/emqtt/pull/169 has been merged
and a new tag has been set on emqx/emqtt,
we do not need the fork ansd/emqtt anymore.
2022-09-21 19:07:25 +02:00
Rin Kuryloski 8537d0428b Use rules_erlang 3.6.3
Use the new @erlang_config repo from rules_erlang 3.6+ for simplified
config and the elimiation of the need for --config=local
2022-09-19 16:43:10 +02:00
David Ansari 1c96bf1315 Point emqtt test dependency to a tree reference
Since I force pushed to master branch of
https://github.com/ansd/emqtt, the old commit does
not belong to any branch anymore.

While Bazel is happy, make complains:
```
make -C deps/rabbitmq_mqtt ct
 DEP    emqtt (f6d7ddd391890f4db5f77c775e83cf0ffe3d2d76)
fatal: reference is not a tree: f6d7ddd391890f4db5f77c775e83cf0ffe3d2d76
```
2022-09-02 14:03:26 +00:00
Michael Klishin 94186257b5 Bump Aten to 0.5.8
(cherry picked from commit 6273bbeddb)

Conflicts:
	workspace_helpers.bzl
2022-09-02 01:45:10 +04:00
David Ansari ac2a5d3dd3 Upgrade MQTT Erlang client
The rabbitmq_mqtt tests used an outdated MQTT Erlang client.
It was a fork that has not been updated for > 4 years.
This commit upgrades the client to the latest version.
Therefore, we can delete our fork https://github.com/rabbitmq/emqttc.git
2022-08-31 14:12:23 +00:00
Michael Klishin a9b72877f5 Bump deps: michaelklishin/erlang-jose and Thoas 2022-08-29 15:28:37 +04:00
Michael Klishin 083173de8d
Merge pull request #5647 from rabbitmq/ik-update-prometheus-4.9.1
Update prometheus to 4.9.1
2022-08-24 14:20:43 +04:00
Iliia Khaprov 4a1721509c Update prometheus to 4.9.1 2022-08-24 10:35:22 +02:00
Rin Kuryloski cbc998b12d Add platforms repo to MODULE.bazel
As necessitated by https://github.com/rabbitmq/rbe-erlang-platform/pull/24
2022-08-18 23:20:08 +02:00
Rin Kuryloski 16236962b1 Use rules_erlang 3.5.0
and format MODULE.bazel with buildifier
2022-08-15 15:42:25 +02:00
Michael Klishin 1b28f59745
Merge pull request #5488 from rabbitmq/ik-update-prometheus-4.9-4380
Update prometheus to 4.9. close #4380
2022-08-11 16:58:04 +04:00
Iliia Khaprov 5bbb088b8e update prometheus to 4.9. close #4380 2022-08-11 10:40:35 +02:00
Michael Klishin dd5864909b
Bump eetcd to 0.3.6
See https://github.com/zhongwencool/eetcd/releases/tag/v0.3.6 for
details
2022-08-09 14:45:27 +04:00
Michael Klishin ca246dab6e
Pin erlang-jose to our fork with Thoas support 2022-07-30 02:30:12 +04:00
Rin Kuryloski fe13f69338
Remove old reference to external trust-store-http
Follow up to #5359

(cherry picked from commit 71cc16bfbb)

Conflicts:
	MODULE.bazel
2022-07-29 10:34:52 +04:00
Michael Klishin bad6e394b2
Swap JSX for Thoas in more places
and adapt rabbit_json for Thoas in the process.

Pair: @pjk25
2022-07-29 10:34:51 +04:00
Michael Klishin 9c99f76579
Replace JSX with Thoas for JSON operations
Thoas is more efficient both in terms of encoding
time and peak memory footprint.

In the process we have discovered an issue:
https://github.com/lpil/thoas/issues/15

Pair: @pjk25
2022-07-29 10:34:47 +04:00
Rin Kuryloski 71cc16bfbb Remove old reference to external trust-store-http
Follow up to #5359
2022-07-28 14:36:44 +02:00
Rin Kuryloski 947e4836d3 Use 3.10.6 for mixed version testing
since master is effectively the v3.11.x branch at this point in time
2022-07-22 16:25:50 +02:00
Philip Kuryloski da714b80be Fetch the secondary umbrella via the module system
to avoid repo_mapping with a hard coded version of rules_erlang
2022-06-24 11:16:08 +02:00
Philip Kuryloski 6df530ad2c Use our own fork of the bazel-central-registry
rules_erlang 3.2.0 fails the BCR ci due to recent breakage on the
bazel side, but works perfectly fine with rabbitmq-server

using our fork of the registry allows use to use 3.2.0 without an
override, which is convenient for our other projects that depend on
rabbitmq-server for testing
2022-06-24 10:49:30 +02:00
Philip Kuryloski 4afd473af3 Additional fixes for use of rabbitmq-server as a bazel module
- add more missing deps
- add an extension that allows @rbe to be fetched via bzlmod
2022-06-17 09:16:14 +00:00
Philip Kuryloski 136630841c Add missing bazel deps 2022-06-17 09:16:14 +00:00
Philip Kuryloski 2fd155e55d Fixup the bazel build when used without bzlmod
As currently we do not use bzlmod when building on Windows
2022-06-15 11:18:41 +02:00
Philip Kuryloski 1633c00638 Use rules_erlang 3.2.0 2022-06-13 12:13:54 +02:00
Philip Kuryloski f52efbb909 Fixup rabbitmqctl build for missing formatters & otp 25 2022-06-13 12:08:57 +02:00
Philip Kuryloski 0237fba515 Use rules_erlang 3.1.0
From github directly, until
https://github.com/bazelbuild/bazel-central-registry/pull/96 is merged
2022-06-08 14:12:21 +02:00
Philip Kuryloski 0b676e925f Again bump rules_erlang 2022-06-08 14:04:59 +02:00
Philip Kuryloski c187406e33 Use rules_erlang main branch
now that some outstanding PRs have been merged
2022-06-08 14:04:59 +02:00
Philip Kuryloski 327f075d57 Make rabbitmq-server work with rules_erlang 3
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
2022-06-08 14:04:53 +02:00
Karl Nilsson 140441740d Switch osiris back to main 2022-06-01 13:47:23 +01:00
Karl Nilsson 0a1afe35f4 Replace uses of osiris_counters:overview/0 with overview/1
Where applicable to avoid a full ETS table read just to get the counter
for a single key

Seshat 0.3.2
2022-06-01 13:47:20 +01:00
Karl Nilsson ec2f57eb22
Temporarily tag osiris to v1.2.7 (#4941)
* Temporarily tag osiris to v1.2.7

* fix
2022-06-01 11:57:51 +01:00
Philip Kuryloski 4d771d7760 Sync seshat version from workspace_helpers.bzl to MODULE.bazel
Follow up to 5f49906fca
2022-05-30 23:27:51 +02:00
Michael Klishin 489b839a07 Bazel: make it easier to override Ra branch 2022-05-18 22:20:04 +04:00
Michael Klishin 949f7e37db
Bump credentials_obfuscation to 3.1.0 2022-05-16 23:54:32 +04:00
Michael Klishin a66ac8c347
Bump credentials_obfuscation to 3.0.0 2022-05-02 11:57:55 +04:00
Philip Kuryloski 1583d95a9d Fix handling of osiris with bzlmod 2022-04-29 10:04:10 +02:00
Philip Kuryloski 0a68b83680 Sync dep versions between MODULE.bazel and workspace_helpers.bzl 2022-04-27 18:39:49 +02:00
Philip Kuryloski a4da3bb332 Add a MODULE.bazel file and enable bzlmod 2022-04-27 16:07:52 +02:00