-
-
Notifications
You must be signed in to change notification settings - Fork 286
Remove tools/bazel.rc on CI as it's incompatible. #495
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
Local disk caching does not work on Bazel's CI and actually causes the project to fail in our downstream tests at the moment: https://buildkite.com/bazel/bazel-with-downstream-projects-bazel/builds/224#e8eab4eb-9baf-4503-8328-62d1ca2f454d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Thank you! :) |
I think this also has the effect of not testing using workers now since I think workers must be configured in the bazelrc. Maybe we should have a separate bazelrc for buildkite? |
@philwo can we have that?
…On Mon, 7 May 2018 at 19:01 P. Oscar Boykin ***@***.***> wrote:
I think this also has the effect of not testing using workers now since I
think workers must be configured in the bazelrc.
Maybe we should have a separate bazelrc for buildkite?
—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub
<#495 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABUIF5Kfl3qq7D-is1MII-GB3xN62MDKks5twG_dgaJpZM4T06YQ>
.
|
The currently checked in bazel.rc doesn't enable workers, right? It should be possible to have a bazelrc just for buildkite. This should work:
|
Oh actually the plot thickens...
@johnynek when we added the tools/bazel.rc we actually caused Bazel to
ignore the .travis.bazelrc (which we turn into .bazelrc in travis.yml).
This is because bazelrc isn’t yet hierarchical.
There is a way to import a bazelrc though.
Bottom line I can’t see anywhere in the code that says that we used to use
workers on Bazel’s CI. Only on Travis
…On Tue, 8 May 2018 at 10:44 Philipp Wollermann ***@***.***> wrote:
The currently checked in bazel.rc
<https://github.com/bazelbuild/rules_scala/blob/master/tools/bazel.rc>
doesn't enable workers, right?
It should be possible to have a bazelrc just for buildkite. This should
work:
- Create a tools/bazel.rc.buildkite (or similar)
- Modify .bazelci/presubmit.yml and replace rm -f tools/bazel.rc with mv
tools/bazel.rc.buildkite tools/bazel.rc.
—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub
<#495 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABUIFzcNInTZmSIlu3A-Kx_75Fz4-tGUks5twUzKgaJpZM4T06YQ>
.
|
ok. I dug some more into it and apparently I was wrong since |
Local disk caching does not work on Bazel's CI and actually causes the project to fail in our downstream tests at the moment: https://buildkite.com/bazel/bazel-with-downstream-projects-bazel/builds/224#e8eab4eb-9baf-4503-8328-62d1ca2f454d
Local disk caching does not work on Bazel's CI and actually causes the project to fail in our downstream tests at the moment:
https://buildkite.com/bazel/bazel-with-downstream-projects-bazel/builds/224#e8eab4eb-9baf-4503-8328-62d1ca2f454d