Skip to content

Commit bdc569d

Browse files
committed
Add cleanup step
1 parent d01246e commit bdc569d

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/gke-ipv6-only.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -260,10 +260,12 @@ jobs:
260260
kubectl logs ipv6-test-client --tail=100 || true
261261
echo "Cluster events:"
262262
kubectl get events --sort-by='.lastTimestamp' --all-namespaces --tail=50 || true
263-
263+
264264
- name: Cleanup
265+
working-directory: ./tests
265266
if: always()
266-
env:
267-
RUN_ID: ${{ github.run_id }}
268267
run: |
269-
kind delete cluster --name "$RUN_ID-ipv6" || true
268+
bash scripts/cleanup-vm.sh true
269+
bash scripts/cleanup-router.sh true
270+
make delete-gke-cluster
271+
rm -rf scripts/vars.env

0 commit comments

Comments
 (0)