From 77d7cfb7d3b643da8bff6e84b7bbffac9be076cc Mon Sep 17 00:00:00 2001 From: jpayne3506 Date: Wed, 14 Aug 2024 10:27:00 -0700 Subject: [PATCH] ci: cleanup test resources --- .pipelines/singletenancy/aks-swift/e2e-step-template.yaml | 1 + .../azure-cni-overlay/azure-cni-overlay-e2e-step-template.yaml | 2 ++ .../cilium-dualstackoverlay-e2e-step-template.yaml | 1 + .../cilium-overlay-e2e-step-template.yaml | 1 + .../cilium-overlay/cilium-overlay-e2e-step-template.yaml | 1 + .pipelines/singletenancy/cilium/cilium-e2e-step-template.yaml | 1 + .../dualstack-overlay/dualstackoverlay-e2e-step-template.yaml | 2 ++ 7 files changed, 9 insertions(+) diff --git a/.pipelines/singletenancy/aks-swift/e2e-step-template.yaml b/.pipelines/singletenancy/aks-swift/e2e-step-template.yaml index 02de72fd975..29a83bcad87 100644 --- a/.pipelines/singletenancy/aks-swift/e2e-step-template.yaml +++ b/.pipelines/singletenancy/aks-swift/e2e-step-template.yaml @@ -82,6 +82,7 @@ steps: cd ../../.. echo "Validating Node Restart" make test-validate-state OS_TYPE=${{ parameters.os }} RESTART_CASE=true CNI_TYPE=cniv2 + kubectl delete ns load-test displayName: "Validate Node Restart" retryCountOnTaskFailure: 3 diff --git a/.pipelines/singletenancy/azure-cni-overlay/azure-cni-overlay-e2e-step-template.yaml b/.pipelines/singletenancy/azure-cni-overlay/azure-cni-overlay-e2e-step-template.yaml index c2a81fc48f1..9503ff766a5 100644 --- a/.pipelines/singletenancy/azure-cni-overlay/azure-cni-overlay-e2e-step-template.yaml +++ b/.pipelines/singletenancy/azure-cni-overlay/azure-cni-overlay-e2e-step-template.yaml @@ -75,6 +75,7 @@ steps: cd ../../.. echo "Validating Node Restart" make test-validate-state OS_TYPE=${{ parameters.os }} RESTART_CASE=true CNI_TYPE=cniv2 + kubectl delete ns load-test displayName: "Validate Node Restart" retryCountOnTaskFailure: 3 @@ -140,5 +141,6 @@ steps: kubectl get pods -owide -A echo "Validating Node Restart" make test-validate-state OS_TYPE=${{ parameters.os }} RESTART_CASE=true CNI_TYPE=cniv2 + kubectl delete ns load-test displayName: "Validate Node Restart" retryCountOnTaskFailure: 3 diff --git a/.pipelines/singletenancy/cilium-dualstack-overlay/cilium-dualstackoverlay-e2e-step-template.yaml b/.pipelines/singletenancy/cilium-dualstack-overlay/cilium-dualstackoverlay-e2e-step-template.yaml index c199a065164..27106ff40a9 100644 --- a/.pipelines/singletenancy/cilium-dualstack-overlay/cilium-dualstackoverlay-e2e-step-template.yaml +++ b/.pipelines/singletenancy/cilium-dualstack-overlay/cilium-dualstackoverlay-e2e-step-template.yaml @@ -103,6 +103,7 @@ steps: cd ../../.. echo "Validating Node Restart" make test-validate-state OS_TYPE=${{ parameters.os }} RESTART_CASE=true CNI_TYPE=cniv2 + kubectl delete ns load-test displayName: "Validate Node Restart" retryCountOnTaskFailure: 3 diff --git a/.pipelines/singletenancy/cilium-overlay-withhubble/cilium-overlay-e2e-step-template.yaml b/.pipelines/singletenancy/cilium-overlay-withhubble/cilium-overlay-e2e-step-template.yaml index 4489645f9d1..afecd332fe6 100644 --- a/.pipelines/singletenancy/cilium-overlay-withhubble/cilium-overlay-e2e-step-template.yaml +++ b/.pipelines/singletenancy/cilium-overlay-withhubble/cilium-overlay-e2e-step-template.yaml @@ -107,6 +107,7 @@ steps: cd ../../.. echo "Validating Node Restart" make test-validate-state OS_TYPE=${{ parameters.os }} RESTART_CASE=true CNI_TYPE=cniv2 + kubectl delete ns load-test displayName: "Validate Node Restart" retryCountOnTaskFailure: 3 diff --git a/.pipelines/singletenancy/cilium-overlay/cilium-overlay-e2e-step-template.yaml b/.pipelines/singletenancy/cilium-overlay/cilium-overlay-e2e-step-template.yaml index b6c9cb09d7a..0a63f99bbf9 100644 --- a/.pipelines/singletenancy/cilium-overlay/cilium-overlay-e2e-step-template.yaml +++ b/.pipelines/singletenancy/cilium-overlay/cilium-overlay-e2e-step-template.yaml @@ -128,6 +128,7 @@ steps: cd ../../.. echo "Validating Node Restart" make test-validate-state OS_TYPE=${{ parameters.os }} RESTART_CASE=true CNI_TYPE=cniv2 + kubectl delete ns load-test displayName: "Validate Node Restart" retryCountOnTaskFailure: 3 diff --git a/.pipelines/singletenancy/cilium/cilium-e2e-step-template.yaml b/.pipelines/singletenancy/cilium/cilium-e2e-step-template.yaml index de2046e5944..ca67016810d 100644 --- a/.pipelines/singletenancy/cilium/cilium-e2e-step-template.yaml +++ b/.pipelines/singletenancy/cilium/cilium-e2e-step-template.yaml @@ -107,6 +107,7 @@ steps: cd ../../.. echo "Validating Node Restart" make test-validate-state OS_TYPE=${{ parameters.os }} RESTART_CASE=true CNI_TYPE=cniv2 + kubectl delete ns load-test displayName: "Validate Node Restart" retryCountOnTaskFailure: 3 diff --git a/.pipelines/singletenancy/dualstack-overlay/dualstackoverlay-e2e-step-template.yaml b/.pipelines/singletenancy/dualstack-overlay/dualstackoverlay-e2e-step-template.yaml index 5a3e97e6b5c..c7a75d73adc 100644 --- a/.pipelines/singletenancy/dualstack-overlay/dualstackoverlay-e2e-step-template.yaml +++ b/.pipelines/singletenancy/dualstack-overlay/dualstackoverlay-e2e-step-template.yaml @@ -88,6 +88,7 @@ steps: cd ../../.. echo "Validating Node Restart" make test-validate-state OS_TYPE=${{ parameters.os }} RESTART_CASE=true CNI_TYPE=cniv2 + kubectl delete ns load-test displayName: "Validate Node Restart" retryCountOnTaskFailure: 3 @@ -147,5 +148,6 @@ steps: cd ../../.. echo "Validating Node Restart" make test-validate-state OS_TYPE=${{ parameters.os }} RESTART_CASE=true CNI_TYPE=cniv2 + kubectl delete ns load-test displayName: "Validate Node Restart" retryCountOnTaskFailure: 3