Skip to content

Commit

Permalink
Add a ci-disk-usage.sh script
Browse files Browse the repository at this point in the history
  • Loading branch information
gsmet committed Oct 23, 2023
1 parent 30d8bc1 commit 32fb7dd
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/ci-disk-usage.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# this script might be useful to get some insights about the disk usage
# obviously, it needs to be tuned adjusted

# if you can actually write something to the disk and execute an action,
# using ncdu to dump an analysis of the disk and upload it as an artifact
# might be a better option that this adhoc script

echo "# df -h"
df -h
echo "# du -sh /"
sudo du -sh /* || true
echo "# du -sh /home/runner/work/quarkus/quarkus/integration-tests/*"
sudo du -sh /home/runner/work/quarkus/quarkus/integration-tests/* || true
echo "# docker images"
docker images || true
echo "# du -sh /var/lib/*"
sudo du -sh /var/lib/* || true
echo "# du -sh /opt/hostedtoolcache/*"
sudo du -sh /opt/hostedtoolcache/* || true
echo "# du -sh /imagegeneration/installers/*"
sudo du -sh /imagegeneration/installers/* || true

0 comments on commit 32fb7dd

Please sign in to comment.