|
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: |
|
BuildTargetingString: 'azure-communication-email' |
|
JobName: email |
|
ServiceDirectory: communication |
|
CloudConfig: |
|
PPE: |
|
SubscriptionConfigurations: |
|
- $(sub-config-communication-ppe-test-resources-common) |
|
- $(sub-config-communication-ppe-test-resources-python) |
|
MatrixReplace: |
|
- TestSamples=.*/true |
|
Public: |
|
SubscriptionConfigurations: |
|
- $(sub-config-azure-cloud-test-resources) |
|
- $(sub-config-communication-services-cloud-test-resources-common) |
|
- $(sub-config-communication-services-cloud-test-resources-python) |
|
Int: |
|
SubscriptionConfigurations: |
|
- $(sub-config-communication-int-test-resources-common) |
|
- $(sub-config-communication-int-test-resources-python) |
|
${{ if eq(parameters.runOnlyPPE, true) }}: |
|
Clouds: 'PPE' |
|
${{ if eq(parameters.runOnlyPPE, false) }}: |
|
Clouds: 'Public,Int,PPE' |
|
EnvVars: |
|
AZURE_SKIP_LIVE_RECORDING: 'True' |
|
AZURE_TEST_RUN_LIVE: 'true' |
|
TestResourceDirectories: |
|
- communication/azure-communication-email/ |
|
|