From 28c89f2b5fcc5a6caad21207bdd3c3fc373532a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Noco=C5=84?= Date: Wed, 10 Dec 2025 15:59:18 +0100 Subject: [PATCH 1/4] Added disk space cleanup --- .github/workflows/api_refs.yaml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/.github/workflows/api_refs.yaml b/.github/workflows/api_refs.yaml index e97d9bb67a..0ec74fafd9 100644 --- a/.github/workflows/api_refs.yaml +++ b/.github/workflows/api_refs.yaml @@ -45,6 +45,28 @@ jobs: SATIS_NETWORK_TOKEN: ${{ secrets.SATIS_NETWORK_TOKEN }} BASE_BRANCH: ${{ steps.version_and_branches.outputs.base_branch }} run: | + echo "Space usage before installing dependencies:" + df -h + echo "Home realpath: $(realpath ~)" + echo "Listing space usage of home directory:" + time du -h -d1 ~ + time du -h -d1 ~/.local + time du -h -d1 ~/actions-runner + time du -h -d1 ~/actions-runner/cached + time du -h -d1 ~/work + + echo "Removing large packages" + sudo apt-get remove -y azure-cli google-cloud-sdk hhvm microsoft-edge-stable google-chrome-stable firefox powershell mono-devel + sudo apt-get autoremove -y + sudo apt-get clean + + echo "Removing large directories" + rm -rf /usr/share/dotnet/ + rm -rf /opt/hostedtoolcache + + echo "Space usage after cleanup:" + df -h + composer config --global http-basic.updates.ibexa.co $SATIS_NETWORK_KEY $SATIS_NETWORK_TOKEN if [[ '4.6' != $BASE_BRANCH ]]; then tools/api_refs/api_refs.sh From 6ae06d0e2ddfb28ee63c7a132706e5db8891a56e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Noco=C5=84?= Date: Wed, 10 Dec 2025 16:03:06 +0100 Subject: [PATCH 2/4] Fixes --- .github/workflows/api_refs.yaml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/api_refs.yaml b/.github/workflows/api_refs.yaml index 0ec74fafd9..c1a01384b6 100644 --- a/.github/workflows/api_refs.yaml +++ b/.github/workflows/api_refs.yaml @@ -50,10 +50,8 @@ jobs: echo "Home realpath: $(realpath ~)" echo "Listing space usage of home directory:" time du -h -d1 ~ - time du -h -d1 ~/.local time du -h -d1 ~/actions-runner time du -h -d1 ~/actions-runner/cached - time du -h -d1 ~/work echo "Removing large packages" sudo apt-get remove -y azure-cli google-cloud-sdk hhvm microsoft-edge-stable google-chrome-stable firefox powershell mono-devel From aab39d3ed19d8ae7dc36f82cca1ba6d83d02d3e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Noco=C5=84?= Date: Wed, 10 Dec 2025 16:14:25 +0100 Subject: [PATCH 3/4] Removed packages --- .github/workflows/api_refs.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/api_refs.yaml b/.github/workflows/api_refs.yaml index c1a01384b6..865700859f 100644 --- a/.github/workflows/api_refs.yaml +++ b/.github/workflows/api_refs.yaml @@ -54,7 +54,7 @@ jobs: time du -h -d1 ~/actions-runner/cached echo "Removing large packages" - sudo apt-get remove -y azure-cli google-cloud-sdk hhvm microsoft-edge-stable google-chrome-stable firefox powershell mono-devel + sudo apt-get remove -y azure-cli microsoft-edge-stable google-chrome-stable firefox powershell mono-devel sudo apt-get autoremove -y sudo apt-get clean From e29bdc77d2d564740504fb084c1a38fa56f0f389 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Noco=C5=84?= Date: Wed, 10 Dec 2025 16:18:25 +0100 Subject: [PATCH 4/4] Removed dotnet removing --- .github/workflows/api_refs.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/api_refs.yaml b/.github/workflows/api_refs.yaml index 865700859f..7b8348778e 100644 --- a/.github/workflows/api_refs.yaml +++ b/.github/workflows/api_refs.yaml @@ -59,7 +59,6 @@ jobs: sudo apt-get clean echo "Removing large directories" - rm -rf /usr/share/dotnet/ rm -rf /opt/hostedtoolcache echo "Space usage after cleanup:"