Skip to content

Commit 396933f

Browse files
authored
Use subscription configuration for communication services custom subscription (Azure#19277)
* Use communication owned subscription for live tests * Consume test resource provisioning variables
1 parent afcb3b3 commit 396933f

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

sdk/communication/tests.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,14 @@ extends:
44
template: ../../eng/pipelines/templates/stages/archetype-sdk-tests.yml
55
parameters:
66
ServiceDirectory: communication
7+
Clouds: ACS_Public
8+
CloudConfig:
9+
ACS_Public:
10+
SubscriptionConfiguration: $(sub-config-communication-services-cloud-test-resources)
711
EnvVars:
8-
AZURE_SUBSCRIPTION_ID: $(acs-subscription-id)
12+
AZURE_TENANT_ID: $(COMMUNICATION_TENANT_ID)
13+
AZURE_CLIENT_ID: $(COMMUNICATION_CLIENT_ID)
14+
AZURE_CLIENT_SECRET: $(COMMUNICATION_CLIENT_SECRET)
915
AZURE_COMMUNICATION_LIVETEST_CONNECTION_STRING: $(communication-livetest-connection-string)
1016
AZURE_PHONE_NUMBER: $(communication-livetest-phone-number)
11-
AZURE_TENANT_ID: $(aad-azure-sdk-test-tenant-id)
12-
AZURE_CLIENT_SECRET: $(aad-azure-sdk-test-client-secret)
13-
AZURE_CLIENT_ID: $(aad-azure-sdk-test-client-id)
14-
INCLUDE_PHONENUMBER_LIVE_TESTS: False
17+
INCLUDE_PHONENUMBER_LIVE_TESTS: False

0 commit comments

Comments
 (0)