Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Add cleanup and disk usage checks to GitHub Actions workflow. #1401

Merged
merged 1 commit into from
Oct 4, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,10 @@ jobs:
env:
KUBECONFIG: /home/runner/.kube/config
STARBOARD_TEST_CLI_LOG_LEVEL: "0"
- name: Cleanup Docker and KIND resources
run: |
docker system prune -a --force
docker volume prune --force
itest-starboard-operator:
name: Run integration tests / Starboard Operator
needs:
Expand Down Expand Up @@ -95,6 +99,10 @@ jobs:
KUBECONFIG: /home/runner/.kube/config
OPERATOR_NAMESPACE: starboard-system
OPERATOR_TARGET_NAMESPACES: default
- name: Cleanup Docker and KIND resources
run: |
docker system prune -a --force
docker volume prune --force
integration-operator-conftest:
name: Integration / Operator / Conftest
needs:
Expand Down Expand Up @@ -133,6 +141,10 @@ jobs:
KUBECONFIG: /home/runner/.kube/config
OPERATOR_NAMESPACE: starboard-system
OPERATOR_TARGET_NAMESPACES: default
- name: Cleanup Docker and KIND resources
run: |
docker system prune -a --force
docker volume prune --force
release:
name: Release
needs:
Expand Down Expand Up @@ -172,3 +184,9 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# - name: Update new version for plugin 'starboard' in krew-index
# uses: rajatjindal/[email protected]
- name: Cleanup Docker and KIND resources
run: |
docker system prune -a --force
docker volume prune --force
- name: Check disk usage
run: df -h
Loading