Skip to content

Commit

Permalink
Add clean up process
Browse files Browse the repository at this point in the history
  • Loading branch information
takahiro-yamada committed Oct 22, 2024
1 parent 08650cd commit f1bbb42
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,34 @@ jobs:
export SLACK_APP_TOKEN=${{ secrets.SLACK_APP_TOKEN }}
export SLACK_BOT_TOKEN=${{ secrets.SLACK_BOT_TOKEN }}
EOF
- name: Clean up unnecessary files
run: |
docker image prune -af
sudo rm -rf /opt/az || true
sudo rm -rf /opt/microsoft || true
sudo rm -rf /opt/pipx || true
sudo rm -rf /opt/google || true
sudo rm -rf /usr/share/dotnet || true
sudo rm -rf /usr/local/lib/android || true
sudo rm -rf /usr/local/share/boost || true
sudo rm -rf /usr/lib/jvm || true
sudo rm -rf /usr/share/swift || true
sudo rm -rf /usr/local/julia" || true
sudo rm -rf /usr/share/kotlinc || true
sudo rm -rf /usr/local/share/edge_driver || true
sudo rm -rf /usr/local/share/chromedriver-linux64 || true
sudo rm -rf /usr/local/share/gecko_driver || true
sudo rm -rf /usr/share/miniconda || true
sudo rm -rf /usr/local/share/phantomjs" || true
sudo rm -rf /usr/share/sbt || true
sudo rm -rf /usr/local/aws-cli || true
sudo rm -rf /usr/local/aws-sam-cli || true
sudo rm -rf /usr/local/sqlpackage || true
sudo rm -rf /usr/local/bin/minikube || true
sudo rm -rf /usr/local/bin/kustomize || true
sudo rm -rf /usr/local/bin/kubectl || true
sudo rm -rf /usr/local/bin/kind || true
sudo rm -rf /usr/local/bin/helm || true
- run: make setup KINDTEST_K8S_VERSION=${{ matrix.k8s-version }}
- run: make -C kindtest start KINDTEST_K8S_VERSION=${{ matrix.k8s-version }}
- run: make -C kindtest test
Expand Down

0 comments on commit f1bbb42

Please sign in to comment.