From a5307d1dd1ffcb420b6296b618e788192f27ef7b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 13 May 2024 15:18:51 +0000 Subject: [PATCH] chore: bump azure/CLI from 1.0.9 to 2.0.0 Bumps [azure/CLI](https://github.com/azure/cli) from 1.0.9 to 2.0.0. - [Release notes](https://github.com/azure/cli/releases) - [Changelog](https://github.com/Azure/cli/blob/master/ReleaseProcess.md) - [Commits](https://github.com/azure/cli/compare/v1.0.9...v2.0.0) --- updated-dependencies: - dependency-name: azure/CLI dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/e2e-workflow.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/e2e-workflow.yml b/.github/workflows/e2e-workflow.yml index 3e5465b94..40081a344 100644 --- a/.github/workflows/e2e-workflow.yml +++ b/.github/workflows/e2e-workflow.yml @@ -110,7 +110,7 @@ jobs: AZURE_ACR_NAME: ${{ env.CLUSTER_NAME }} - name: Create Azure Identity - uses: azure/CLI@v1.0.9 + uses: azure/CLI@v2.0.0 with: inlineScript: | az identity create --name gpuIdentity --resource-group ${{ env.CLUSTER_NAME }} @@ -154,14 +154,14 @@ jobs: subscription-id: ${{ secrets.E2E_SUBSCRIPTION_ID }} - name: Create Role Assignment - uses: azure/CLI@v1.0.9 + uses: azure/CLI@v2.0.0 with: inlineScript: | IDENTITY_PRINCIPAL_ID="$(az identity show --name gpuIdentity --resource-group ${{ env.CLUSTER_NAME }} --query 'principalId' -otsv)" az role assignment create --assignee ${IDENTITY_PRINCIPAL_ID} --scope "/subscriptions/${{ secrets.E2E_SUBSCRIPTION_ID }}/resourceGroups/${{ env.CLUSTER_NAME }}" --role "Contributor" - name: Create Azure Federated Identity - uses: azure/CLI@v1.0.9 + uses: azure/CLI@v2.0.0 with: inlineScript: | AKS_OIDC_ISSUER="$(az aks show -n "${{ env.CLUSTER_NAME }}" -g "${{ env.CLUSTER_NAME }}" --query 'oidcIssuerProfile.issuerUrl' -otsv)" @@ -201,7 +201,7 @@ jobs: - name: Cleanup e2e resources if: ${{ always() }} - uses: azure/CLI@v1.0.9 + uses: azure/CLI@v2.0.0 with: inlineScript: | set +e