-
Notifications
You must be signed in to change notification settings - Fork 26.4k
refactor: depend on bazelisk rather than directly on Bazel #35153
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
Conversation
CI is failing because
|
6178866
to
7fc2555
Compare
@alexeagle What's necessary to get this in and can I help in some way? |
thanks @philwo I think I just need to work through misconfigurations of the integration tests wrt. how they find bazel binary |
This has a couple benefits: - we now use a .bazelversion file rather than package.json to pin the version of bazel we want. This means even if you install bazel on your computer rather than via yarn, you'll still get a warning if your bazel version is wrong. - you no longer end up downloading three copies of bazel due to bugs in both npm and yarn where they download all tarballs before checking the metadata to see which are usable on the local platform. - bazelisk correctly handles the tools/bazel trick for wrapping functionality, which we want to use to instrument developer build latencies - it should fix the strange issue with Windows CI seeing bazel being unlinked out from under the binary; I removed the workaround
Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). 📝 Please visit https://cla.developers.google.com/ to sign. Once you've signed (or fixed any issues), please reply here with What to do if you already signed the CLAIndividual signers
Corporate signers
ℹ️ Googlers: Go here for more info. |
@googlebot I signed it! |
CLAs look good, thanks! ℹ️ Googlers: Go here for more info. |
Replaced by #36078 |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
This has a couple benefits:
Note that @angular/bazel package isn't updated in this PR; I'm working on a plan to remove the opt-in preview bits with schematics/builder for running bazel this way.