Switch to TME test subscription (#6093)

This commit is contained in:
Wes Haggard 2024-10-14 11:05:46 -07:00 committed by GitHub
parent 4fbdbf5e89
commit e2e59ea1f0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 6 additions and 26 deletions

View File

@ -55,26 +55,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: 'centraluseuap'
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: Clouds
type: string
default: Public

View File

@ -60,12 +60,12 @@ stages:
OsVmImage: $(LINUXVMIMAGE)
Pool: $(LINUXPOOL)
CloudConfig:
Cloud: ${{ cloud.key }}
Location: ${{ coalesce(cloud.value.Location, parameters.Location) }}
ServiceConnection: ${{ coalesce(cloud.value.ServiceConnection, lower(format('azure-sdk-tests-{0}', cloud.key))) }}
SubscriptionConfiguration: ${{ cloud.value.SubscriptionConfiguration }}
SubscriptionConfigurations: ${{ cloud.value.SubscriptionConfigurations }}
Location: ${{ coalesce(parameters.Location, cloud.value.Location) }}
Cloud: ${{ cloud.key }}
SubscriptionConfigurationFilePaths: ${{ cloud.value.SubscriptionConfigurationFilePaths }}
ServiceConnection: ${{ cloud.value.ServiceConnection }}
AdditionalParameters:
Location: ${{ parameters.Location}}
ServiceDirectory: ${{ parameters.ServiceDirectory}}

View File

@ -26,7 +26,6 @@ extends:
template: ../../eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
ServiceDirectory: attestation
Clouds: Public
Location: WestUS
CtestRegex: azure-security-attestation.*
LiveTestCtestRegex: azure-security-attestation.*

View File

@ -31,8 +31,6 @@ extends:
LineCoverageTarget: 81
BranchCoverageTarget: 47
LiveTestCtestRegex: azure-storage
Clouds: Preview
SupportedClouds: Preview
Artifacts:
- Name: azure-storage-common
Path: azure-storage-common

View File

@ -31,8 +31,6 @@ extends:
LineCoverageTarget: 77
BranchCoverageTarget: 42
LiveTestCtestRegex: azure-data
Clouds: Preview
SupportedClouds: Preview
Artifacts:
- Name: azure-data-tables
Path: azure-data-tables