forked from dotnet/dotnet
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpull_request.yml
More file actions
51 lines (48 loc) · 1.37 KB
/
pull_request.yml
File metadata and controls
51 lines (48 loc) · 1.37 KB
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
parameters:
- name: RunBuildForPublishing
displayName: Build bits for publishing
type: boolean
default: true
- name: SigningType
displayName: Type of signing to use
type: string
default: Test
resources:
repositories:
- repository: MicroBuildTemplate
type: git
name: 1ESPipelineTemplates/MicroBuildTemplate
ref: refs/tags/release
variables:
BINLOG_DIRECTORY: $(Build.StagingDirectory)/binlog
DOTNET_NOLOGO: 1
NUGET_EXPERIMENTAL_CHAIN_BUILD_RETRY_POLICY: 3,1000
Codeql.Enabled: false
Codeql.TSAEnabled: false
RunBuildForPublishing: ${{ parameters.RunBuildForPublishing }}
SourceBranch: $[replace(variables['Build.SourceBranch'], 'refs/heads/', '')]
extends:
template: azure-pipelines/MicroBuild.1ES.Unofficial.yml@MicroBuildTemplate
parameters:
sdl:
sourceAnalysisPool: VSEng-MicroBuildVSStable
binskim:
enabled: true
scanOutputDirectoryOnly: true
sbom:
enabled: true
credscan:
enabled: false
pool:
name: AzurePipelines-EO
image: 1ESPT-Windows2022
os: windows
featureFlags:
enablePrepareFilesForSbom: true
customBuildTags:
- ES365AIMigrationTooling
stages:
- template: /eng/pipelines/templates/pipeline.yml@self
parameters:
RunBuildForPublishing: ${{parameters.RunBuildForPublishing}}
SigningType: ${{ parameters.SigningType }}