Skip to content

Commit

Permalink
Split CI and PR template, move yml
Browse files Browse the repository at this point in the history
  • Loading branch information
AnatolyPristensky committed Feb 29, 2024
1 parent 0fe0342 commit 914638f
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 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 @@ -13,15 +17,24 @@ resources:
name: 1ESPipelineTemplates/1ESPipelineTemplates
ref: refs/tags/release

parameters:
- name: Skip1ESComplianceTasks
default: false

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
os: linux
customBuildTags:
- ES365AIMigrationTooling-BulkMigrated
sdl:
${{ if eq('${{ parameters.Skip1ESComplianceTasks }}', 'true') }}:
enableAllTools: false
sourceAnalysisPool: 1ES-PT-Windows-2022
stages:
- stage: Stage
Expand Down

0 comments on commit 914638f

Please sign in to comment.