Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add sovereign cloud opt-in to tests weekly #18488

Merged
merged 1 commit into from
Feb 9, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion eng/pipelines/templates/stages/archetype-sdk-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ parameters:
- name: Clouds
type: string
default: 'Public'
- name: SupportedClouds
type: string
default: 'Public,Canary'
- name: UnsupportedClouds
type: string
default: ''
Expand Down Expand Up @@ -93,7 +96,7 @@ stages:
# TODO: re-enable tests-weekly allow filter once sovereign cloud live tests are stable: https://github.com/Azure/azure-sdk/issues/2074
# Run all clouds by default for weekly test pipeline, except for clouds specifically unsupported by the calling pipeline
# - ${{ if or(contains(parameters.Clouds, cloud.key), contains(variables['Build.DefinitionName'], 'tests-weekly')) }}:
- ${{ if or(contains(parameters.Clouds, cloud.key), and(contains(variables['Build.DefinitionName'], 'tests-weekly'), eq(cloud.key, 'Canary'))) }}:
- ${{ if or(contains(parameters.Clouds, cloud.key), and(contains(variables['Build.DefinitionName'], 'tests-weekly'), contains(parameters.SupportedClouds, cloud.key))) }}:
- ${{ if not(contains(parameters.UnsupportedClouds, cloud.key)) }}:
- stage: ${{ cloud.key }}
dependsOn: []
Expand Down
2 changes: 1 addition & 1 deletion sdk/extensions/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ extends:
template: ../../eng/pipelines/templates/stages/archetype-sdk-tests.yml
parameters:
ServiceDirectory: extensions
Clouds: 'Public,Preview,UsGov,China'
SupportedClouds: 'Public,Canary,UsGov,China'
4 changes: 2 additions & 2 deletions sdk/search/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ extends:
ServiceDirectory: search
TimeoutInMinutes: 240
MaxParallel: 2
UnsupportedClouds: Canary
Clouds: 'Public,Preview,UsGov,China'
UnsupportedClouds: 'Canary'
SupportedClouds: 'Public,UsGov,China'
EnvVars:
AZURE_SEARCH_TEST_MODE: Live