From 3d8eb9f3970cd23623dd7ae79395d4d21da2d16c Mon Sep 17 00:00:00 2001 From: Brian Mesick Date: Fri, 13 Oct 2023 13:02:48 -0400 Subject: [PATCH] build: Add free disk space to dev and local tests Now we're running out of space on those test runners as well. --- .github/workflows/test-tutor-aspects.yml | 28 ++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/.github/workflows/test-tutor-aspects.yml b/.github/workflows/test-tutor-aspects.yml index 699a8bb32..913129584 100644 --- a/.github/workflows/test-tutor-aspects.yml +++ b/.github/workflows/test-tutor-aspects.yml @@ -33,6 +33,20 @@ jobs: run: tutor config save - name: Setup Docker Buildx uses: docker/setup-buildx-action@v3 + - name: Free Disk Space (Ubuntu) + uses: jlumbroso/free-disk-space@d5af243ce7bacb67384aa6c5b1fc5f169e30903e + with: + # this might remove tools that are actually needed, + # if set to "true" but frees about 6 GB + tool-cache: false + + # all of these default to true, but feel free to set to + # "false" if necessary for your workflow + android: true + dotnet: true + haskell: true + large-packages: false + swap-storage: true - name: Tutor build openedx run: tutor images build openedx aspects aspects-superset - name: Tutor start @@ -71,6 +85,20 @@ jobs: run: tutor config save - name: Setup Docker Buildx uses: docker/setup-buildx-action@v3 + - name: Free Disk Space (Ubuntu) + uses: jlumbroso/free-disk-space@d5af243ce7bacb67384aa6c5b1fc5f169e30903e + with: + # this might remove tools that are actually needed, + # if set to "true" but frees about 6 GB + tool-cache: false + + # all of these default to true, but feel free to set to + # "false" if necessary for your workflow + android: true + dotnet: true + haskell: true + large-packages: false + swap-storage: true - name: Tutor build openedx run: tutor images build openedx-dev aspects aspects-superset - name: Tutor start