Michael Klishin
8e2edc76c2
Revert "Fix the sha and prefix for bazel-erlang based on the repo rename"
...
This reverts commit 9a0d448d34
.
2022-01-06 01:10:57 +03:00
Philip Kuryloski
9a0d448d34
Fix the sha and prefix for bazel-erlang based on the repo rename
...
(cherry picked from commit 0a731b7074
)
2022-01-06 00:56:53 +03:00
Michael Klishin
7787fe2780
Revert "Update Bazel rules repository name"
...
This reverts commit 371b44dcf2
.
2022-01-05 19:06:37 +03:00
Michael Klishin
371b44dcf2
Update Bazel rules repository name
2022-01-05 18:58:02 +03:00
Philip Kuryloski
70ef6b6984
Disable +deterministic in compilation_mode dbg under bazel
...
This allows compiling and reloading code from the erlang shell when
running the broker with `bazel run -c dbg broker`
2022-01-03 12:38:06 +01:00
Philip Kuryloski
b7cb8614f8
Merge pull request #3862 from rabbitmq/bump-rbe-24
...
Adopt latest rabbitmq-server-buildenv:linux-erlang-24.1 for RBE
2021-12-07 05:28:45 -08:00
GitHub
f332237d3f
Use latest rbe-erlang-platform/linux-erlang-24.1
...
for remote build execution (RBE) with BuildBuddy
2021-12-07 03:04:09 +00:00
GitHub
85b80bdd30
Use latest rbe-erlang-platform/linux-erlang-23.3
...
for remote build execution (RBE) with BuildBuddy
2021-12-07 03:03:43 +00:00
GitHub
b4ad7a84a2
Adopt latest bazel-erlang
...
- bazel-erlang@050faedb2a3422a60d6b98678c714ed1a61ec71d
2021-11-27 03:01:48 +00:00
Philip Kuryloski
c116fb9e02
Merge pull request #3734 from rabbitmq/bump-rbe-24
...
Adopt latest rabbitmq-server-buildenv:linux-erlang-24.1 for RBE
2021-11-19 01:13:34 -08:00
GitHub
cd2f6953c8
Use latest rbe-erlang-platform/linux-erlang-24.1
...
for remote build execution (RBE) with BuildBuddy
2021-11-19 03:04:14 +00:00
GitHub
f0ef661411
Use latest rbe-erlang-platform/linux-erlang-23.3
...
for remote build execution (RBE) with BuildBuddy
2021-11-19 03:03:36 +00:00
Philip Kuryloski
11fd866247
Add the bazel target :package-generic-unix
...
Which can be used to build the artifact with bazel
2021-11-18 14:38:41 +01:00
GitHub
e11b344288
Adopt latest bazel-erlang
...
- bazel-erlang@5bf79d7fb9a2c8bf7bfb6a90f5104a10b5c9107b
2021-11-18 03:01:44 +00:00
Philip Kuryloski
df0fa0ce60
Use externailzed rbe config in bazel
2021-11-15 09:12:23 +01:00
Philip Kuryloski
2a5d680ee2
Revert "Merge pull request #3683 from rabbitmq/use-bazel-toolchains"
...
This reverts commit 82508ba167
, reversing
changes made to 115b951b9c
.
2021-11-12 23:30:42 +01:00
Philip Kuryloski
92068f481c
Use externailzed rbe config in bazel
2021-11-12 11:08:36 +00:00
GitHub
7d5c53e89e
Adopt latest bazel-erlang
...
- bazel-erlang@63f7f4213a4f50e2bd891c98be403a45def8d1cf
2021-11-04 03:01:49 +00:00
GitHub
e4dd3ac560
Adopt latest bazel-erlang
...
- bazel-erlang@c85ebaa61235734f592d87cf9c2b2055dfa245df
2021-11-03 14:10:39 +00:00
Philip Kuryloski
94affbe00e
Use https to fetch bazel-erlang
2021-11-03 09:26:25 +01:00
Philip Kuryloski
c42220b1f5
Use pinned bazel-erlang
...
It's too disruptive to just track master. A piece of automation will
be created to ensure the dep doesn't fall behind, but it can do so
speculatively on a branch first via PR, potentially with auto-merging.
2021-11-03 09:10:45 +01:00
Alexey Lebedeff
46df4f1689
Update makefiles/bazel to reflect CT helpers repo merge-in
2021-09-30 10:48:11 +02:00
Alexey Lebedeff
5501d07b8b
Use rabbitmq_ct_helpers to allocate prometheus port
...
This test always used standard 15692 before, which were causing
conflicts with e.g. local `make run-broker`.
2021-09-22 15:23:35 +02:00
Philip Kuryloski
94809aed64
Use a pinned version of rabbitmq-ct-[client-]helpers
...
When these changes, it can break builds asynchronously and present
difficult to diagnose errors
2021-09-22 13:20:33 +02:00
Philip Kuryloski
d2b032ff60
Use 3.8.22 in 3.8/3.9 mixed version testing
2021-09-21 16:36:32 +00:00
Philip Kuryloski
d6399bbb5b
Mixed version testing in bazel ( #3200 )
...
Unlike with gnu make, mixed version testing with bazel uses a package-generic-unix for the secondary umbrella rather than the source. This brings the benefit of being able to mixed version test releases built with older erlang versions (even though all nodes will run under the single version given to bazel)
This introduces new test labels, adding a `-mixed` suffix for every existing test. They can be skipped if necessary with `--test_tag_filters` (see the github actions workflow for an example)
As part of the change, it is now possible to run an old release of rabbit with rabbitmq_run rule, such as:
`bazel run @rabbitmq-server-generic-unix-3.8.17//:rabbitmq-run run-broker`
2021-07-19 14:33:25 +02:00
Philip Kuryloski
26e4b179c9
bazel-erlang master branch was renamed to main
2021-06-29 10:27:01 +02:00
Philip Kuryloski
eea51a7e3a
Mark additional suites as flaky
2021-06-17 13:42:22 +02:00
Philip Kuryloski
5e55948cde
Fetch rabbitmq-ct[-client]-helpers via git
...
While not a problem in CI, I have found occasions locally when the
latest version is not fetched for a build. I have learned that
`bazel sync` is necessary to check for remote updates.
2021-06-14 10:47:16 +02:00
Philip Kuryloski
667f5e0a22
Add basic xref for deps/rabbit
2021-05-19 12:43:25 +02:00
Philip Kuryloski
ed69ceca98
Use master branches of the rabbitmq-ct*-helpers
...
https://github.com/rabbitmq/rabbitmq-ct-helpers/pull/47
https://github.com/rabbitmq/rabbitmq-ct-client-helpers/pull/4
2021-03-29 11:53:49 +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