Skip to content

Commit

Permalink
Switch to TME test subscription (#46452)
Browse files Browse the repository at this point in the history
weshaggard authored Oct 15, 2024
1 parent f754c0b commit 1c9d5fe
Showing 30 changed files with 41 additions and 267 deletions.
34 changes: 4 additions & 30 deletions eng/pipelines/templates/jobs/live.tests.yml
Original file line number Diff line number Diff line change
@@ -132,28 +132,12 @@ jobs:
displayName: Set TestResources Location
- ${{ if parameters.DeployTestResources }}:
- ${{ if parameters.TestResourceDirectories }}:
- ${{ each directory in parameters.TestResourceDirectories }}:
- template: /eng/common/TestResources/deploy-test-resources.yml
parameters:
${{ if or(parameters.Location, parameters.CloudConfig.Location) }}:
Location: ${{ coalesce(parameters.Location, parameters.CloudConfig.Location) }}
ServiceDirectory: '${{ directory }}'
TestResourcesDirectory: '$(TestResourcesDirectory)'
SubscriptionConfiguration: $(SubscriptionConfiguration)
ArmTemplateParameters: $(ArmTemplateParameters)
UseFederatedAuth: ${{ parameters.UseFederatedAuth }}
ServiceConnection: ${{ parameters.CloudConfig.ServiceConnection }}
SubscriptionConfigurationFilePaths: ${{ parameters.CloudConfig.SubscriptionConfigurationFilePaths }}
EnvVars:
Pool: $(Pool)
${{ insert }}: ${{ parameters.EnvVars }}
- ${{ if not(parameters.TestResourceDirectories) }}:
- ${{ each directory in coalesce(parameters.TestResourceDirectories, split(parameters.ServiceDirectory, '|')) }}:
- template: /eng/common/TestResources/deploy-test-resources.yml
parameters:
${{ if or(parameters.Location, parameters.CloudConfig.Location) }}:
Location: ${{ coalesce(parameters.Location, parameters.CloudConfig.Location) }}
ServiceDirectory: '${{ parameters.ServiceDirectory }}'
ServiceDirectory: '${{ directory }}'
TestResourcesDirectory: '$(TestResourcesDirectory)'
SubscriptionConfiguration: $(SubscriptionConfiguration)
ArmTemplateParameters: $(ArmTemplateParameters)
@@ -242,20 +226,10 @@ jobs:
${{ var.key }}: ${{ var.value }}
- ${{ if parameters.DeployTestResources }}:
- ${{ if parameters.TestResourceDirectories }}:
- ${{ each directory in parameters.TestResourceDirectories }}:
- template: /eng/common/TestResources/remove-test-resources.yml
parameters:
ServiceDirectory: '${{ directory }}'
SubscriptionConfiguration: $(SubscriptionConfiguration)
UseFederatedAuth: ${{ parameters.UseFederatedAuth }}
ServiceConnection: ${{ parameters.CloudConfig.ServiceConnection }}
SubscriptionConfigurationFilePaths: ${{ parameters.CloudConfig.SubscriptionConfigurationFilePaths }}

- ${{ if not(parameters.TestResourceDirectories) }}:
- ${{ each directory in coalesce(parameters.TestResourceDirectories, split(parameters.ServiceDirectory, '|')) }}:
- template: /eng/common/TestResources/remove-test-resources.yml
parameters:
ServiceDirectory: '${{ parameters.ServiceDirectory }}'
ServiceDirectory: '${{ directory }}'
SubscriptionConfiguration: $(SubscriptionConfiguration)
UseFederatedAuth: ${{ parameters.UseFederatedAuth }}
ServiceConnection: ${{ parameters.CloudConfig.ServiceConnection }}
26 changes: 5 additions & 21 deletions eng/pipelines/templates/stages/archetype-sdk-tests.yml
Original file line number Diff line number Diff line change
@@ -54,26 +54,11 @@ parameters:
type: object
default:
Public:
ServiceConnection: azure-sdk-tests
SubscriptionConfigurationFilePaths:
- eng/common/TestResources/sub-config/AzurePublicMsft.json
Preview:
ServiceConnection: azure-sdk-tests-preview
SubscriptionConfigurationFilePaths:
- eng/common/TestResources/sub-config/AzurePreviewMsft.json
Canary:
ServiceConnection: azure-sdk-tests
SubscriptionConfigurationFilePaths:
- eng/common/TestResources/sub-config/AzurePublicMsft.json
Location: 'eastus2euap'
# Canary regions are currently not supported in TME so disabling for now
# Canary:
# Location: 'eastus2euap'
UsGov:
ServiceConnection: usgov_azure-sdk-tests
SubscriptionConfigurationFilePaths:
- eng/common/TestResources/sub-config/AzureUsGovMsft.json
China:
ServiceConnection: china_azure-sdk-tests
SubscriptionConfigurationFilePaths:
- eng/common/TestResources/sub-config/AzureChinaMsft.json
- name: MatrixConfigs
type: object
default:
@@ -122,7 +107,6 @@ parameters:
extends:
template: /eng/pipelines/templates/stages/1es-redirect.yml
parameters:
UseOfficial: false
oneESTemplateTag: ${{ parameters.oneESTemplateTag }}
stages:
- ${{ each cloud in parameters.CloudConfig }}:
@@ -175,8 +159,8 @@ extends:
- ${{ parameters.MatrixReplace }}
CloudConfig:
SubscriptionConfiguration: ${{ cloud.value.SubscriptionConfiguration }}
ServiceConnection: ${{ cloud.value.ServiceConnection }}
ServiceConnection: ${{ coalesce(cloud.value.ServiceConnection, lower(format('azure-sdk-tests-{0}', cloud.key))) }}
SubscriptionConfigurationFilePaths: ${{ cloud.value.SubscriptionConfigurationFilePaths }}
SubscriptionConfigurations: ${{ cloud.value.SubscriptionConfigurations }}
Location: ${{ coalesce(parameters.Location, cloud.value.Location) }}
Location: ${{ coalesce(cloud.value.Location, parameters.Location) }}
Cloud: ${{ cloud.key }}
2 changes: 1 addition & 1 deletion sdk/appconfiguration/tests.yml
Original file line number Diff line number Diff line change
@@ -4,4 +4,4 @@ extends:
template: ../../eng/pipelines/templates/stages/archetype-sdk-tests.yml
parameters:
ServiceDirectory: appconfiguration
SupportedClouds: 'Public,Preview,UsGov'
SupportedClouds: 'Public,UsGov'
6 changes: 0 additions & 6 deletions sdk/communication/Azure.Communication.AlphaIds/tests.yml
Original file line number Diff line number Diff line change
@@ -8,13 +8,7 @@ extends:
CloudConfig:
Public:
SubscriptionConfigurations:
- $(sub-config-azure-cloud-test-resources)
- $(sub-config-communication-services-cloud-test-resources-common)
- $(sub-config-communication-services-cloud-test-resources-net)
Int:
SubscriptionConfigurations:
- $(sub-config-communication-int-test-resources-common)
- $(sub-config-communication-int-test-resources-net)
Clouds: Public,Int
TestResourceDirectories:
- communication/test-resources/
Original file line number Diff line number Diff line change
@@ -7,13 +7,9 @@ extends:
Project: Azure.Communication.CallAutomation
CloudConfig:
Public:
ServiceConnection: azure-sdk-tests
SubscriptionConfigurationFilePaths:
- eng/common/TestResources/sub-config/AzurePublicMsft.json
SubscriptionConfigurations:
- $(sub-config-communication-services-cloud-test-resources-common)
- $(sub-config-communication-services-cloud-test-resources-net)
Clouds: Public
TestResourceDirectories:
- communication/
EnvVars:
4 changes: 0 additions & 4 deletions sdk/communication/Azure.Communication.CallingServer/tests.yml
Original file line number Diff line number Diff line change
@@ -7,13 +7,9 @@ extends:
Project: Azure.Communication.CallingServer
CloudConfig:
Public:
ServiceConnection: azure-sdk-tests
SubscriptionConfigurationFilePaths:
- eng/common/TestResources/sub-config/AzurePublicMsft.json
SubscriptionConfigurations:
- $(sub-config-communication-services-cloud-test-resources-common)
- $(sub-config-communication-services-cloud-test-resources-net)
Clouds: Public
TestResourceDirectories:
- communication/
EnvVars:
4 changes: 0 additions & 4 deletions sdk/communication/Azure.Communication.Chat/tests.yml
Original file line number Diff line number Diff line change
@@ -7,12 +7,8 @@ extends:
Project: Azure.Communication.Chat
CloudConfig:
Public:
ServiceConnection: azure-sdk-tests
SubscriptionConfigurationFilePaths:
- eng/common/TestResources/sub-config/AzurePublicMsft.json
SubscriptionConfigurations:
- $(sub-config-communication-services-cloud-test-resources-common)
- $(sub-config-communication-services-cloud-test-resources-net)
Clouds: Public
TestResourceDirectories:
- communication/
19 changes: 0 additions & 19 deletions sdk/communication/Azure.Communication.Email/tests.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
trigger: none

parameters:
- name: runOnlyPPE
displayName: "Run only the PPE stage"
type: boolean
default: false

extends:
template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml
parameters:
@@ -14,20 +8,7 @@ extends:
CloudConfig:
Public:
SubscriptionConfigurations:
- $(sub-config-azure-cloud-test-resources)
- $(sub-config-communication-services-cloud-test-resources-common)
- $(sub-config-communication-services-cloud-test-resources-net)
Int:
SubscriptionConfigurations:
- $(sub-config-communication-int-test-resources-common)
- $(sub-config-communication-int-test-resources-net)
PPE:
SubscriptionConfigurations:
- $(sub-config-communication-ppe-test-resources-common)
- $(sub-config-communication-ppe-test-resources-net)
${{ if eq(parameters.runOnlyPPE, true) }}:
Clouds: PPE
${{ if eq(parameters.runOnlyPPE, false) }}:
Clouds: Public,PPE,Int
TestResourceDirectories:
- communication/Azure.Communication.Email/
4 changes: 0 additions & 4 deletions sdk/communication/Azure.Communication.Identity/tests.yml
Original file line number Diff line number Diff line change
@@ -7,12 +7,8 @@ extends:
Project: Azure.Communication.Identity
CloudConfig:
Public:
ServiceConnection: azure-sdk-tests
SubscriptionConfigurationFilePaths:
- eng/common/TestResources/sub-config/AzurePublicMsft.json
SubscriptionConfigurations:
- $(sub-config-communication-services-cloud-test-resources-common)
- $(sub-config-communication-services-cloud-test-resources-net)
Clouds: Public
TestResourceDirectories:
- communication/
4 changes: 0 additions & 4 deletions sdk/communication/Azure.Communication.JobRouter/tests.yml
Original file line number Diff line number Diff line change
@@ -7,12 +7,8 @@ extends:
Project: Azure.Communication.JobRouter
CloudConfig:
Public:
ServiceConnection: azure-sdk-tests
SubscriptionConfigurationFilePaths:
- eng/common/TestResources/sub-config/AzurePublicMsft.json
SubscriptionConfigurations:
- $(sub-config-communication-services-cloud-test-resources-common)
- $(sub-config-communication-services-cloud-test-resources-net)
Clouds: Public
TestResourceDirectories:
- communication/
4 changes: 1 addition & 3 deletions sdk/communication/Azure.Communication.Messages/tests.yml
Original file line number Diff line number Diff line change
@@ -6,9 +6,7 @@ extends:
ServiceDirectory: communication
Project: Azure.Communication.Messages
CloudConfig:
Public:
PUblic:
SubscriptionConfigurations:
- $(sub-config-azure-cloud-test-resources)
- $(sub-config-communication-services-cloud-test-resources-common)
- $(sub-config-communication-services-cloud-test-resources-net)
Clouds: Public
15 changes: 0 additions & 15 deletions sdk/communication/Azure.Communication.PhoneNumbers/tests.yml
Original file line number Diff line number Diff line change
@@ -13,23 +13,8 @@ extends:
CloudConfig:
Public:
SubscriptionConfigurations:
- $(sub-config-azure-cloud-test-resources)
- $(sub-config-communication-services-cloud-test-resources-common)
- $(sub-config-communication-services-cloud-test-resources-net)
PPE:
SubscriptionConfigurations:
- $(sub-config-communication-ppe-test-resources-common)
- $(sub-config-communication-ppe-test-resources-net)
MatrixReplace:
- SKIP_UPDATE_CAPABILITIES_LIVE_TESTS=FALSE/TRUE
- SKIP_SIPROUTING_LIVE_TESTS=FALSE/TRUE
Int:
SubscriptionConfigurations:
- $(sub-config-communication-int-test-resources-common)
- $(sub-config-communication-int-test-resources-net)
MatrixReplace:
- SKIP_UPDATE_CAPABILITIES_LIVE_TESTS=FALSE/TRUE
Clouds: Public, PPE, Int
TestResourceDirectories:
- communication/test-resources/
EnvVars:
4 changes: 0 additions & 4 deletions sdk/communication/Azure.Communication.Rooms/tests.yml
Original file line number Diff line number Diff line change
@@ -7,12 +7,8 @@ extends:
Project: Azure.Communication.Rooms
CloudConfig:
Public:
ServiceConnection: azure-sdk-tests
SubscriptionConfigurationFilePaths:
- eng/common/TestResources/sub-config/AzurePublicMsft.json
SubscriptionConfigurations:
- $(sub-config-communication-services-cloud-test-resources-common)
- $(sub-config-communication-services-cloud-test-resources-net)
Clouds: Public
TestResourceDirectories:
- communication/
4 changes: 0 additions & 4 deletions sdk/communication/Azure.Communication.ShortCodes/tests.yml
Original file line number Diff line number Diff line change
@@ -7,12 +7,8 @@ extends:
Project: Azure.Communication.ShortCodes
CloudConfig:
Public:
ServiceConnection: azure-sdk-tests
SubscriptionConfigurationFilePaths:
- eng/common/TestResources/sub-config/AzurePublicMsft.json
SubscriptionConfigurations:
- $(sub-config-communication-services-cloud-test-resources-common)
- $(sub-config-communication-services-cloud-test-resources-net)
Clouds: Public
TestResourceDirectories:
- communication/
16 changes: 0 additions & 16 deletions sdk/communication/Azure.Communication.Sms/tests.int.yml

This file was deleted.

5 changes: 0 additions & 5 deletions sdk/communication/Azure.Communication.Sms/tests.yml
Original file line number Diff line number Diff line change
@@ -7,14 +7,9 @@ extends:
Project: Azure.Communication.Sms
CloudConfig:
Public:
ServiceConnection: azure-sdk-tests
SubscriptionConfigurationFilePaths:
- eng/common/TestResources/sub-config/AzurePublicMsft.json
SubscriptionConfigurations:
- $(sub-config-azure-cloud-test-resources)
- $(sub-config-communication-services-cloud-test-resources-common)
- $(sub-config-communication-services-cloud-test-resources-net)
- $(sub-config-communication-services-sms-cloud-test-resources)
Clouds: Public
TestResourceDirectories:
- communication/
7 changes: 4 additions & 3 deletions sdk/devcenter/tests.yml
Original file line number Diff line number Diff line change
@@ -7,7 +7,8 @@ extends:
SDKType: client
DeployTestResources: true
TimeoutInMinutes: 240
UseFederatedAuth: false #This looks to be another sub so it will need a new service connection to run
CloudConfig:
Public:
SubscriptionConfiguration: $(sub-config-devcenter-test-resources)
Location: "eastus"
Public:
SubscriptionConfiguration: $(sub-config-devcenter-test-resources)
Location: "eastus"
6 changes: 1 addition & 5 deletions sdk/digitaltwins/tests.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,9 @@
trigger: none

extends:
template: ../../eng/pipelines/templates/stages/archetype-sdk-tests.yml
template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml
parameters:
ServiceDirectory: digitaltwins
CloudConfig:
Public:
ServiceConnection: azure-sdk-tests
SubscriptionConfigurationFilePaths:
- eng/common/TestResources/sub-config/AzurePublicMsft.json
Location: westcentralus
Clouds: Public
6 changes: 1 addition & 5 deletions sdk/documentintelligence/tests.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,9 @@
trigger: none

extends:
template: ../../eng/pipelines/templates/stages/archetype-sdk-tests.yml
template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml
parameters:
ServiceDirectory: documentintelligence
CloudConfig:
Public:
ServiceConnection: azure-sdk-tests
SubscriptionConfigurationFilePaths:
- eng/common/TestResources/sub-config/AzurePublicMsft.json
Location: 'eastus'
SupportedClouds: 'Public'
31 changes: 0 additions & 31 deletions sdk/extension-wcf/tests.yml

This file was deleted.

14 changes: 4 additions & 10 deletions sdk/formrecognizer/tests.yml
Original file line number Diff line number Diff line change
@@ -7,20 +7,14 @@ parameters:
trigger: none

extends:
template: ../../eng/pipelines/templates/stages/archetype-sdk-tests.yml
template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml
parameters:
ServiceDirectory: formrecognizer
TimeoutInMinutes: 180
CloudConfig:
Public:
ServiceConnection: azure-sdk-tests
SubscriptionConfigurationFilePaths:
- eng/common/TestResources/sub-config/AzurePublicMsft.json
Location: '${{ parameters.Location }}'
Canary:
ServiceConnection: azure-sdk-tests
SubscriptionConfigurationFilePaths:
- eng/common/TestResources/sub-config/AzurePublicMsft.json
Location: 'centraluseuap'
Clouds: 'Public'
# Canary regions are currently not supported in TME so disabling for now
# Canary:
# Location: 'centraluseuap'
SupportedClouds: 'Public, Canary'
2 changes: 0 additions & 2 deletions sdk/identity/tests.yml
Original file line number Diff line number Diff line change
@@ -29,10 +29,8 @@ extends:
CloudConfig:
Public:
SubscriptionConfigurations:
- $(sub-config-azure-cloud-test-resources)
# Contains alternate tenant, AAD app and cert info for testing
- $(sub-config-identity-test-resources)
ServiceConnection: azure-sdk-tests
EnvVars:
ARM_OIDC_TOKEN: $(ARM_OIDC_TOKEN)
ARM_CLIENT_ID: $(ARM_CLIENT_ID)
28 changes: 10 additions & 18 deletions sdk/keyvault/tests.yml
Original file line number Diff line number Diff line change
@@ -10,28 +10,20 @@ extends:
SupportedClouds: 'Public,UsGov,Canary'
CloudConfig:
Public:
ServiceConnection: azure-sdk-tests
SubscriptionConfigurationFilePaths:
- eng/common/TestResources/sub-config/AzurePublicMsft.json
${{ if not(contains(variables['Build.DefinitionName'], 'tests-weekly')) }}:
MatrixFilters:
- ArmTemplateParameters=^(?!.*enableHsm.*true)
Canary:
ServiceConnection: azure-sdk-tests
SubscriptionConfigurationFilePaths:
- eng/common/TestResources/sub-config/AzurePublicMsft.json
Location: 'centraluseuap'
# Managed HSM test resources are expensive and provisioning has not been reliable.
# Given test coverage of non-canary regions we probably don't need to test in canary.
MatrixFilters:
- ArmTemplateParameters=^(?!.*enableHsm.*true)
# Some resource providers required for attestation are not supported in canary.
MatrixReplace:
- 'ArmTemplateParameters=(.*)enableAttestation.*?\$true(.*)/$1enableAttestation \= $false$2'
# Canary regions are currently not supported in TME so disabling for now
# Canary:
# Location: 'centraluseuap'
# # Managed HSM test resources are expensive and provisioning has not been reliable.
# # Given test coverage of non-canary regions we probably don't need to test in canary.
# MatrixFilters:
# - ArmTemplateParameters=^(?!.*enableHsm.*true)
# # Some resource providers required for attestation are not supported in canary.
# MatrixReplace:
# - 'ArmTemplateParameters=(.*)enableAttestation.*?\$true(.*)/$1enableAttestation \= $false$2'
UsGov:
ServiceConnection: usgov_azure-sdk-tests
SubscriptionConfigurationFilePaths:
- eng/common/TestResources/sub-config/AzureUsGovMsft.json
MatrixFilters:
- ArmTemplateParameters=^(?!.*enableHsm.*true)
MatrixConfigs:
1 change: 0 additions & 1 deletion sdk/modelsrepository/tests.yml
Original file line number Diff line number Diff line change
@@ -5,4 +5,3 @@ extends:
parameters:
ServiceDirectory: modelsrepository
Location: westus2
Clouds: Preview
15 changes: 1 addition & 14 deletions sdk/search/tests.yml
Original file line number Diff line number Diff line change
@@ -7,19 +7,6 @@ extends:
SDKType: client
TimeoutInMinutes: 240
MaxParallel: 2
# TODO: change 'Preview' cloud back to public after search RP fixes deletion metadata issue
# https://github.com/Azure/azure-sdk-tools/issues/2216
Clouds: 'Preview'
SupportedClouds: 'Preview,UsGov'
CloudConfig:
Preview:
ServiceConnection: azure-sdk-tests-preview
SubscriptionConfigurationFilePaths:
- eng/common/TestResources/sub-config/AzurePreviewMsft.json
Location: 'westus'
UsGov:
ServiceConnection: usgov_azure-sdk-tests
SubscriptionConfigurationFilePaths:
- eng/common/TestResources/sub-config/AzureUsGovMsft.json
SupportedClouds: 'Public,UsGov'
EnvVars:
AZURE_SEARCH_TEST_MODE: Live
8 changes: 2 additions & 6 deletions sdk/storage/tests.datamovement.yml
Original file line number Diff line number Diff line change
@@ -9,14 +9,10 @@ extends:
TimeoutInMinutes: 180
Location: canadacentral
CloudConfig:
Preview:
ServiceConnection: azure-sdk-tests-preview
SubscriptionConfigurationFilePaths:
- eng/common/TestResources/sub-config/AzurePreviewMsft.json
Public:
PrivatePreview:
SubscriptionConfiguration: $(sub-config-storage-test-resources)
Clouds: Preview
SupportedClouds: Preview, PrivatePreview
SupportedClouds: Public, PrivatePreview
MatrixReplace:
# Use dedicated storage pool in canadacentral with higher memory capacity
- Pool=.*LINUXPOOL.*/azsdk-pool-mms-ubuntu-2004-storage
8 changes: 2 additions & 6 deletions sdk/storage/tests.functions.yml
Original file line number Diff line number Diff line change
@@ -9,14 +9,10 @@ extends:
TimeoutInMinutes: 180
Location: canadacentral
CloudConfig:
Preview:
ServiceConnection: azure-sdk-tests-preview
SubscriptionConfigurationFilePaths:
- eng/common/TestResources/sub-config/AzurePreviewMsft.json
Public:
PrivatePreview:
SubscriptionConfiguration: $(sub-config-storage-test-resources)
Clouds: Preview
SupportedClouds: Preview, PrivatePreview
SupportedClouds: Public, PrivatePreview
MatrixReplace:
# Use dedicated storage pool in canadacentral with higher memory capacity
- Pool=.*LINUXPOOL.*/azsdk-pool-mms-ubuntu-2004-storage
8 changes: 2 additions & 6 deletions sdk/storage/tests.mgmt.yml
Original file line number Diff line number Diff line change
@@ -9,14 +9,10 @@ extends:
TimeoutInMinutes: 180
Location: canadacentral
CloudConfig:
Preview:
ServiceConnection: azure-sdk-tests-preview
SubscriptionConfigurationFilePaths:
- eng/common/TestResources/sub-config/AzurePreviewMsft.json
Public:
PrivatePreview:
SubscriptionConfiguration: $(sub-config-storage-test-resources)
Clouds: Preview
SupportedClouds: Preview, PrivatePreview
SupportedClouds: Public, PrivatePreview
MatrixReplace:
# Use dedicated storage pool in canadacentral with higher memory capacity
- Pool=.*LINUXPOOL.*/azsdk-pool-mms-ubuntu-2004-storage
8 changes: 2 additions & 6 deletions sdk/storage/tests.yml
Original file line number Diff line number Diff line change
@@ -9,14 +9,10 @@ extends:
TimeoutInMinutes: 180
Location: canadacentral
CloudConfig:
Preview:
ServiceConnection: azure-sdk-tests-preview
SubscriptionConfigurationFilePaths:
- eng/common/TestResources/sub-config/AzurePreviewMsft.json
Public:
PrivatePreview:
SubscriptionConfiguration: $(sub-config-storage-test-resources)
Clouds: Preview
SupportedClouds: Preview, PrivatePreview
SupportedClouds: Public, PrivatePreview
MatrixReplace:
# Use dedicated storage pool in canadacentral with higher memory capacity
- Pool=.*LINUXPOOL.*/azsdk-pool-mms-ubuntu-2004-storage
11 changes: 1 addition & 10 deletions sdk/textanalytics/tests.yml
Original file line number Diff line number Diff line change
@@ -7,23 +7,14 @@ parameters:
trigger: none

extends:
template: ../../eng/pipelines/templates/stages/archetype-sdk-tests.yml
template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml
parameters:
ServiceDirectory: textanalytics
CloudConfig:
Public:
ServiceConnection: azure-sdk-tests
SubscriptionConfigurationFilePaths:
- eng/common/TestResources/sub-config/AzurePublicMsft.json
Location: '${{ parameters.Location }}'
UsGov:
ServiceConnection: usgov_azure-sdk-tests
SubscriptionConfigurationFilePaths:
- eng/common/TestResources/sub-config/AzureUsGovMsft.json
China:
ServiceConnection: china_azure-sdk-tests
SubscriptionConfigurationFilePaths:
- eng/common/TestResources/sub-config/AzureChinaMsft.json
SupportedClouds: 'Public,UsGov,China'
# temporary env vars for custom text features
EnvVars:

0 comments on commit 1c9d5fe

Please sign in to comment.