-
Notifications
You must be signed in to change notification settings - Fork 677
/
azure-pipelines-official.yml
69 lines (67 loc) · 2.01 KB
/
azure-pipelines-official.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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
trigger:
branches:
include:
- main
- release
- prerelease
pr: none
parameters:
# Allows the version number to be set manually for a specific build.
# Useful when we need to create an updated extension version with no changes (for example to fix a bad partial release).
- name: versionNumberOverride
type: string
default: 'default'
# Allows the marketplace release channel to be set manually for a specific build
# Auto will determine the release channel based on the branch.
- name: channel
values:
- release
- prerelease
- auto
default: auto
# Allows the sign type to be set manually for a specific build
- name: signType
values:
- test
- real
- auto
default: auto
variables:
defaultDotnetVersion: '8.0.403'
resources:
repositories:
- repository: 1ESPipelineTemplates
type: git
name: 1ESPipelineTemplates/1ESPipelineTemplates
ref: refs/tags/release
extends:
template: v1/1ES.Official.PipelineTemplate.yml@1ESPipelineTemplates
parameters:
pool:
name: netcore1espool-internal
image: 1es-windows-2022
os: windows
sdl:
sourceAnalysisPool:
name: netcore1espool-internal
image: 1es-windows-2022
os: windows
policheck:
enabled: true
tsa:
enabled: true
configFile: '$(Build.SourcesDirectory)/.config/guardian/TSAConfig.gdntsa'
codeSignValidation:
# VCTools dlls are signed with the Phone cert, which isn't accepted by the CodeSign policy.
# Can be removed once https://dev.azure.com/devdiv/DevDiv/_workitems/edit/2093995 is fixed.
additionalTargetsGlobPattern: '-|**\msdia140.dll;-|**\msvc*.dll;-|**\vcruntime*.dll'
customBuildTags:
- ES365AIMigrationTooling
stages:
- template: /azure-pipelines/build-all.yml@self
parameters:
versionNumberOverride: ${{ parameters.versionNumberOverride }}
isOfficial: true
channel: ${{ parameters.channel }}
signType: ${{ parameters.signType }}
dotnetVersion: $(defaultDotnetVersion)