Skip to content

Commit

Permalink
Merge pull request #12967 from rook/mergify/bp/release-1.11/pr-12959
Browse files Browse the repository at this point in the history
ci: fix github action free disk space  (backport #12959)
  • Loading branch information
travisn committed Sep 28, 2023
2 parents be8e334 + 58e825c commit abfa14b
Show file tree
Hide file tree
Showing 10 changed files with 46 additions and 188 deletions.
140 changes: 0 additions & 140 deletions .github/workflows/canary-integration-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,6 @@ jobs:
with:
use-tmate: ${{ secrets.USE_TMATE }}

- name: Free Disk Space (Ubuntu)
uses: jlumbroso/free-disk-space@main
with:
# this might remove tools that are actually needed,
# if set to "true" but frees about 6 GB
tool-cache: true

- name: setup cluster resources
uses: ./.github/workflows/canary-test-config
with:
Expand Down Expand Up @@ -245,13 +238,6 @@ jobs:
with:
use-tmate: ${{ secrets.USE_TMATE }}

- name: Free Disk Space (Ubuntu)
uses: jlumbroso/free-disk-space@main
with:
# this might remove tools that are actually needed,
# if set to "true" but frees about 6 GB
tool-cache: true

- name: setup cluster resources
uses: ./.github/workflows/canary-test-config
with:
Expand Down Expand Up @@ -304,13 +290,6 @@ jobs:
with:
use-tmate: ${{ secrets.USE_TMATE }}

- name: Free Disk Space (Ubuntu)
uses: jlumbroso/free-disk-space@main
with:
# this might remove tools that are actually needed,
# if set to "true" but frees about 6 GB
tool-cache: true

- name: setup cluster resources
uses: ./.github/workflows/canary-test-config
with:
Expand Down Expand Up @@ -358,13 +337,6 @@ jobs:
with:
use-tmate: ${{ secrets.USE_TMATE }}

- name: Free Disk Space (Ubuntu)
uses: jlumbroso/free-disk-space@main
with:
# this might remove tools that are actually needed,
# if set to "true" but frees about 6 GB
tool-cache: true

- name: setup cluster resources
uses: ./.github/workflows/canary-test-config
with:
Expand Down Expand Up @@ -418,13 +390,6 @@ jobs:
with:
use-tmate: ${{ secrets.USE_TMATE }}

- name: Free Disk Space (Ubuntu)
uses: jlumbroso/free-disk-space@main
with:
# this might remove tools that are actually needed,
# if set to "true" but frees about 6 GB
tool-cache: true

- name: setup cluster resources
uses: ./.github/workflows/canary-test-config
with:
Expand Down Expand Up @@ -471,13 +436,6 @@ jobs:
with:
use-tmate: ${{ secrets.USE_TMATE }}

- name: Free Disk Space (Ubuntu)
uses: jlumbroso/free-disk-space@main
with:
# this might remove tools that are actually needed,
# if set to "true" but frees about 6 GB
tool-cache: true

- name: setup cluster resources
uses: ./.github/workflows/canary-test-config
with:
Expand Down Expand Up @@ -530,13 +488,6 @@ jobs:
with:
use-tmate: ${{ secrets.USE_TMATE }}

- name: Free Disk Space (Ubuntu)
uses: jlumbroso/free-disk-space@main
with:
# this might remove tools that are actually needed,
# if set to "true" but frees about 6 GB
tool-cache: true

- name: setup cluster resources
uses: ./.github/workflows/canary-test-config
with:
Expand Down Expand Up @@ -610,13 +561,6 @@ jobs:
with:
use-tmate: ${{ secrets.USE_TMATE }}

- name: Free Disk Space (Ubuntu)
uses: jlumbroso/free-disk-space@main
with:
# this might remove tools that are actually needed,
# if set to "true" but frees about 6 GB
tool-cache: true

- name: setup cluster resources
uses: ./.github/workflows/canary-test-config
with:
Expand Down Expand Up @@ -666,13 +610,6 @@ jobs:
with:
use-tmate: ${{ secrets.USE_TMATE }}

- name: Free Disk Space (Ubuntu)
uses: jlumbroso/free-disk-space@main
with:
# this might remove tools that are actually needed,
# if set to "true" but frees about 6 GB
tool-cache: true

- name: setup cluster resources
uses: ./.github/workflows/canary-test-config
with:
Expand Down Expand Up @@ -725,13 +662,6 @@ jobs:
with:
use-tmate: ${{ secrets.USE_TMATE }}

- name: Free Disk Space (Ubuntu)
uses: jlumbroso/free-disk-space@main
with:
# this might remove tools that are actually needed,
# if set to "true" but frees about 6 GB
tool-cache: true

- name: setup cluster resources
uses: ./.github/workflows/canary-test-config
with:
Expand Down Expand Up @@ -796,13 +726,6 @@ jobs:
with:
use-tmate: ${{ secrets.USE_TMATE }}

- name: Free Disk Space (Ubuntu)
uses: jlumbroso/free-disk-space@main
with:
# this might remove tools that are actually needed,
# if set to "true" but frees about 6 GB
tool-cache: true

- name: setup cluster resources
uses: ./.github/workflows/canary-test-config
with:
Expand Down Expand Up @@ -854,13 +777,6 @@ jobs:
with:
use-tmate: ${{ secrets.USE_TMATE }}

- name: Free Disk Space (Ubuntu)
uses: jlumbroso/free-disk-space@main
with:
# this might remove tools that are actually needed,
# if set to "true" but frees about 6 GB
tool-cache: true

- name: setup cluster resources
uses: ./.github/workflows/canary-test-config
with:
Expand Down Expand Up @@ -922,13 +838,6 @@ jobs:
with:
use-tmate: ${{ secrets.USE_TMATE }}

- name: Free Disk Space (Ubuntu)
uses: jlumbroso/free-disk-space@main
with:
# this might remove tools that are actually needed,
# if set to "true" but frees about 6 GB
tool-cache: true

- name: setup cluster resources
uses: ./.github/workflows/canary-test-config
with:
Expand Down Expand Up @@ -1011,13 +920,6 @@ jobs:
with:
use-tmate: ${{ secrets.USE_TMATE }}

- name: Free Disk Space (Ubuntu)
uses: jlumbroso/free-disk-space@main
with:
# this might remove tools that are actually needed,
# if set to "true" but frees about 6 GB
tool-cache: true

- name: setup cluster resources
uses: ./.github/workflows/canary-test-config
with:
Expand Down Expand Up @@ -1080,13 +982,6 @@ jobs:
with:
use-tmate: ${{ secrets.USE_TMATE }}

- name: Free Disk Space (Ubuntu)
uses: jlumbroso/free-disk-space@main
with:
# this might remove tools that are actually needed,
# if set to "true" but frees about 6 GB
tool-cache: true

- name: setup cluster resources
uses: ./.github/workflows/canary-test-config
with:
Expand Down Expand Up @@ -1141,13 +1036,6 @@ jobs:
with:
use-tmate: ${{ secrets.USE_TMATE }}

- name: Free Disk Space (Ubuntu)
uses: jlumbroso/free-disk-space@main
with:
# this might remove tools that are actually needed,
# if set to "true" but frees about 6 GB
tool-cache: true

- name: setup cluster resources
uses: ./.github/workflows/canary-test-config
with:
Expand Down Expand Up @@ -1405,13 +1293,6 @@ jobs:
with:
use-tmate: ${{ secrets.USE_TMATE }}

- name: Free Disk Space (Ubuntu)
uses: jlumbroso/free-disk-space@main
with:
# this might remove tools that are actually needed,
# if set to "true" but frees about 6 GB
tool-cache: true

- name: run RGW multisite test
uses: ./.github/workflows/rgw-multisite-test
with:
Expand Down Expand Up @@ -1440,13 +1321,6 @@ jobs:
with:
use-tmate: ${{ secrets.USE_TMATE }}

- name: Free Disk Space (Ubuntu)
uses: jlumbroso/free-disk-space@main
with:
# this might remove tools that are actually needed,
# if set to "true" but frees about 6 GB
tool-cache: true

- name: run encryption KMS IBM Key Protect
uses: ./.github/workflows/encryption-pvc-kms-ibm-kp
if: "env.IBM_KP_SERVICE_INSTANCE_ID != '' && env.IBM_KP_SERVICE_API_KEY != ''"
Expand Down Expand Up @@ -1482,13 +1356,6 @@ jobs:
with:
use-tmate: ${{ secrets.USE_TMATE }}

- name: Free Disk Space (Ubuntu)
uses: jlumbroso/free-disk-space@main
with:
# this might remove tools that are actually needed,
# if set to "true" but frees about 6 GB
tool-cache: true

- name: setup golang
uses: actions/setup-go@v3
with:
Expand Down Expand Up @@ -1569,13 +1436,6 @@ jobs:
with:
use-tmate: ${{ secrets.USE_TMATE }}

- name: Free Disk Space (Ubuntu)
uses: jlumbroso/free-disk-space@main
with:
# this might remove tools that are actually needed,
# if set to "true" but frees about 6 GB
tool-cache: true

- name: setup cluster resources
uses: ./.github/workflows/canary-test-config
with:
Expand Down
13 changes: 13 additions & 0 deletions .github/workflows/canary-test-config/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,19 @@ inputs:
runs:
using: "composite"
steps:
- name: manually remove gcloud
shell: bash --noprofile --norc -eo pipefail -x {0}
run: |
tests/scripts/github-action-helper.sh remove_gcloud_in_runner
- name: Free Disk Space (Ubuntu)
uses: jlumbroso/free-disk-space@main
with:
# this might remove tools that are actually needed,
# if set to "true" but frees about 6 GB
tool-cache: true
large-packages: false

- name: setup golang
uses: actions/setup-go@v2
with:
Expand Down
13 changes: 13 additions & 0 deletions .github/workflows/integration-test-config-latest-k8s/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,19 @@ inputs:
runs:
using: "composite"
steps:
- name: manually remove gcloud
shell: bash --noprofile --norc -eo pipefail -x {0}
run: |
tests/scripts/github-action-helper.sh remove_gcloud_in_runner
- name: Free Disk Space (Ubuntu)
uses: jlumbroso/free-disk-space@main
with:
# this might remove tools that are actually needed,
# if set to "true" but frees about 6 GB
tool-cache: true
large-packages: false

- name: setup golang
uses: actions/setup-go@v2
with:
Expand Down
7 changes: 0 additions & 7 deletions .github/workflows/integration-test-helm-suite.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,6 @@ jobs:
with:
use-tmate: ${{ secrets.USE_TMATE }}

- name: Free Disk Space (Ubuntu)
uses: jlumbroso/free-disk-space@main
with:
# this might remove tools that are actually needed,
# if set to "true" but frees about 6 GB
tool-cache: true

- name: setup latest cluster resources
uses: ./.github/workflows/integration-test-config-latest-k8s
with:
Expand Down
6 changes: 0 additions & 6 deletions .github/workflows/integration-test-mgr-suite.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,6 @@ jobs:
with:
use-tmate: ${{ secrets.USE_TMATE }}

- name: Free Disk Space (Ubuntu)
uses: jlumbroso/free-disk-space@main
with:
# this might remove tools that are actually needed,
# if set to "true" but frees about 6 GB
tool-cache: true

- name: setup cluster resources
uses: ./.github/workflows/integration-test-config-latest-k8s
Expand Down
7 changes: 0 additions & 7 deletions .github/workflows/integration-test-multi-cluster-suite.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,6 @@ jobs:
with:
use-tmate: ${{ secrets.USE_TMATE }}

- name: Free Disk Space (Ubuntu)
uses: jlumbroso/free-disk-space@main
with:
# this might remove tools that are actually needed,
# if set to "true" but frees about 6 GB
tool-cache: true

- name: setup cluster resources
uses: ./.github/workflows/integration-test-config-latest-k8s
with:
Expand Down
7 changes: 0 additions & 7 deletions .github/workflows/integration-test-object-suite.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,6 @@ jobs:
with:
use-tmate: ${{ secrets.USE_TMATE }}

- name: Free Disk Space (Ubuntu)
uses: jlumbroso/free-disk-space@main
with:
# this might remove tools that are actually needed,
# if set to "true" but frees about 6 GB
tool-cache: true

- name: setup latest cluster resources
uses: ./.github/workflows/integration-test-config-latest-k8s
with:
Expand Down
7 changes: 0 additions & 7 deletions .github/workflows/integration-test-smoke-suite.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,6 @@ jobs:
with:
use-tmate: ${{ secrets.USE_TMATE }}

- name: Free Disk Space (Ubuntu)
uses: jlumbroso/free-disk-space@main
with:
# this might remove tools that are actually needed,
# if set to "true" but frees about 6 GB
tool-cache: true

- name: setup cluster resources
uses: ./.github/workflows/integration-test-config-latest-k8s
with:
Expand Down
Loading

0 comments on commit abfa14b

Please sign in to comment.