Skip to content

Commit

Permalink
Use subscription configuration for communication services custom subs…
Browse files Browse the repository at this point in the history
…cription (#19277)

* Use communication owned subscription for live tests

* Consume test resource provisioning variables
  • Loading branch information
benbp authored Mar 5, 2021
1 parent afcb3b3 commit 396933f
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions sdk/communication/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,14 @@ extends:
template: ../../eng/pipelines/templates/stages/archetype-sdk-tests.yml
parameters:
ServiceDirectory: communication
Clouds: ACS_Public
CloudConfig:
ACS_Public:
SubscriptionConfiguration: $(sub-config-communication-services-cloud-test-resources)
EnvVars:
AZURE_SUBSCRIPTION_ID: $(acs-subscription-id)
AZURE_TENANT_ID: $(COMMUNICATION_TENANT_ID)
AZURE_CLIENT_ID: $(COMMUNICATION_CLIENT_ID)
AZURE_CLIENT_SECRET: $(COMMUNICATION_CLIENT_SECRET)
AZURE_COMMUNICATION_LIVETEST_CONNECTION_STRING: $(communication-livetest-connection-string)
AZURE_PHONE_NUMBER: $(communication-livetest-phone-number)
AZURE_TENANT_ID: $(aad-azure-sdk-test-tenant-id)
AZURE_CLIENT_SECRET: $(aad-azure-sdk-test-client-secret)
AZURE_CLIENT_ID: $(aad-azure-sdk-test-client-id)
INCLUDE_PHONENUMBER_LIVE_TESTS: False
INCLUDE_PHONENUMBER_LIVE_TESTS: False

0 comments on commit 396933f

Please sign in to comment.