Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[antlir2] Use disk for /tmp during rpm builds
Summary: See https://fb.workplace.com/groups/codetestingqa/posts/9412044228875340/ -- this is causing issues on Sandcastle for some RPMs. Opt to broadly move to disk as I expect the perf cost to be minimal (we're just dumping artifacts into here post-build, not really doing a significant amount of I/O). I'll land this after the freeze. Test Plan: ``` $ buck2 run mode/opt -c antlir.rc_targets=all //registry/builder/rpm/tests:fb-rpm-builder-test.base -- --no-publish ... BUILD SUCCEEDED { "linux": { "aarch64": { "primary": "/data/users/jtru/fbsource/buck-out/v2/gen/fbcode/7377c200435b9daa/registry/builder/rpm/tests/__fb-rpm-builder-test.base--rpm-stripped--aarch64__/fb-rpm-builder-test.base--rpm-stripped--aarch64.rpm", "debug": "/data/users/jtru/fbsource/buck-out/v2/gen/fbcode/7377c200435b9daa/registry/builder/rpm/tests/__fb-rpm-builder-test.base--rpm-debuginfo--aarch64__/fb-rpm-builder-test.base--rpm-debuginfo--aarch64.rpm" }, "x86_64": { "primary": "/data/users/jtru/fbsource/buck-out/v2/gen/fbcode/fc0450a833f3ffe7/registry/builder/rpm/tests/__fb-rpm-builder-test.base--rpm-stripped--x86_64__/fb-rpm-builder-test.base--rpm-stripped--x86_64.rpm", "debug": "/data/users/jtru/fbsource/buck-out/v2/gen/fbcode/fc0450a833f3ffe7/registry/builder/rpm/tests/__fb-rpm-builder-test.base--rpm-debuginfo--x86_64__/fb-rpm-builder-test.base--rpm-debuginfo--x86_64.rpm" } } } ``` Reviewed By: naveedgol Differential Revision: D66508035 fbshipit-source-id: a10854694a03353e824440fc8778dfbce469cdbc
- Loading branch information