-
Notifications
You must be signed in to change notification settings - Fork 2k
/
Copy pathtests.yml
128 lines (123 loc) · 5.35 KB
/
tests.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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
trigger: none
extends:
template: /eng/pipelines/templates/stages/1es-redirect.yml
parameters:
stages:
- template: /eng/pipelines/templates/stages/archetype-sdk-tests-isolated.yml
parameters:
CloudConfig:
Public:
ServiceConnection: azure-sdk-tests-cosmos
MatrixConfigs:
- Name: Cosmos_live_test
Path: sdk/cosmos/live-platform-matrix.json
Selection: all
GenerateVMJobs: true
MatrixReplace:
- .*Version=1.21/1.17
ServiceDirectory: cosmos
Artifacts:
- name: azure-cosmos
groupId: com.azure
safeName: azurecosmos
AdditionalModules:
- name: azure-cosmos-tests
groupId: com.azure
- name: azure-cosmos-benchmark
groupId: com.azure
TimeoutInMinutes: 210
MaxParallel: 20
PreSteps:
- template: /eng/pipelines/templates/steps/install-reporting-tools.yml
TestGoals: 'verify'
TestOptions: '$(ProfileFlag) $(AdditionalArgs) -DskipCompile=true -DskipTestCompile=true -DcreateSourcesJar=false'
TestResultsFiles: '**/junitreports/TEST-*.xml'
AdditionalVariables:
- name: AdditionalArgs
value: '-DCOSMOS.CLIENT_TELEMETRY_ENDPOINT=$(cosmos-client-telemetry-endpoint) -DCOSMOS.CLIENT_TELEMETRY_COSMOS_ACCOUNT=$(cosmos-client-telemetry-cosmos-account)'
- template: /eng/pipelines/templates/stages/archetype-sdk-tests-isolated.yml
parameters:
TestName: 'Cosmos_Live_Test_Http2'
CloudConfig:
Public:
ServiceConnection: azure-sdk-tests-cosmos
MatrixConfigs:
- Name: Cosmos_live_test_http2
Path: sdk/cosmos/live-http2-platform-matrix.json
Selection: all
GenerateVMJobs: true
MatrixReplace:
- .*Version=1.21/1.17
ServiceDirectory: cosmos
Artifacts:
- name: azure-cosmos
groupId: com.azure
safeName: azurecosmos
AdditionalModules:
- name: azure-cosmos-tests
groupId: com.azure
- name: azure-cosmos-benchmark
groupId: com.azure
TimeoutInMinutes: 210
MaxParallel: 20
PreSteps:
- template: /eng/pipelines/templates/steps/install-reporting-tools.yml
TestGoals: 'verify'
TestOptions: '$(ProfileFlag) $(AdditionalArgs) -DskipCompile=true -DskipTestCompile=true -DcreateSourcesJar=false'
TestResultsFiles: '**/junitreports/TEST-*.xml'
AdditionalVariables:
- name: AdditionalArgs
value: '-DCOSMOS.CLIENT_TELEMETRY_ENDPOINT=$(cosmos-client-telemetry-endpoint) -DCOSMOS.CLIENT_TELEMETRY_COSMOS_ACCOUNT=$(cosmos-client-telemetry-cosmos-account) -DCOSMOS.HTTP2_ENABLED=true'
- template: /eng/pipelines/templates/stages/archetype-sdk-tests-isolated.yml
parameters:
TestName: 'Spring_Data_Cosmos_Integration'
CloudConfig:
Public:
ServiceConnection: azure-sdk-tests-cosmos
MatrixConfigs:
- Name: Cosmos_live_test_integration
Path: sdk/spring/pipeline/cosmos-integration-matrix.json
Selection: all
GenerateVMJobs: true
ServiceDirectory: spring
TestResourceDirectories:
- spring/spring-cloud-azure-integration-tests/test-resources/cosmos-spring
Artifacts:
- name: azure-spring-data-cosmos
groupId: com.azure
safeName: azurespringdatacosmos
TimeoutInMinutes: 90
PreSteps:
- template: /eng/pipelines/templates/steps/install-reporting-tools.yml
TestGoals: 'verify'
TestOptions: '$(ProfileFlag) -DskipCompile=true -DskipTestCompile=true -DcreateSourcesJar=false'
AdditionalVariables:
- name: AdditionalArgs
value: '-DCOSMOS.CLIENT_TELEMETRY_ENDPOINT=$(cosmos-client-telemetry-endpoint) -DCOSMOS.CLIENT_TELEMETRY_COSMOS_ACCOUNT=$(cosmos-client-telemetry-cosmos-account)'
- template: /eng/pipelines/templates/stages/archetype-sdk-tests-isolated.yml
parameters:
TestName: 'Kafka_Cosmos_Integration'
CloudConfig:
Public:
ServiceConnection: azure-sdk-tests-cosmos
MatrixConfigs:
- Name: Kafka_Cosmos_Integration_Test
Path: sdk/cosmos/kafka-cosmos-matrix.json
Selection: all
GenerateVMJobs: true
TestFromSource: false
ServiceDirectory: cosmos
TestResourceDirectories:
- cosmos/
Artifacts:
- name: azure-cosmos-kafka-connect
groupId: com.azure.cosmos.kafka
safeName: azurecosmoskafkaconnect
TimeoutInMinutes: 120
PreSteps:
- template: /eng/pipelines/templates/steps/install-reporting-tools.yml
TestGoals: 'clean verify'
TestOptions: '$(ProfileFlag) $(AdditionalArgs)'
AdditionalVariables:
- name: AdditionalArgs
value: '-DCOSMOS.CLIENT_TELEMETRY_ENDPOINT=$(cosmos-client-telemetry-endpoint) -DCOSMOS.CLIENT_TELEMETRY_COSMOS_ACCOUNT=$(cosmos-client-telemetry-cosmos-account)'