Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Pipeline] Split CI and PR template, move yml #2478

Merged
merged 3 commits into from
Feb 29, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading