Don't use sudo -E flag in BuildKite.

This causes the $HOME env var to be preserved and then root user ends up
creating $HOME/.cache/bazel and things cascade downwards from there as the
gvisor-bazel container keeps crashing.

PiperOrigin-RevId: 532588412
This commit is contained in:
Ayush Ranjan
2023-05-16 15:21:30 -07:00
committed by gVisor bot
parent 891259ffa8
commit e012937a29
+1 -1
View File
@@ -402,7 +402,7 @@ steps:
label: ":podman: Podman"
commands:
- sudo ./test/podman/run.sh
- sudo -E RUNTIME_ARGS=--directfs ./test/podman/run.sh
- sudo RUNTIME_ARGS=--directfs ./test/podman/run.sh
agents:
<<: *ubuntu_agents
cgroup: "v2"