Skip to content

Commit

Permalink
ci: cleanup resources after e2e tests (#641)
Browse files Browse the repository at this point in the history
Remove all deployed resources to avoid running into limit errors.
  • Loading branch information
apricote authored Jun 24, 2024
1 parent 1e18db3 commit f65e593
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,11 @@ jobs:
source dev/files/env.sh
make -C test/e2e/kubernetes serial
- name: Cleanup
if: always()
continue-on-error: true
run: make -C dev down

deploy-manifests:
runs-on: ubuntu-latest

Expand All @@ -121,7 +126,7 @@ jobs:
run: git diff --exit-code -- deploy/

- name: Show warning
if: ${{ failure() }}
if: failure()
run: echo "::error title=Deployment Manifests outdated::Please run hack/update-deployment-yamls.sh and commit the changes to deploy/"

helm-chart:
Expand All @@ -143,7 +148,7 @@ jobs:
git diff --exit-code -- deploy/
- name: Show warning
if: ${{ failure() }}
if: failure()
run: echo "::error title=Helm Snapshots outdated::Please run hack/update-helm-snapshots.sh and commit the changes to chart/.snapshots/"

- name: Helm Lint
Expand Down

0 comments on commit f65e593

Please sign in to comment.