Commit Graph

28 Commits

Author SHA1 Message Date
Michael Davis 51cf642d10
Use 4.0.2 as secondary umbrella 2024-09-26 13:10:49 -04:00
David Ansari 3a1485d890 Use 3.13.7 as secondary umbrella
for mixed version tests
2024-08-26 10:37:30 +02:00
Rin Kuryloski 71fa6e3d31
Merge pull request #11478 from rabbitmq/more-turn-off-buildbuddy
Remove remaining buildbuddy usage
2024-06-19 12:47:34 +02:00
Rin Kuryloski a2709dfd05 Remove remaining buildbuddy usage 2024-06-18 15:13:03 +02:00
Rin Kuryloski 5debebfaf3 Use rules_elixir to build the cli without mix
Certain elixir-native deps are still build with mix, but this can be
corrected later
2024-06-18 14:50:34 +02:00
Rin Kuryloski a6874e39cc
Turn off BuildBuddy integration (#11343)
Builds now execute on the github actions workers, using Google Cloud Storage (GCS) as a cache
2024-06-06 11:37:10 +02:00
David Ansari 697ffc2b1a Use 3.13.1 as secondary umbrella
for mixed version tests
2024-04-03 17:51:53 +02:00
Rin Kuryloski b540b9abca Use 3.12.6 for the secondary umbrella 2023-09-22 09:26:04 +02:00
Rin Kuryloski c6672b9dea Use the latest 3.12.x for the secondary umbrella 2023-09-21 09:35:49 +02:00
Rin Kuryloski 1e91bb7327 Allow bazel modules depending on rabbitmq-server to override @rbe 2023-07-04 16:40:06 +02:00
Rin Kuryloski 464182a797
Avoid secondary umbrella archive collisions in actions (#8653)
* Store secondary umbrella archives used in mixed version tests

in a path which implies the erlang version used

* Infer the secondary umbrella otp version from the url

This avoids having two copies that need to be kept in sync
2023-06-23 16:03:22 +02:00
Rin Kuryloski 0501af9ffc Use 3.11.18 for the secondary umbrella 2023-06-16 08:30:40 +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 89d0b39ae8 Use 3.11.11 for mixed version testing 2023-03-21 10:24:13 +01:00
Michael Klishin 0bfaa280a1
Secondary umbrella: bump to 3.11.7 2023-01-21 20:52:42 -06:00
Rin Kuryloski 136d1cd7a3 Use 3.11.4 for mixed version testing 2022-12-09 12:33:51 +01: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 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 eb99108c14 Add a few comments regarding the mixed version testing packages 2022-09-23 18:20:53 +02:00
Michael Klishin e30fc537a2 Use package-generic-unix-for-mixed-version-testing-v3.10.7, like in v3.11.x 2022-09-23 20:02:54 +04:00
Rin Kuryloski 2115de8dd9 Remove the integrity hash on the secondary-umbrella archive
it's only a test dep, and the hash will change if the workflow that
produces the file is re-run
2022-07-27 11:00:48 +02:00
Rin Kuryloski f67eaaae68 Use code compiled with -DTEST in mixed version testing
Also introduces an actions workflow to provide the necessary archives
referenced in secondary_umbrella.bzl
2022-07-26 20:29:33 +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 7c76498dca Add minimal conflict resolution for the rbe module extension
This is a very simple strategy - multiple declarations of the same
repository for rbe are allowed, only if identical
2022-06-17 09:16:14 +00: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 f52efbb909 Fixup rabbitmqctl build for missing formatters & otp 25 2022-06-13 12:08:57 +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