File size: 1,541 Bytes
065fee7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
trigger: none

parameters:
  - name: Services
    type: object
    default:
      - azure-communication-chat
      - azure-communication-email
      - azure-communication-identity
      - azure-communication-networktraversal
      - azure-communication-rooms
      - azure-communication-sms
      - azure-communication-jobrouter
      - azure-communication-callautomation
  - name: TestResourceDirectories
    type: object
    default:
      - communication/test-resources/

extends:
    template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml
    parameters:
      # All 5 service stages run in parallel, and with no parallel limits the tests may get throttled.
      MaxParallel: 2
      ServiceDirectory: communication
      TestResourceDirectories: ${{ parameters.TestResourceDirectories }}
      Packages: ${{ parameters.Services }}
      UseFederatedAuth: true
      CloudConfig:
        Public:
          ServiceConnection: azure-sdk-tests
          SubscriptionConfigurationFilePaths:
            - eng/common/TestResources/sub-config/AzurePublicMsft.json
          SubscriptionConfigurations:
            - $(sub-config-communication-services-cloud-test-resources-common)
            - $(sub-config-communication-services-cloud-test-resources-python)
          MatrixReplace:
            - TestSamples=.*/true
        Int:
          SubscriptionConfigurations:
            - $(sub-config-communication-int-test-resources-common)
            - $(sub-config-communication-int-test-resources-python)
      Clouds: Public,Int