ci(buildkite): clean /tmp at the conclusion of each job (#3268)
* ci(buildkite): clean /tmp at the conclusion of each job * fix: cleanup with sudo to remove 000 perm filespull/3264/head
parent
c103329e14
commit
4d3efb0da3
|
@ -7,3 +7,5 @@ if [[ ! "${BUILDKITE_COMMAND}" =~ "buildkite-agent pipeline upload" ]] && \
|
||||||
echo "--- :docker: Clean environment"
|
echo "--- :docker: Clean environment"
|
||||||
docker system prune -af --volumes
|
docker system prune -af --volumes
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
sudo find /tmp/ ! -wholename "/tmp/" ! -name "buildkite*" -type d,f -exec rm -rf {} +
|
Loading…
Reference in New Issue