From 685aa7dd8f019f36ab9ab368c6f9b1b85176452a Mon Sep 17 00:00:00 2001 From: LFC <990479+MichaelScofield@users.noreply.github.com> Date: Tue, 6 Aug 2024 19:52:34 +0800 Subject: [PATCH] ci: squeeze some disk space for complex fuzz tests (#4519) * ci: squeeze some disk space for complex fuzz tests * Update .github/workflows/develop.yml Co-authored-by: Lei, HUANG <6406592+v0y4g3r@users.noreply.github.com> --------- Co-authored-by: Lei, HUANG <6406592+v0y4g3r@users.noreply.github.com> --- .github/workflows/develop.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/develop.yml b/.github/workflows/develop.yml index d2c069100db8..0685def6b4e0 100644 --- a/.github/workflows/develop.yml +++ b/.github/workflows/develop.yml @@ -291,6 +291,18 @@ jobs: kafka: true values: "with-remote-wal.yaml" steps: + - name: Remove unused software + run: | + echo "Disk space before:" + df -h + [[ -d /usr/share/dotnet ]] && sudo rm -rf /usr/share/dotnet + [[ -d /usr/local/lib/android ]] && sudo rm -rf /usr/local/lib/android + [[ -d /opt/ghc ]] && sudo rm -rf /opt/ghc + [[ -d /opt/hostedtoolcache/CodeQL ]] && sudo rm -rf /opt/hostedtoolcache/CodeQL + sudo docker image prune --all --force + sudo docker builder prune -a + echo "Disk space after:" + df -h - uses: actions/checkout@v4 - name: Setup Kind uses: ./.github/actions/setup-kind