Skip to content

Commit

Permalink
Revert "Update Bazel rules repository name"
Browse files Browse the repository at this point in the history
This reverts commit 837807e.
  • Loading branch information
michaelklishin committed Jan 5, 2022
1 parent 837807e commit 0922a07
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion BAZEL.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ RabbitMQ, Tier1 plugins included, is a large codebase. The developer experience

More importantly, RabbitMQ's test suite is large and takes hours if run on a single machine. Bazel allows tests to be run in parallel on a large number of remote workers if needed, and furthermore uses cached test results when branches of the codebase remain unchanged.

Bazel does not provide built in Erlang or Elixir support, nor is there an available library of bazel rules. Therefore, we have defined our own rules in https://github.com/rabbitmq/rules_erlang. Elixir compilation is handled as a special case within this repository. To use these rules, the location of your Erlang and Elixir installations must be indicated to the build (see below).
Bazel does not provide built in Erlang or Elixir support, nor is there an available library of bazel rules. Therefore, we have defined our own rules in https://github.com/rabbitmq/bazel-erlang. Elixir compilation is handled as a special case within this repository. To use these rules, the location of your Erlang and Elixir installations must be indicated to the build (see below).

While most of work for running tests happens in Bazel, the suite still makes use of some external tools for commands, notably gnu `make` and `openssl`. Ideally we could bring all of these tools under bazel, so that the only tool needed would be `bazel` or `bazelisk`, but that will take some time.

Expand Down
5 changes: 3 additions & 2 deletions WORKSPACE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,9 @@ rules_pkg_dependencies()

http_archive(
name = "bazel-erlang",
commit = "d62a13548b3d1e5bd2830f42e3f3933ae17db3cb",
remote = "https://github.com/rabbitmq/rules_erlang.git",
sha256 = "f37c339711ce05b748688938ad9b1c00a78f0b2ef67d6baa734f5a34e33ad8a3",
strip_prefix = "bazel-erlang-1.4.0",
urls = ["https://github.com/rabbitmq/bazel-erlang/archive/refs/tags/1.4.0.zip"],
)

load("@bazel-erlang//:bazel_erlang.bzl", "bazel_erlang_deps")
Expand Down
2 changes: 1 addition & 1 deletion release-notes/3.9.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ consistent release schedule.

* Continuous integration of open source RabbitMQ has switched to Bazel, GitHub Actions and [BuildBuddy](https://buildbuddy.io), resulting in much faster and incremental test runs.

[Bazel support for Erlang](https://github.com/rabbitmq/rules_erlang) is a new project open sourced by the RabbitMQ Core team as a result.
[Bazel support for Erlang](https://github.com/rabbitmq/bazel-erlang) is a new project open sourced by the RabbitMQ Core team as a result.

* Process group membership now uses `pg`.

Expand Down

0 comments on commit 0922a07

Please sign in to comment.