Skip to content

Commit

Permalink
Switch to TME test subscription (#6093)
Browse files Browse the repository at this point in the history
  • Loading branch information
weshaggard authored Oct 14, 2024
1 parent 4fbdbf5 commit e2e59ea
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 26 deletions.
21 changes: 3 additions & 18 deletions eng/pipelines/templates/stages/archetype-sdk-client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions eng/pipelines/templates/stages/archetype-sdk-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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}}
Expand Down
1 change: 0 additions & 1 deletion sdk/attestation/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.*
Expand Down
2 changes: 0 additions & 2 deletions sdk/storage/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 0 additions & 2 deletions sdk/tables/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e2e59ea

Please sign in to comment.