ci: Add some disk usage reporting
Add some disk reporting to try and help debug random failures due to disk space being used up. Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
parent
7cfc612de7
commit
1928428f19
1 changed files with 6 additions and 0 deletions
|
@ -6,6 +6,12 @@
|
||||||
# Save off where we started so we can go back there
|
# Save off where we started so we can go back there
|
||||||
WORKDIR=${PWD}
|
WORKDIR=${PWD}
|
||||||
|
|
||||||
|
echo "--- $0 disk usage"
|
||||||
|
df -h
|
||||||
|
du -hs /var/lib/buildkite-agent/*
|
||||||
|
docker images -a
|
||||||
|
docker system df -v
|
||||||
|
|
||||||
if [ -n "${BUILDKITE_PULL_REQUEST_BASE_BRANCH}" ]; then
|
if [ -n "${BUILDKITE_PULL_REQUEST_BASE_BRANCH}" ]; then
|
||||||
git fetch -v origin ${BUILDKITE_PULL_REQUEST_BASE_BRANCH}
|
git fetch -v origin ${BUILDKITE_PULL_REQUEST_BASE_BRANCH}
|
||||||
git checkout FETCH_HEAD
|
git checkout FETCH_HEAD
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue