From 686cfbe435e42009d59da94fa82346885b943670 Mon Sep 17 00:00:00 2001 From: Mathieu Tarral Date: Mon, 22 Apr 2024 06:36:02 -0700 Subject: [PATCH] ci: remove free space code --- .github/workflows/build-deb.yml | 23 ----------------------- 1 file changed, 23 deletions(-) diff --git a/.github/workflows/build-deb.yml b/.github/workflows/build-deb.yml index 553fc10394e0..9e339ebe4196 100644 --- a/.github/workflows/build-deb.yml +++ b/.github/workflows/build-deb.yml @@ -36,29 +36,6 @@ jobs: ref: ${{ env.ref }} path: sources - # https://github.com/apache/flink/blob/02d30ace69dc18555a5085eccf70ee884e73a16e/tools/azure-pipelines/free_disk_space.sh - - name: Free some disk space - run: | - echo "==============================================================================" - echo "Freeing up disk space on CI system" - echo "==============================================================================" - - echo "Listing 100 largest packages" - dpkg-query -Wf '${Installed-Size}\t${Package}\n' | sort -n | tail -n 100 - df -h - echo "Removing large packages" - sudo apt-get remove -y '^dotnet-.*' - sudo apt-get remove -y '^llvm-.*' - sudo apt-get remove -y 'php.*' - sudo apt-get remove -y azure-cli google-cloud-sdk google-chrome-stable firefox powershell mono-devel - sudo apt-get autoremove -y - sudo apt-get clean - df -h - echo "Removing large directories" - # deleting 15GB - sudo rm -rf /usr/share/dotnet/ - df -h - - name: Install ccache run: sudo apt-get install -y ccache