Test actual LRE in CI - #2321
Conversation
|
|
||
| EXPOSE 50051/tcp 50052/tcp | ||
| CMD ["nativelink"] | ||
| ENTRYPOINT ["nativelink"] |
There was a problem hiding this comment.
Making it behave like the nix images
There was a problem hiding this comment.
Using the newer config so I don't get the warnings every time I boot things
| platform_properties: { | ||
| cpu_count: { | ||
| query_cmd: "nproc", | ||
| values: [], |
There was a problem hiding this comment.
Path isn't present on the nix images
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
I think what's missing is libz, and something incorporating hermeticbuild/rules_rs#139 might be able to fix this? |
I'm now more uncertain about this. So, the reason I flagged libz is that the glibc version of rustc was trying to be run under the Nix LRE container, and it was failing due to a lack of libz. I had a fix for adding libz, but was still seeing the same problem. Now, ideally what we actually want is the musl version of rustc run under the container, but getting |
Description
We previously had LRE testing, but it was a mix of trivial examples and buggy k8s-in-CI setups long commented out. This PR spins up a docker compose setup with the current branch's nix images and tries to build them, which will make it much easier to make improvements to those.
Type of change
Please delete options that aren't relevant.
How Has This Been Tested?
CI, bunch of local
docker composeandbazel testsimilar to the CI steps.Checklist
bazel test //...passes locallygit amendsee some docsThis change is