Skip to content

Commit

Permalink
Add conditional logic for setting TestPipeline to true (Azure#16115)
Browse files Browse the repository at this point in the history
  • Loading branch information
chidozieononiwu authored and rakshith91 committed Jan 15, 2021
1 parent 36b6467 commit 0b8705a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 4 additions & 2 deletions eng/pipelines/templates/stages/archetype-sdk-client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ stages:
parameters:
ServiceDirectory: ${{ parameters.ServiceDirectory }}
Artifacts: ${{ parameters.Artifacts }}
TestPipeline: ${{ parameters.TestPipeline }}
${{ if eq(parameters.ServiceDirectory, 'template') }}:
TestPipeline: true
ToxEnvParallel: ${{ parameters.ToxEnvParallel }}
BuildDocs: ${{ parameters.BuildDocs }}
InjectedPackages: ${{ parameters.InjectedPackages }}
Expand All @@ -67,7 +68,8 @@ stages:
DependsOn: Build
ServiceDirectory: ${{ parameters.ServiceDirectory }}
Artifacts: ${{ parameters.Artifacts }}
TestPipeline: ${{ parameters.TestPipeline }}
${{ if eq(parameters.ServiceDirectory, 'template') }}:
TestPipeline: true
ArtifactName: packages
DocArtifact: documentation
TargetDocRepoOwner: ${{ parameters.TargetDocRepoOwner }}
Expand Down
1 change: 0 additions & 1 deletion sdk/template/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ extends:
template: ../../eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
ServiceDirectory: template
TestPipeline: true
Artifacts:
- name: azure_template
safeName: azuretemplate

0 comments on commit 0b8705a

Please sign in to comment.