mirror of
https://github.com/suitenumerique/docs.git
synced 2026-10-01 05:55:16 +02:00
👷(CI) free disk space in some job
An error appeared in the CI indicating that there is no space left on device on the e2e tests jobs. To fix this, we free some disk space by removing unused docker images and some unnecessary large folders.
This commit is contained in:
@@ -82,6 +82,12 @@ jobs:
|
||||
- name: Set e2e env variables
|
||||
run: cat env.d/development/common.e2e >> env.d/development/common.local
|
||||
|
||||
- name: Free disk space
|
||||
run: |
|
||||
docker system prune -af --volumes
|
||||
sudo rm -rf /usr/share/dotnet /opt/ghc /usr/local/share/boost
|
||||
df -h
|
||||
|
||||
- name: Install Playwright Browsers
|
||||
run: cd src/frontend/apps/e2e && yarn install --frozen-lockfile && yarn install-playwright chromium
|
||||
|
||||
@@ -121,6 +127,12 @@ jobs:
|
||||
- name: Set e2e env variables
|
||||
run: cat env.d/development/common.e2e >> env.d/development/common.local
|
||||
|
||||
- name: Free disk space
|
||||
run: |
|
||||
docker system prune -af --volumes
|
||||
sudo rm -rf /usr/share/dotnet /opt/ghc /usr/local/share/boost
|
||||
df -h
|
||||
|
||||
- name: Install Playwright Browsers
|
||||
run: cd src/frontend/apps/e2e && yarn install --frozen-lockfile && yarn install-playwright firefox webkit chromium
|
||||
|
||||
|
||||
Reference in New Issue
Block a user