Skip to content

Commit

Permalink
MINIFICPP-2492 Free up disk space for docker tests
Browse files Browse the repository at this point in the history
It seems Elasticsearch tests were transiently failing due to insufficient disk space to start the Elasticsearch node. Freeing up some additional disk space solves this issue.

https://issues.apache.org/jira/browse/MINIFICPP-2492

Closes #1899

Signed-off-by: Marton Szasz <[email protected]>
  • Loading branch information
lordgamez authored and szaszm committed Nov 21, 2024
1 parent 5953140 commit db574c8
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -553,6 +553,16 @@ jobs:
restore-keys: |
docker-ccache-${{github.ref}}-
docker-ccache-refs/heads/main
- id: free_disk_space
run: |
# We can gain additional disk space on the Ubuntu runners thanks to these suggestions:
# https://github.com/actions/runner-images/issues/2840#issuecomment-790492173
# https://github.com/actions/runner-images/issues/2606#issuecomment-772683150
sudo rm -rf /usr/share/dotnet
sudo rm -rf /usr/local/lib/android
sudo rm -rf /opt/ghc
sudo rm -rf "/usr/local/share/boost"
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
- id: build
run: |
mkdir build
Expand Down Expand Up @@ -599,6 +609,16 @@ jobs:
run: |
sudo apt update
sudo apt install -y python3-virtualenv
- id: free_disk_space
run: |
# We can gain additional disk space on the Ubuntu runners thanks to these suggestions:
# https://github.com/actions/runner-images/issues/2840#issuecomment-790492173
# https://github.com/actions/runner-images/issues/2606#issuecomment-772683150
sudo rm -rf /usr/share/dotnet
sudo rm -rf /usr/local/lib/android
sudo rm -rf /opt/ghc
sudo rm -rf "/usr/local/share/boost"
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
- id: test
name: Docker Verify
working-directory: ./build
Expand Down

0 comments on commit db574c8

Please sign in to comment.