-
Notifications
You must be signed in to change notification settings - Fork 4k
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
Test outputs should work with builds without the bytes #11556
Comments
Have you tried |
Yes as stated in
|
Duh! Sorry I missed that. |
I tried this, and Bazel seems to download the XML files and the undeclared outputs, and does not download the binary:
However, if you run |
Yep you are correct, I tested again and see it as a zip file. I have adjusted the wording in the opening post. In our case we can use toplevel and modify our tooling to handle the zip file. In the past toplevel did download more than we wanted, but I'll need to investigate further, since so much has been fixed/changed in our code base that we might not have the issues any more. |
Background
We have been implementing remote execution and focusing heavily on setting the system up so it can use BwoB for our CI infrastructure, however some of our more complex tests want to output meta information for Jenkins (like XML and other meta data revolving around
TEST_UNDECLARED_OUTPUTS_DIR
). Due to--remote_download_outputs=minimal
it does not download the outputs.Desired outcome
A way to use minimal downloads but download all test outputs (possibly a new command line flag?).
Workaround
--remote_download_outputs=all
does download everything including the undeclared outputs directory data (toplevel
does download what you'd expect but as a zip file). This is obviously less desirable since our full build is ~200G and minimal is ~9G.Version
3.0.0
The text was updated successfully, but these errors were encountered: