From 25d33021c624499d1cb2807caa4e26919b7370ab Mon Sep 17 00:00:00 2001 From: Savil Srivastava <676452+savil@users.noreply.github.com> Date: Mon, 28 Aug 2023 15:59:51 -0700 Subject: [PATCH 1/5] [cli test] use action to maximize disk space --- .github/workflows/cli-tests.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/cli-tests.yaml b/.github/workflows/cli-tests.yaml index 8d1f9356d50..63f9e278b79 100644 --- a/.github/workflows/cli-tests.yaml +++ b/.github/workflows/cli-tests.yaml @@ -97,6 +97,8 @@ jobs: runs-on: ${{ matrix.os }} timeout-minutes: ${{ (github.ref == 'refs/heads/main' || inputs.run-mac-tests) && 37 || 25 }} steps: + - name: Maximize build disk space + uses: easimon/maximize-build-space@v8 - uses: actions/checkout@v3 - uses: actions/setup-go@v4 with: From 7043f2bc9aea89685d2a354fe6dcd7640702702f Mon Sep 17 00:00:00 2001 From: Savil Srivastava <676452+savil@users.noreply.github.com> Date: Mon, 28 Aug 2023 16:37:55 -0700 Subject: [PATCH 2/5] reserve 10GB in root for nix store, and remove haskell, android, dotnet --- .github/workflows/cli-tests.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/cli-tests.yaml b/.github/workflows/cli-tests.yaml index 63f9e278b79..c3fef8c0a96 100644 --- a/.github/workflows/cli-tests.yaml +++ b/.github/workflows/cli-tests.yaml @@ -99,6 +99,11 @@ jobs: steps: - name: Maximize build disk space uses: easimon/maximize-build-space@v8 + with: + root-reserve-mb: 10000 + remove-dotnet: true + remove-android: true + remove-haskell: true - uses: actions/checkout@v3 - uses: actions/setup-go@v4 with: From 5f95092017fe811c63edfd2344459164e31e22ac Mon Sep 17 00:00:00 2001 From: Savil Srivastava <676452+savil@users.noreply.github.com> Date: Mon, 28 Aug 2023 17:05:30 -0700 Subject: [PATCH 3/5] bump root space to 20GB --- .github/workflows/cli-tests.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/cli-tests.yaml b/.github/workflows/cli-tests.yaml index c3fef8c0a96..9304c392ee6 100644 --- a/.github/workflows/cli-tests.yaml +++ b/.github/workflows/cli-tests.yaml @@ -100,7 +100,7 @@ jobs: - name: Maximize build disk space uses: easimon/maximize-build-space@v8 with: - root-reserve-mb: 10000 + root-reserve-mb: 20000 remove-dotnet: true remove-android: true remove-haskell: true From 3c7c85d269adeb30c5fe855c2bc8548bc1cdca11 Mon Sep 17 00:00:00 2001 From: Savil Srivastava <676452+savil@users.noreply.github.com> Date: Mon, 28 Aug 2023 17:44:53 -0700 Subject: [PATCH 4/5] remove CodeQL and reserve more temp save from 100MB to 2GB --- .github/workflows/cli-tests.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/cli-tests.yaml b/.github/workflows/cli-tests.yaml index 9304c392ee6..c7e9a7a5bf2 100644 --- a/.github/workflows/cli-tests.yaml +++ b/.github/workflows/cli-tests.yaml @@ -101,9 +101,11 @@ jobs: uses: easimon/maximize-build-space@v8 with: root-reserve-mb: 20000 + temp-reserve-mb: 2000 remove-dotnet: true remove-android: true remove-haskell: true + remove-codeql: true - uses: actions/checkout@v3 - uses: actions/setup-go@v4 with: From f713544b1c489ee0fcaa76092be0f06da2c12ab9 Mon Sep 17 00:00:00 2001 From: Savil Srivastava <676452+savil@users.noreply.github.com> Date: Mon, 28 Aug 2023 19:46:49 -0700 Subject: [PATCH 5/5] bump root space to 30GB --- .github/workflows/cli-tests.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/cli-tests.yaml b/.github/workflows/cli-tests.yaml index c7e9a7a5bf2..7c5ed487278 100644 --- a/.github/workflows/cli-tests.yaml +++ b/.github/workflows/cli-tests.yaml @@ -100,7 +100,7 @@ jobs: - name: Maximize build disk space uses: easimon/maximize-build-space@v8 with: - root-reserve-mb: 20000 + root-reserve-mb: 30000 temp-reserve-mb: 2000 remove-dotnet: true remove-android: true