Skip to content

Commit 99c3d1d

Browse files
authored
Add post run to cleanup kind clusters from e2e runner (#164)
* Update e2e.yml * Update e2e.yml
1 parent fac5f9c commit 99c3d1d

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/e2e.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,13 @@ jobs:
2727
repository: ${{ github.event.pull_request.head.repo.full_name }}
2828
ref: ${{ github.event.pull_request.head.ref }}
2929

30+
- uses: webiny/action-post-run@3.1.0
31+
name: Cleanup kind clusters
32+
id: post-run
33+
with:
34+
run: |
35+
kind get clusters | xargs -I% kind delete cluster --name %
36+
3037
- uses: actions/setup-go@v5
3138
with:
3239
go-version-file: go.mod

0 commit comments

Comments
 (0)