Skip to content

Commit

Permalink
Adding parameter for only running the PPE stage (#34152)
Browse files Browse the repository at this point in the history
Co-authored-by: Yogesh Mohanraj <ymohanraj@microsoft.com>
  • Loading branch information
yogeshmo and Yogesh Mohanraj authored Mar 21, 2023
1 parent 5338e6c commit 785eb36
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion sdk/communication/azure-communication-email/tests.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,20 @@
trigger: none

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

stages:
- template: /sdk/communication/communication-tests-template.yml
parameters:
PackageName: azure-communication-email
SafeName: azurecommunicationemail
Clouds: 'Public,PPE,Int'
${{ if eq(parameters.runOnlyPPE, true) }}:
Clouds: 'PPE'
${{ if eq(parameters.runOnlyPPE, false) }}:
Clouds: 'Public,PPE,Int'
CloudConfig:
Public:
SubscriptionConfigurations:
Expand Down

0 comments on commit 785eb36

Please sign in to comment.