From d1cb8395eabe0433cbff960e1316bbfcf3856d7f Mon Sep 17 00:00:00 2001 From: Nicolas Mowen Date: Thu, 1 Oct 2026 10:07:15 -0600 Subject: [PATCH] Reserve other volumes (#24538) --- .github/actions/setup/action.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/actions/setup/action.yml b/.github/actions/setup/action.yml index 3f61d6b9f1..46992b0e8d 100644 --- a/.github/actions/setup/action.yml +++ b/.github/actions/setup/action.yml @@ -11,20 +11,20 @@ outputs: runs: using: "composite" steps: - # Prune preinstalled images, then stop docker so we can mount more space at - # /var/lib/docker + # Stop docker so we can mount more space at /var/lib/docker - name: Stop docker - run: | - sudo docker image prune --all --force - sudo systemctl stop docker + run: sudo systemctl stop docker shell: bash # This creates a virtual volume at /var/lib/docker to maximize the size # As of 2/14/2024, this results in 97G for docker images - # Keep 4G on root for setup-qemu/buildx caches in ~/.docker and the tool cache + # Runners no longer have a separate /mnt disk, so the temp PV is also carved + # from root and temp-reserve-mb is what actually stays free on root. Keep 4G + # there for setup-qemu/buildx caches in ~/.docker and the tool cache - name: Maximize build space uses: easimon/maximize-build-space@master with: - root-reserve-mb: 4096 + root-reserve-mb: 8192 + temp-reserve-mb: 4096 remove-dotnet: 'true' remove-android: 'true' remove-haskell: 'true'