Commit Graph

15 Commits

Author SHA1 Message Date
Rin Kuryloski a2709dfd05 Remove remaining buildbuddy usage 2024-06-18 15:13:03 +02:00
Rin Kuryloski 47566e418e Adjust strategy flags for bazel
With this adjustment, more actions will use the sandbox, which may
help with an error relating to a missing `rabbit.hrl` that could occur
when building the cli or running its tests

Since this adjusts the user-template.bazelrc, everyone should likely
update their own user.bazelrc accordingly
2023-11-06 10:08:24 +01:00
Rin Kuryloski e799daa24e Use rules_erlang 3.8.5 2022-12-19 11:16:04 +01: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 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
Michael Klishin 58375d0348 Require Erlang/OTP 25.0 (3.11 and 3.12/main only)
So that we can be sure that the JIT is available for both amd64
and arm64 users, and we benefit from all the latest compiler and runtime
optimization work.
2022-09-18 22:19:37 +04:00
Rin Kuryloski f8e141db63 Add a bazel based OCI image build to the oci.yaml workflow 2022-08-22 09:36:37 +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
Philip Kuryloski 707b902a89 Adjust bazel configuration for macos 2022-05-25 16:41:54 +02:00
Philip Kuryloski efcd881658 Use rules_erlang v2
bazel-erlang has been renamed rules_erlang. v2 is a substantial
refactor that brings Windows support. While this alone isn't enough to
run all rabbitmq-server suites on windows, one can at least now start
the broker (bazel run broker) and run the tests that do not start a
background broker process
2022-01-18 13:43:46 +01:00
Philip Kuryloski df0fa0ce60 Use externailzed rbe config in bazel 2021-11-15 09:12:23 +01:00
Philip Kuryloski bed5497143 Promote the --local_test_jobs flag from user.bazelrc to .bazelrc 2021-09-08 17:12:04 +02:00
Philip Kuryloski 47a3531cf7 Use a better means of avoiding simultaneous test runs locally 2021-09-06 09:25:02 +02:00
Philip Kuryloski 9daa7100fa Further refinements to .bazelrc 2021-07-12 22:20:22 +02:00
Philip Kuryloski 18e460c129 Use a split .bazelrc so we can check most of the file into the repo
Now a base .bazelrc is provided, which will import a user.bazelrc
file, allowing local additions and overrides (like credentials and/or
os specific config). user-template.bazelrc provides an example.
2021-07-12 22:03:28 +02:00