Skip to content

Commit

Permalink
use sub id
Browse files Browse the repository at this point in the history
  • Loading branch information
vhvb1989 committed Oct 4, 2024
1 parent 19984f4 commit 1965843
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions eng/pipelines/templates/steps/template-test-run-job.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ steps:
ARM_CLIENT_ID=$(arm-client-id-test-tenant)
ARM_CLIENT_SECRET=$(arm-client-secret-test-tenant)
ARM_TENANT_ID=$(arm-tenant-id-test-tenant)
SUBSCRIPTION_ID=$(SubscriptionId)
SUBSCRIPTION_ID=$(SubscriptionId-test-tenant)
# Pass in TemplateRunEnvironmentVariables
$(VARIABLE_LIST)
Expand All @@ -86,7 +86,7 @@ steps:
VALIDATE=$(TemplateName)
PLAYWRIGHT_REPORTER='list'
LOCATION=$(AzureLocation)
SUBSCRIPTION=$(SubscriptionId)
SUBSCRIPTION=$(SubscriptionId-test-tenant)
ENV_SUFFIX=$(Build.BuildId)-$(System.JobAttempt)
CLEANUP=$(SynchronousCleanup)
Expand Down Expand Up @@ -126,7 +126,7 @@ steps:
--tenant "$(arm-tenant-id-test-tenant)"
# set default sub for az to be the same used by azd
az account set --subscription "$(SubscriptionId)"
az account set --subscription "$(SubscriptionId-test-tenant)"
# enable alpha features
azd config set alpha.all on
Expand All @@ -143,7 +143,7 @@ steps:
-e '$(EnvPrefixName)' \
-t '$(TemplateName)' \
-b '$(TemplateBranchName)' \
-s '$(SubscriptionId)' \
-s '$(SubscriptionId-test-tenant)' \
-u '$(Build.BuildId)-$(System.JobAttempt)' \
-l '$(AzureLocation)' \
-p 'list' \
Expand Down

0 comments on commit 1965843

Please sign in to comment.