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
|
@ -6,4 +6,6 @@ if [[ ! "${BUILDKITE_COMMAND}" =~ "buildkite-agent pipeline upload" ]] && \
|
|||
[[ "${BUILDKITE_AGENT_META_DATA_CLEANBUILD}" != "false" ]]; then
|
||||
echo "--- :docker: Clean environment"
|
||||
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