diff --git a/.github/scripts/cleanup-cluster.sh b/.github/scripts/cleanup-cluster.sh index e7268f146d..3279601125 100755 --- a/.github/scripts/cleanup-cluster.sh +++ b/.github/scripts/cleanup-cluster.sh @@ -45,7 +45,7 @@ fi # Delete all test namespaces. echo "delete all test namespaces" namespaces=$(kubectl get namespace | - grep -E '^kubernetes-interop-tutorial.*|^corerp.*|^default-.*|^radiusfunctionaltestbucket.*|^radius-test.*|^kubernetes-cli.*|^dpsb-.*|^dsrp-.*|^azstorage-workload.*|^dapr-serviceinvocation|^daprrp-rs-.*|^mynamespace.*|^demo.*|^tutorial-demo.*|^ms.+' | + grep -E '^kubernetes-interop-tutorial.*|^corerp.*|^test.*|^default-.*|^radiusfunctionaltestbucket.*|^radius-test.*|^kubernetes-cli.*|^dpsb-.*|^dsrp-.*|^azstorage-workload.*|^dapr-serviceinvocation|^daprrp-rs-.*|^mynamespace.*|^demo.*|^tutorial-demo.*|^ms.+' | awk '{print $1}') for ns in $namespaces; do if [ -z "$ns" ]; then diff --git a/.github/workflows/long-running-azure.yaml b/.github/workflows/long-running-azure.yaml index dcbe2224f2..965eb518d4 100644 --- a/.github/workflows/long-running-azure.yaml +++ b/.github/workflows/long-running-azure.yaml @@ -515,6 +515,7 @@ jobs: --yes --verbose - name: Clean up cluster if: always() + timeout-minutes: 60 run: ./.github/scripts/cleanup-cluster.sh report-failure: name: Report test failure