Skip to content

Commit

Permalink
cleanup dotnet
Browse files Browse the repository at this point in the history
Signed-off-by: Austin Abro <[email protected]>
  • Loading branch information
AustinAbro321 committed Aug 2, 2024
1 parent f4efdb6 commit 9cec943
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 15 deletions.
1 change: 1 addition & 0 deletions .github/actions/cleanup-files/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ runs:
sudo rm -rf zarf-sbom /tmp/zarf-*
sudo env "PATH=$PATH" CI=true make delete-packages
sudo rm -rf /usr/share/dotnet
sudo build/zarf tools clear-cache
sudo docker system prune --all --force
Expand Down
16 changes: 2 additions & 14 deletions .github/workflows/nightly-eks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,21 +57,9 @@ jobs:
- name: Run tests
run: make test-e2e-with-cluster ARCH=amd64

- name: get pods
- name: show cluster logs
uses: ./.github/actions/debug-cluster
if: always()
run: kubectl get pods -n kiwix -o yaml

- name: describe pod
if: always()
run: kubectl describe pods -n kiwix

- name: get nodes
if: always()
run: kubectl get nodes -o yaml

- name: describe nodes
if: always()
run: kubectl describe nodes

- name: Teardown the cluster
if: always()
Expand Down
16 changes: 16 additions & 0 deletions .github/workflows/test-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,10 @@ jobs:
run: |
make test-e2e-with-cluster ARCH=amd64
- name: get cluster info
uses: ./.github/actions/debug-cluster
if: always()

- name: Save logs
if: always()
uses: ./.github/actions/save-logs
Expand Down Expand Up @@ -157,6 +161,10 @@ jobs:
run: |
sudo env "PATH=$PATH" CI=true APPLIANCE_MODE=true make test-e2e-with-cluster ARCH=amd64
- name: get cluster info
uses: ./.github/actions/debug-cluster
if: always()

- name: Save logs
if: always()
uses: ./.github/actions/save-logs
Expand Down Expand Up @@ -197,6 +205,10 @@ jobs:
run: |
make test-e2e-with-cluster ARCH=amd64
- name: get cluster info
uses: ./.github/actions/debug-cluster
if: always()

- name: Save logs
if: always()
uses: ./.github/actions/save-logs
Expand Down Expand Up @@ -235,6 +247,10 @@ jobs:
run: |
make test-e2e-with-cluster ARCH=amd64
- name: get cluster info
uses: ./.github/actions/debug-cluster
if: always()

- name: Save logs
if: always()
uses: ./.github/actions/save-logs
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-external.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
- name: Run external service test
run: make test-external

- name: show cluster logs
- name: get cluster info
uses: ./.github/actions/debug-cluster
if: always()

Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/test-upgrade.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,10 @@ jobs:
sudo env "PATH=$PATH" CI=true make test-upgrade ARCH=amd64
- name: get cluster info
uses: ./.github/actions/debug-cluster
if: always()

- name: Save logs
if: always()
uses: ./.github/actions/save-logs

0 comments on commit 9cec943

Please sign in to comment.