From 08d2217160f6204333d9a682d5897fdf82a2be57 Mon Sep 17 00:00:00 2001 From: DmitriyLewen Date: Mon, 5 Feb 2024 15:08:11 +0600 Subject: [PATCH 1/7] fix(ci): reduce root-reserve-mb for maximize-build-space --- .github/workflows/test.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 5ac3241803bf..45510a9b16d2 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -91,11 +91,12 @@ jobs: - name: Maximize build space uses: easimon/maximize-build-space@v10 with: - root-reserve-mb: 35840 # The Go cache (`~/.cache/go-build` and `~/go/pkg`) requires a lot of storage space. + root-reserve-mb: 25600 # The Go cache (`~/.cache/go-build` and `~/go/pkg`) requires a lot of storage space. remove-android: "true" remove-docker-images: "true" remove-dotnet: "true" remove-haskell: "true" + remove-codeql: "true" - name: Check out code into the Go module directory uses: actions/checkout@v4.1.1 From a7094b2c0603e43c4514fbb8dcc9c769abddea37 Mon Sep 17 00:00:00 2001 From: DmitriyLewen Date: Mon, 5 Feb 2024 15:11:31 +0600 Subject: [PATCH 2/7] refactor(ci): use 30720 MB for root-reserve-mb --- .github/workflows/test.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 45510a9b16d2..7f0dc3dd55d2 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -91,12 +91,11 @@ jobs: - name: Maximize build space uses: easimon/maximize-build-space@v10 with: - root-reserve-mb: 25600 # The Go cache (`~/.cache/go-build` and `~/go/pkg`) requires a lot of storage space. + root-reserve-mb: 30720 # The Go cache (`~/.cache/go-build` and `~/go/pkg`) requires a lot of storage space. remove-android: "true" remove-docker-images: "true" remove-dotnet: "true" remove-haskell: "true" - remove-codeql: "true" - name: Check out code into the Go module directory uses: actions/checkout@v4.1.1 From 36d60048317373b99cbb43d341203997cb0b386e Mon Sep 17 00:00:00 2001 From: DmitriyLewen Date: Mon, 5 Feb 2024 15:20:35 +0600 Subject: [PATCH 3/7] refactor(ci): use 32768 MB for root-reserve-mb --- .github/workflows/test.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 7f0dc3dd55d2..d6c7162faf35 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -91,7 +91,7 @@ jobs: - name: Maximize build space uses: easimon/maximize-build-space@v10 with: - root-reserve-mb: 30720 # The Go cache (`~/.cache/go-build` and `~/go/pkg`) requires a lot of storage space. + root-reserve-mb: 32768 # The Go cache (`~/.cache/go-build` and `~/go/pkg`) requires a lot of storage space. remove-android: "true" remove-docker-images: "true" remove-dotnet: "true" From 7f92afe2e05965412b8979bbc2af28ac0eb26a31 Mon Sep 17 00:00:00 2001 From: DmitriyLewen Date: Mon, 5 Feb 2024 15:35:24 +0600 Subject: [PATCH 4/7] refactor(ci): use 32768 MB for `build` and `integration` tests --- .github/workflows/test.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index d6c7162faf35..70dcacee5b71 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -142,7 +142,7 @@ jobs: - name: Maximize build space uses: easimon/maximize-build-space@v10 with: - root-reserve-mb: 35840 # The Go cache (`~/.cache/go-build` and `~/go/pkg`) requires a lot of storage space. + root-reserve-mb: 32768 # The Go cache (`~/.cache/go-build` and `~/go/pkg`) requires a lot of storage space. remove-android: 'true' remove-docker-images: 'true' remove-dotnet: 'true' @@ -175,7 +175,7 @@ jobs: - name: Maximize build space uses: easimon/maximize-build-space@v10 with: - root-reserve-mb: 35840 # The Go cache (`~/.cache/go-build` and `~/go/pkg`) requires a lot of storage space. + root-reserve-mb: 32768 # The Go cache (`~/.cache/go-build` and `~/go/pkg`) requires a lot of storage space. remove-android: 'true' remove-docker-images: 'true' remove-dotnet: 'true' From 216f56fa864b01af5610addf4b97d7984bba7bf5 Mon Sep 17 00:00:00 2001 From: DmitriyLewen Date: Mon, 5 Feb 2024 15:42:02 +0600 Subject: [PATCH 5/7] test sizes --- .github/workflows/test.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 70dcacee5b71..3b08ffcc06b0 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -91,7 +91,7 @@ jobs: - name: Maximize build space uses: easimon/maximize-build-space@v10 with: - root-reserve-mb: 32768 # The Go cache (`~/.cache/go-build` and `~/go/pkg`) requires a lot of storage space. + root-reserve-mb: 34816 # The Go cache (`~/.cache/go-build` and `~/go/pkg`) requires a lot of storage space. remove-android: "true" remove-docker-images: "true" remove-dotnet: "true" @@ -142,7 +142,7 @@ jobs: - name: Maximize build space uses: easimon/maximize-build-space@v10 with: - root-reserve-mb: 32768 # The Go cache (`~/.cache/go-build` and `~/go/pkg`) requires a lot of storage space. + root-reserve-mb: 33792 # The Go cache (`~/.cache/go-build` and `~/go/pkg`) requires a lot of storage space. remove-android: 'true' remove-docker-images: 'true' remove-dotnet: 'true' From 3780f9c6acecf15df77750ff9f533ebb8771b742 Mon Sep 17 00:00:00 2001 From: DmitriyLewen Date: Mon, 5 Feb 2024 15:49:52 +0600 Subject: [PATCH 6/7] ci: use 33792MB for `maximize-build-space` --- .github/workflows/reusable-release.yaml | 2 +- .github/workflows/test.yaml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/reusable-release.yaml b/.github/workflows/reusable-release.yaml index ca418976dde4..9872a5bf84eb 100644 --- a/.github/workflows/reusable-release.yaml +++ b/.github/workflows/reusable-release.yaml @@ -29,7 +29,7 @@ jobs: - name: Maximize build space uses: easimon/maximize-build-space@v10 with: - root-reserve-mb: 35840 # The Go cache (`~/.cache/go-build` and `~/go/pkg`) requires a lot of storage space. + root-reserve-mb: 33792 # The Go cache (`~/.cache/go-build` and `~/go/pkg`) requires a lot of storage space. remove-android: 'true' remove-docker-images: 'true' remove-dotnet: 'true' diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 3b08ffcc06b0..66804b9caf16 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -91,7 +91,7 @@ jobs: - name: Maximize build space uses: easimon/maximize-build-space@v10 with: - root-reserve-mb: 34816 # The Go cache (`~/.cache/go-build` and `~/go/pkg`) requires a lot of storage space. + root-reserve-mb: 33792 # The Go cache (`~/.cache/go-build` and `~/go/pkg`) requires a lot of storage space. remove-android: "true" remove-docker-images: "true" remove-dotnet: "true" @@ -175,7 +175,7 @@ jobs: - name: Maximize build space uses: easimon/maximize-build-space@v10 with: - root-reserve-mb: 32768 # The Go cache (`~/.cache/go-build` and `~/go/pkg`) requires a lot of storage space. + root-reserve-mb: 33792 # The Go cache (`~/.cache/go-build` and `~/go/pkg`) requires a lot of storage space. remove-android: 'true' remove-docker-images: 'true' remove-dotnet: 'true' From 6f08978f469fe89b1b428dc08af35ee52320f3b8 Mon Sep 17 00:00:00 2001 From: DmitriyLewen Date: Mon, 5 Feb 2024 15:55:33 +0600 Subject: [PATCH 7/7] ci: use 32768MB for `maximize-build-space` --- .github/workflows/reusable-release.yaml | 2 +- .github/workflows/test.yaml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/reusable-release.yaml b/.github/workflows/reusable-release.yaml index 9872a5bf84eb..f518c5080aad 100644 --- a/.github/workflows/reusable-release.yaml +++ b/.github/workflows/reusable-release.yaml @@ -29,7 +29,7 @@ jobs: - name: Maximize build space uses: easimon/maximize-build-space@v10 with: - root-reserve-mb: 33792 # The Go cache (`~/.cache/go-build` and `~/go/pkg`) requires a lot of storage space. + root-reserve-mb: 32768 # The Go cache (`~/.cache/go-build` and `~/go/pkg`) requires a lot of storage space. remove-android: 'true' remove-docker-images: 'true' remove-dotnet: 'true' diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 66804b9caf16..70dcacee5b71 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -91,7 +91,7 @@ jobs: - name: Maximize build space uses: easimon/maximize-build-space@v10 with: - root-reserve-mb: 33792 # The Go cache (`~/.cache/go-build` and `~/go/pkg`) requires a lot of storage space. + root-reserve-mb: 32768 # The Go cache (`~/.cache/go-build` and `~/go/pkg`) requires a lot of storage space. remove-android: "true" remove-docker-images: "true" remove-dotnet: "true" @@ -142,7 +142,7 @@ jobs: - name: Maximize build space uses: easimon/maximize-build-space@v10 with: - root-reserve-mb: 33792 # The Go cache (`~/.cache/go-build` and `~/go/pkg`) requires a lot of storage space. + root-reserve-mb: 32768 # The Go cache (`~/.cache/go-build` and `~/go/pkg`) requires a lot of storage space. remove-android: 'true' remove-docker-images: 'true' remove-dotnet: 'true' @@ -175,7 +175,7 @@ jobs: - name: Maximize build space uses: easimon/maximize-build-space@v10 with: - root-reserve-mb: 33792 # The Go cache (`~/.cache/go-build` and `~/go/pkg`) requires a lot of storage space. + root-reserve-mb: 32768 # The Go cache (`~/.cache/go-build` and `~/go/pkg`) requires a lot of storage space. remove-android: 'true' remove-docker-images: 'true' remove-dotnet: 'true'