mirror of
https://github.com/cloudnative-pg/plugin-barman-cloud.git
synced 2026-09-04 22:22:21 +02:00
ci: skip disk cleanup on larger runners
The disk cleanup steps exist because the default ubuntu-latest runner has limited free space. Runners selected via CI_RUNNERS other than the default come with much larger disks, making the cleanup unnecessary overhead. Signed-off-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com>
This commit is contained in:
parent
258d4b17d1
commit
12d66a070b
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@ -14,6 +14,7 @@ jobs:
|
||||
contents: write
|
||||
steps:
|
||||
- name: Cleanup Disk
|
||||
if: vars.CI_RUNNERS == '' || vars.CI_RUNNERS == 'ubuntu-latest'
|
||||
uses: jlumbroso/free-disk-space@v1.3.1
|
||||
with:
|
||||
android: true
|
||||
@ -23,6 +24,7 @@ jobs:
|
||||
large-packages: false
|
||||
swap-storage: false
|
||||
- name: Cleanup docker cache
|
||||
if: vars.CI_RUNNERS == '' || vars.CI_RUNNERS == 'ubuntu-latest'
|
||||
run: |
|
||||
echo "-------------Disk info before cleanup----------------"
|
||||
df -h
|
||||
|
||||
Loading…
Reference in New Issue
Block a user