diff --git a/.github/workflows/run-k8s-tests-on-aks.yaml b/.github/workflows/run-k8s-tests-on-aks.yaml index 0677e47c74..b49b783dde 100644 --- a/.github/workflows/run-k8s-tests-on-aks.yaml +++ b/.github/workflows/run-k8s-tests-on-aks.yaml @@ -103,8 +103,13 @@ jobs: AZ_SUBSCRIPTION_ID: ${{ secrets.AZ_SUBSCRIPTION_ID }} - name: Create AKS cluster - timeout-minutes: 10 - run: bash tests/integration/kubernetes/gha-run.sh create-cluster + uses: nick-fields/retry@v3 + with: + timeout_minutes: 15 + max_attempts: 20 + retry_on: error + retry_wait_seconds: 10 + command: bash tests/integration/kubernetes/gha-run.sh create-cluster - name: Install `bats` run: bash tests/integration/kubernetes/gha-run.sh install-bats diff --git a/.github/workflows/run-kata-coco-stability-tests.yaml b/.github/workflows/run-kata-coco-stability-tests.yaml index 11ec21a139..eb8b2bcb87 100644 --- a/.github/workflows/run-kata-coco-stability-tests.yaml +++ b/.github/workflows/run-kata-coco-stability-tests.yaml @@ -87,8 +87,13 @@ jobs: AZ_SUBSCRIPTION_ID: ${{ secrets.AZ_SUBSCRIPTION_ID }} - name: Create AKS cluster - timeout-minutes: 10 - run: bash tests/integration/kubernetes/gha-run.sh create-cluster + uses: nick-fields/retry@v3 + with: + timeout_minutes: 15 + max_attempts: 20 + retry_on: error + retry_wait_seconds: 10 + command: bash tests/integration/kubernetes/gha-run.sh create-cluster - name: Install `bats` run: bash tests/integration/kubernetes/gha-run.sh install-bats diff --git a/.github/workflows/run-kata-coco-tests.yaml b/.github/workflows/run-kata-coco-tests.yaml index 8e3d784d14..3847587519 100644 --- a/.github/workflows/run-kata-coco-tests.yaml +++ b/.github/workflows/run-kata-coco-tests.yaml @@ -333,8 +333,13 @@ jobs: AZ_SUBSCRIPTION_ID: ${{ secrets.AZ_SUBSCRIPTION_ID }} - name: Create AKS cluster - timeout-minutes: 10 - run: bash tests/integration/kubernetes/gha-run.sh create-cluster + uses: nick-fields/retry@v3 + with: + timeout_minutes: 15 + max_attempts: 20 + retry_on: error + retry_wait_seconds: 10 + command: bash tests/integration/kubernetes/gha-run.sh create-cluster - name: Install `bats` run: bash tests/integration/kubernetes/gha-run.sh install-bats diff --git a/.github/workflows/run-kata-deploy-tests-on-aks.yaml b/.github/workflows/run-kata-deploy-tests-on-aks.yaml index b397e8a871..7183309943 100644 --- a/.github/workflows/run-kata-deploy-tests-on-aks.yaml +++ b/.github/workflows/run-kata-deploy-tests-on-aks.yaml @@ -71,8 +71,13 @@ jobs: AZ_SUBSCRIPTION_ID: ${{ secrets.AZ_SUBSCRIPTION_ID }} - name: Create AKS cluster - timeout-minutes: 10 - run: bash tests/functional/kata-deploy/gha-run.sh create-cluster + uses: nick-fields/retry@v3 + with: + timeout_minutes: 15 + max_attempts: 20 + retry_on: error + retry_wait_seconds: 10 + command: bash tests/integration/kubernetes/gha-run.sh create-cluster - name: Install `bats` run: bash tests/functional/kata-deploy/gha-run.sh install-bats @@ -85,7 +90,7 @@ jobs: - name: Run tests run: bash tests/functional/kata-deploy/gha-run.sh run-tests - + - name: Delete AKS cluster if: always() run: bash tests/functional/kata-deploy/gha-run.sh delete-cluster