From 2176ab878c3459ac41fdbc464993fe6cec685bcc Mon Sep 17 00:00:00 2001 From: Will Smith Date: Thu, 28 Sep 2023 14:05:19 +0100 Subject: [PATCH] Add `--runtime-version` to functional test Dapr install (#6278) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit # Description This might help with the increase in functional test failures we've been seeing. * Adding --runtime-version to functional test dapr install ## Type of change - This pull request fixes a bug in Radius and has an approved issue (issue link required). Fixes: #6213 ## Auto-generated summary ### 🤖 Generated by Copilot at 5eb2160 ### Summary :repeat::zap::bug: Retry `dapr init` in functional test workflow. This improves the reliability of the test suite for the radius project, which depends on dapr. > _`dapr init` fails_ > _retry loop adds resilience_ > _autumn tests go on_ ### Walkthrough * Add a retry loop for `dapr init` command to handle transient errors ([link](https://github.com/radius-project/radius/pull/6278/files?diff=unified&w=0#diff-c79f364a9293abaaa8595776b74674e24bec6287834e63ab8aa7aec6a42f0dbcL420-R429)) --- .github/workflows/functional-test.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/functional-test.yaml b/.github/workflows/functional-test.yaml index b4bcfe42a1..6b1c49e01f 100644 --- a/.github/workflows/functional-test.yaml +++ b/.github/workflows/functional-test.yaml @@ -418,7 +418,7 @@ jobs: - name: Install dapr into cluster run: | wget -q https://raw.githubusercontent.com/dapr/cli/master/install/install.sh -O - | /bin/bash -s ${{ env.DAPR_VER }} - dapr init -k --wait --timeout 600 + dapr init -k --wait --timeout 600 --runtime-version ${{ env.DAPR_VER }} - name: Install Azure Keyvault CSI driver chart run: | helm repo add csi-secrets-store-provider-azure https://azure.github.io/secrets-store-csi-driver-provider-azure/charts