-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a partial Bazel build #2938
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Ideally we would build erlang with bazel itself, but since we change our erlang version infrequently, this allows us to get started
It seems that the linux sandboxing for bazel is stronger
to work around a broken cache
So that we can share the cache accross versions
since BuildBuddy already covers this functionality
for 'bazel run :broker' and 'make run-broker'
the rabbitmq_sbin rule had little to no meaning on its own
to better respect the weaker sandbox strategies on macOS
it does not actually require the standard rabbitmq erlc opts
which appears to be tigher in linux
in a way that won't cause bazel cache collisions
These will be skipped, which will report a failing build if not excluded.
Now that the docker image used for remote execution contains openssl/slapd, these can be run
HoloRin
added a commit
to rabbitmq/rabbitmq-ct-helpers
that referenced
this pull request
Mar 29, 2021
Add Bazel build files corresponding to rabbitmq/rabbitmq-server#2938 The gnu make build should remain unchanged by theses additions
HoloRin
added a commit
to rabbitmq/rabbitmq-ct-client-helpers
that referenced
this pull request
Mar 29, 2021
Add Bazel build files corresponding to rabbitmq/rabbitmq-server#2938 The gnu make build should remain unchanged by theses additions
HoloRin
added a commit
that referenced
this pull request
Mar 29, 2021
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
HoloRin
added a commit
that referenced
this pull request
Apr 7, 2021
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
HoloRin
added a commit
that referenced
this pull request
Apr 7, 2021
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
HoloRin
added a commit
to rabbitmq/rabbitmq-ct-helpers
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
HoloRin
added a commit
to rabbitmq/rabbitmq-ct-client-helpers
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
HoloRin
added a commit
that referenced
this pull request
Apr 7, 2021
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
HoloRin
added a commit
that referenced
this pull request
Apr 7, 2021
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
michaelklishin
pushed a commit
that referenced
this pull request
Apr 8, 2021
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
binarin
pushed a commit
that referenced
this pull request
Sep 28, 2021
Add Bazel build files corresponding to #2938 The gnu make build should remain unchanged by theses additions
binarin
pushed a commit
that referenced
this pull request
Sep 28, 2021
Add Bazel build files corresponding to #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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Proposed Changes
Add the necessary files needed to build and run most of the deps/rabbit suites with Bazel. The intention to bring all remaining suites online incrementally post merge, but at this point the feedback through the bazel build is believed to be superior to that of the current GitHub Actions workflows (mainly as a consequence of speed).
The updated GitHub Actions workflow is leveraging BuildBuddy for remote execution.
Care has been taken to maintain all of the existing gnu make based build. Any breakage from this merge is accidental.
Types of Changes
What types of changes does your code introduce to this project?
Put an
x
in the boxes that applyChecklist
Put an
x
in the boxes that apply. You can also fill these out after creatingthe PR. If you're unsure about any of them, don't hesitate to ask on the
mailing list. We're here to help! This is simply a reminder of what we are
going to look for before merging your code.
CONTRIBUTING.md
documentFurther Comments
See BAZEL.md for further information about building this way.