Skip to content

Commit

Permalink
ci(space): free up disk space before running tests
Browse files Browse the repository at this point in the history
Also remove uneeded call to /v2/_catalog.

Signed-off-by: Andrei Aaron <aaaron@luxoft.com>
  • Loading branch information
andaaron committed Aug 29, 2023
1 parent 845726c commit fc452d7
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/end-to-end-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,14 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Cleanup disk space
run: |
# To free up ~15 GB of disk space
sudo rm -rf /opt/ghc
sudo rm -rf /usr/local/share/boost
sudo rm -rf /usr/local/lib/android
sudo rm -rf /usr/share/dotnet
- name: Checkout zui repository
uses: actions/checkout@v3
with:
Expand Down Expand Up @@ -116,11 +124,6 @@ jobs:
cd $GITHUB_WORKSPACE
make playwright-browsers
- name: Trigger catalog
run: |
while true; do x=0; curl -f http://$REGISTRY_HOST:$REGISTRY_PORT/v2/_catalog || x=1; if [ $x -eq 0 ]; then break; fi; sleep 1; done
- name: Run integration tests
run: |
cd $GITHUB_WORKSPACE
Expand Down

0 comments on commit fc452d7

Please sign in to comment.