From f48a17eeaa54ab4f774272d6368cf1d6c8fadabb Mon Sep 17 00:00:00 2001 From: "Oleksandr.Didyk" Date: Tue, 13 Aug 2024 15:20:26 +0200 Subject: [PATCH] fixup maestro app var conflict --- eng/templates/stages/deploy.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/eng/templates/stages/deploy.yaml b/eng/templates/stages/deploy.yaml index 578299c086..17e22f2afa 100644 --- a/eng/templates/stages/deploy.yaml +++ b/eng/templates/stages/deploy.yaml @@ -148,7 +148,7 @@ stages: value: https://maestro-prod.westus2.cloudapp.azure.com,https://maestro.dot.net - name: ScenarioTestSubscription value: "Darc: Maestro Production" - - name: MaestroAppClientId + - name: MaestroAppId value: $(MaestroAppClientId) - ${{ else }}: - group: MaestroInt KeyVault @@ -156,7 +156,7 @@ stages: value: https://maestro-int.westus2.cloudapp.azure.com,https://maestro.int-dot.net - name: ScenarioTestSubscription value: "Darc: Maestro Staging" - - name: MaestroAppClientId + - name: MaestroAppId value: $(MaestroStagingAppClientId) jobs: @@ -201,7 +201,7 @@ stages: scriptLocation: inlineScript inlineScript: | # Fetch token used for scenario tests - $token = (az account get-access-token --resource "${{ variables.MaestroAppClientId }}" | ConvertFrom-Json).accessToken + $token = (az account get-access-token --resource "${{ variables.MaestroAppId }}" | ConvertFrom-Json).accessToken echo "##vso[task.setvariable variable=Token;isOutput=true;isSecret=true]$token" # Set variables with auth info for tests below