Skip to content

Commit

Permalink
[Pipeline] Split CI and PR template, move yml (#2478)
Browse files Browse the repository at this point in the history
* Split CI and PR template, move yml

* Remove unused parameter

* Resolve comment
  • Loading branch information
AnatolyPristensky authored Feb 29, 2024
1 parent 0fe0342 commit 2055be0
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions appcenter-cli-1ES.yml → .azurepipelines/appcenter-cli-1ES.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
trigger: none
trigger:
- master

pr:
- master

variables:
- name: API_TOKEN_KEY_VAULT
Expand All @@ -14,7 +18,10 @@ resources:
ref: refs/tags/release

extends:
template: v1/1ES.Official.PipelineTemplate.yml@1ESPipelineTemplates
${{ if eq(variables['Build.SourceBranch'], 'refs/heads/master') }}:
template: v1/1ES.Official.PipelineTemplate.yml@1ESPipelineTemplates
${{ else }}:
template: v1/1ES.Unofficial.PipelineTemplate.yml@1ESPipelineTemplates
parameters:
pool:
name: 1ES-PT-CBL-Mariner-2.0-Gen2
Expand Down

0 comments on commit 2055be0

Please sign in to comment.