forked from Azure/azure-sdk-for-java
-
Notifications
You must be signed in to change notification settings - Fork 0
/
communication-tests-template.yml
64 lines (62 loc) · 1.88 KB
/
communication-tests-template.yml
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
parameters:
- name: PackageName
type: string
default: not-specified
- name: SafeName
type: string
default: not-specified
- name: Clouds
type: string
default: 'Public,Int'
- name: TestMode
type: string
default: 'LIVE'
- name: TestResourceDirectories
type: object
default:
- communication/test-resources/
- name: EnVars
type: object
default: {}
- name: MatrixConfigs
type: object
default:
- Name: Java_live_test_base
Path: eng/pipelines/templates/stages/platform-matrix.json
Selection: sparse
GenerateVMJobs: true
- name: CloudConfig
type: object
default:
Public:
SubscriptionConfigurations:
- $(sub-config-azure-cloud-test-resources)
- $(sub-config-communication-services-cloud-test-resources-common)
- $(sub-config-communication-services-cloud-test-resources-java)
Int:
SubscriptionConfigurations:
- $(sub-config-communication-int-test-resources-common)
- $(sub-config-communication-int-test-resources-java)
# This only affects the phone-numbers package
MatrixReplace:
- SKIP_UPDATE_CAPABILITIES_LIVE_TESTS=false/true
- SKIP_SIP_ROUTING_LIVE_TESTS=false/true
stages:
- template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml
parameters:
CloudConfig: ${{ parameters.CloudConfig }}
Clouds: ${{ parameters.Clouds }}
TestMode: ${{ parameters.TestMode }}
Artifacts:
- name: ${{ parameters.PackageName }}
groupId: com.azure
safeName: ${{ parameters.SafeName }}
ServiceDirectory: communication
TestResourceDirectories: ${{ parameters.TestResourceDirectories }}
EnvVars:
SKIP_LIVE_TEST: TRUE
${{ each var in parameters.EnVars }}:
${{ var.key }}: ${{ var.value }}
MatrixConfigs:
- ${{ each config in parameters.MatrixConfigs }}:
- ${{ config }}