Skip to content

Commit

Permalink
[AppConfig] Run provider tests in live pipeline (Azure#31658)
Browse files Browse the repository at this point in the history
  • Loading branch information
YalinLi0312 authored Aug 25, 2023
1 parent ffb31dd commit 920c9b4
Showing 1 changed file with 29 additions and 19 deletions.
48 changes: 29 additions & 19 deletions sdk/appconfiguration/tests.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,32 @@
trigger: none

parameters:
- name: Services
type: object
default:
- azure-appconfiguration
- azure-appconfiguration-provider

stages:
- template: ../../eng/pipelines/templates/stages/archetype-sdk-tests.yml
parameters:
ServiceDirectory: appconfiguration
SupportedClouds: 'Public,UsGov,China'
TestTimeoutInMinutes: 240
CloudConfig:
Public:
SubscriptionConfiguration: $(sub-config-azure-cloud-test-resources)
UsGov:
SubscriptionConfiguration: $(sub-config-gov-test-resources)
China:
SubscriptionConfiguration: $(sub-config-cn-test-resources)
Location: chinanorth3
MatrixReplace:
- TestSamples=.*/true
EnvVars:
TEST_MODE: 'RunLiveNoRecord'
AZURE_SKIP_LIVE_RECORDING: 'true'
AZURE_TEST_RUN_LIVE: 'true'
- ${{ each service in parameters.Services }}:
- template: ../../eng/pipelines/templates/stages/archetype-sdk-tests.yml
parameters:
ServiceDirectory: appconfiguration
BuildTargetingString: ${{ service }}
JobName: ${{ replace(service, '-', '_') }}
SupportedClouds: 'Public,UsGov,China'
TestTimeoutInMinutes: 240
CloudConfig:
Public:
SubscriptionConfiguration: $(sub-config-azure-cloud-test-resources)
UsGov:
SubscriptionConfiguration: $(sub-config-gov-test-resources)
China:
SubscriptionConfiguration: $(sub-config-cn-test-resources)
Location: chinanorth3
MatrixReplace:
- TestSamples=.*/true
EnvVars:
TEST_MODE: 'RunLiveNoRecord'
AZURE_SKIP_LIVE_RECORDING: 'true'
AZURE_TEST_RUN_LIVE: 'true'

0 comments on commit 920c9b4

Please sign in to comment.