Skip to content

Conversation

@HoloRin
Copy link
Contributor

@HoloRin HoloRin commented Mar 29, 2021

Add Bazel build files corresponding to rabbitmq/rabbitmq-server#2938

The gnu make build should remain unchanged by theses additions

If a setup step modifies the test Config such that it is no longer a
proplist, a rather confusing error can result. This attempts to make
such cases easier to debug.

In addition, produce a clear message when the DIALYZER_PLT env var is
missing.
Rather than rely on make, we expect a helper called 'rabbitmq-run' to
be provided in the bazel build, that can be invoked an a manner
compatible with how we have been using make
- Allow the ssl certs to be generated with make & openssl
- Use the rabbitmq-run helper for starting/stopping the broker
Bazel doesn't assemble a unified deps dir in all cases, so we must be
more lenient in filter_ct_helpers_and_testsuites_paths
In bazel, the full source is not available at test runtime, but we have already
compiled it, and referenced it so it can be loaded directly
Some tests rely on paths relative to this directory
Rather than compute the default plugins directory in Erlang (which only
happens when we want to add an extra dir) we send the extra dir to the
shell where it can be appended to the default already computed by the
shell
Now that bazel has been merged to rabbitmq-server@master
Ensure that the erlang application builds
@HoloRin HoloRin merged commit 300d9a3 into master Mar 29, 2021
@HoloRin HoloRin deleted the bazel branch March 29, 2021 09:59
HoloRin added a commit that referenced this pull request Apr 7, 2021
Add Bazel build files corresponding to rabbitmq/rabbitmq-server#2938

The gnu make build should remain unchanged by theses additions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants