-
Notifications
You must be signed in to change notification settings - Fork 2k
/
Copy pathcompatibility-tests.yml
52 lines (50 loc) · 2.26 KB
/
compatibility-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
trigger: none
pr: none
variables:
- template: ../../eng/pipelines/templates/variables/globals.yml
stages:
- stage: "LatestVersionCompatibility"
jobs:
- template: /eng/common/pipelines/templates/jobs/generate-job-matrix.yml
parameters:
SparseCheckout: true
JobTemplatePath: ../../../../../sdk/spring/pipeline/compatibility-tests-job.yml
AdditionalParameters:
ServiceDirectory: spring
MatrixConfigs:
- Name: latest_supported_version_tests
Path: sdk/spring/pipeline/supported-version-matrix.json
Selection: sparse
NonSparseParameters:
- SPRING_CLOUD_AZURE_TEST_SUPPORTED_SPRING_BOOT_VERSION
GenerateVMJobs: true
PreGenerationSteps:
- script: |
python -m pip install termcolor
displayName: 'Install python module'
- script: |
python ./sdk/spring/scripts/compatibility_update_supported_version_matrix_json.py --target-version-prefix 3. --non-target-version-prefix-list 3.0. --use-the-latest-version yes
displayName: 'Update supported Spring versions'
- stage: "NonLatestVersionsCompatibility"
dependsOn: []
jobs:
- template: /eng/common/pipelines/templates/jobs/generate-job-matrix.yml
parameters:
SparseCheckout: true
JobTemplatePath: ../../../../../sdk/spring/pipeline/compatibility-tests-job.yml
AdditionalParameters:
ServiceDirectory: spring
MatrixConfigs:
- Name: non_latest_supported_version_tests
Path: sdk/spring/pipeline/supported-version-matrix.json
Selection: sparse
NonSparseParameters:
- SPRING_CLOUD_AZURE_TEST_SUPPORTED_SPRING_BOOT_VERSION
GenerateVMJobs: true
PreGenerationSteps:
- script: |
python -m pip install termcolor
displayName: 'Install python module'
- script: |
python ./sdk/spring/scripts/compatibility_update_supported_version_matrix_json.py --target-version-prefix 3. --non-target-version-prefix-list 3.0. --use-the-latest-version no
displayName: 'Update supported Spring versions'