Commit Graph

300 Commits

Author SHA1 Message Date
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