From f9d446978b8de3f15697f4f6a6d9f913865d3ff0 Mon Sep 17 00:00:00 2001 From: miampf Date: Thu, 5 Dec 2024 11:49:42 +0100 Subject: [PATCH] add new undeploy logic to `e2e_aks_runtime.yml` --- .github/workflows/e2e_aks_runtime.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/e2e_aks_runtime.yml b/.github/workflows/e2e_aks_runtime.yml index 4b3d10d15..b2db7ea56 100644 --- a/.github/workflows/e2e_aks_runtime.yml +++ b/.github/workflows/e2e_aks_runtime.yml @@ -87,11 +87,15 @@ jobs: --image-replacements workspace/just.containerlookup \ --namespace-file workspace/e2e.namespace \ --platform AKS-CLH-SNP \ - --skip-undeploy="false" + --skip-undeploy="true" - name: Download logs if: always() run: | nix run .#scripts.get-logs download workspace/e2e.namespace + - name: Undeploy + if: always() + run: | + kubectl delete ns "$(cat workspace/e2e.namespace)" --timeout 5m - name: Upload logs if: always() uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3