Skip to content

Commit 484a3a4

Browse files
authored
Add SupportedClouds parameter to live tests (Azure#19334)
1 parent f18c24c commit 484a3a4

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

eng/pipelines/templates/stages/archetype-sdk-tests.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ parameters:
88
- name: Clouds
99
type: string
1010
default: 'Public'
11+
- name: SupportedClouds
12+
type: string
13+
default: 'Public,Canary'
1114
- name: UnsupportedClouds
1215
type: string
1316
default: ''
@@ -103,7 +106,7 @@ stages:
103106
# TODO: re-enable tests-weekly allow filter once sovereign cloud live tests are stable: https://github.com/Azure/azure-sdk/issues/2074
104107
# Run all clouds by default for weekly test pipeline, except for clouds specifically unsupported by the calling pipeline
105108
# - ${{ if or(contains(parameters.Clouds, cloud.key), contains(variables['Build.DefinitionName'], 'tests-weekly')) }}:
106-
- ${{ if or(contains(parameters.Clouds, cloud.key), and(contains(variables['Build.DefinitionName'], 'tests-weekly'), eq(cloud.key, 'Canary'))) }}:
109+
- ${{ if or(contains(parameters.Clouds, cloud.key), and(contains(variables['Build.DefinitionName'], 'tests-weekly'), contains(parameters.SupportedClouds, cloud.key))) }}:
107110
- ${{ if not(contains(parameters.UnsupportedClouds, cloud.key)) }}:
108111
- stage: ${{ cloud.key }}_${{ parameters.TestName }}
109112
dependsOn: []

0 commit comments

Comments
 (0)