Skip to content

Commit 5b5a680

Browse files
authored
Add matrix for storage to test all versions in weekly pipeline (Azure#20633)
1 parent d930806 commit 5b5a680

File tree

2 files changed

+51
-17
lines changed

2 files changed

+51
-17
lines changed
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
{
2+
"matrix": {
3+
"Agent": {
4+
"ubuntu-18.04": {
5+
"OSVmImage": "MMSUbuntu18.04",
6+
"Pool": "azsdk-pool-mms-ubuntu-1804-storage"
7+
},
8+
"windows-2019": {
9+
"OSVmImage": "MMS2019",
10+
"Pool": "azsdk-pool-mms-win-2019-storage"
11+
}
12+
},
13+
"TestTargetFramework": [
14+
"netcoreapp2.1",
15+
"net5.0"
16+
],
17+
"AZURE_LIVE_TEST_SERVICE_VERSIONS": [
18+
"V2019_02_02",
19+
"V2019_07_07",
20+
"V2019_12_12",
21+
"V2020_02_10",
22+
"V2020_04_08",
23+
"V2020_06_12",
24+
"V2020_08_04"
25+
]
26+
}
27+
}

sdk/storage/tests.yml

Lines changed: 24 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,24 @@
1-
trigger: none
2-
3-
extends:
4-
template: ../../eng/pipelines/templates/stages/archetype-sdk-tests.yml
5-
parameters:
6-
ServiceDirectory: storage
7-
BuildInParallel: true
8-
TimeoutInMinutes: 180
9-
Location: canadacentral
10-
Clouds: Preview
11-
MatrixReplace:
12-
# Use dedicated storage pool in canadacentral with higher memory capacity
13-
- Pool=(.*)-general/$1-storage
14-
TestSetupSteps:
15-
- template: /sdk/storage/tests-install-azurite.yml
16-
EnvVars:
17-
AZURE_ONLY_TEST_LATEST_SERVICE_VERSION: true
1+
trigger: none
2+
3+
extends:
4+
template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml
5+
parameters:
6+
ServiceDirectory: storage
7+
BuildInParallel: true
8+
TimeoutInMinutes: 180
9+
Location: canadacentral
10+
Clouds: Preview
11+
MatrixReplace:
12+
# Use dedicated storage pool in canadacentral with higher memory capacity
13+
- Pool=(.*)-general/$1-storage
14+
${{ if contains(variables['Build.DefinitionName'], 'tests-weekly') }}:
15+
MatrixConfigs:
16+
- Name: Storage_all_versions
17+
Path: sdk/storage/platform-matrix-all-versions.json
18+
Selection: sparse
19+
GenerateVMJobs: true
20+
${{ if not(contains(variables['Build.DefinitionName'], 'tests-weekly')) }}:
21+
EnvVars:
22+
AZURE_ONLY_TEST_LATEST_SERVICE_VERSION: true
23+
TestSetupSteps:
24+
- template: /sdk/storage/tests-install-azurite.yml

0 commit comments

Comments
 (0)