-
Notifications
You must be signed in to change notification settings - Fork 72
/
pipeline.yml
54 lines (51 loc) · 1.52 KB
/
pipeline.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# https://devdiv.visualstudio.com/DevDiv/_build?definitionId=14205&_a=summary
resources:
repositories:
- repository: templates
type: github
name: xamarin/yaml-templates
ref: refs/heads/main
endpoint: xamarin
- repository: MicroBuildTemplate
type: git
name: 1ESPipelineTemplates/MicroBuildTemplate
ref: refs/tags/release
trigger:
batch: false
branches:
include:
- main
pr:
- main
variables:
- template: build/variables.yml
extends:
template: azure-pipelines/MicroBuild.1ES.Official.yml@MicroBuildTemplate
parameters:
sdl:
tsa:
enabled: true
configFile: $(Build.SourcesDirectory)\build\tsaoptions-v2.json
credscan:
suppressionsFile: $(Build.SourcesDirectory)\build\CredScanSuppressions.json
codeinspector:
enabled: true
policheck:
enabled: true
exclusionsFile: $(Build.SourcesDirectory)\build\PoliCheckExclusions.xml
codeSignValidation:
break: true
targetPathExclusionPattern: \"**\*.xml\"
${{ if not(and(eq(variables['Build.Reason'], 'IndividualCI'), eq(variables['Build.SourceBranch'], 'refs/heads/main'))) }}:
policyFile: $(MBSIGN_APPFOLDER)\CSVTestSignPolicy.xml
sourceAnalysisPool: VSEngSS-MicroBuild2022-1ES
pool:
name: AzurePipelines-EO
image: 1ESPT-Windows2022
os: windows
customBuildTags:
- ES365AIMigrationTooling
stages:
- template: build/stages/build.yml
- template: build/stages/test.yml
- template: build/stages/package.yml