11parameters :
2- - name : DartLabEnvironment
3- displayName : DartLab Environment
4- type : string
5- default : Production
6- values :
7- - Production
8- - Staging
9- - name : E2EPart1AgentCleanup
10- displayName : Delete or keep E2E Part 1 machine for debugging
11- type : string
12- default : delete
13- values :
14- - delete
15- - stop
16- - name : E2EPart2AgentCleanup
17- displayName : Delete or keep E2E Part 2 machine for debugging
18- type : string
19- default : delete
20- values :
21- - delete
22- - stop
23- - name : ApexAgentCleanup
24- displayName : Delete or keep VS Apex test machine for debugging
25- type : string
26- default : delete
27- values :
28- - delete
29- - stop
302- name : NuGetLocalizationType
313 displayName : Whether to do production-ready localization (Full), or pseudo-localization, aka PLOC, (Pseudo) for testing.
324 type : string
335 default : Full
346 values :
357 - Full
368 - Pseudo
37- - name : RunApexTests
38- displayName : Run Apex tests
39- type : boolean
40- default : true
419- name : RunBuildForPublishing
4210 displayName : Build bits for publishing
4311 type : boolean
@@ -46,10 +14,6 @@ parameters:
4614 displayName : Run cross framweork tests on Windows
4715 type : boolean
4816 default : true
49- - name : RunEndToEndTests
50- displayName : Run end-to-end tests
51- type : boolean
52- default : true
5317- name : RunFunctionalTestsOnWindows
5418 displayName : Run functional tests on Windows
5519 type : boolean
@@ -70,48 +34,49 @@ parameters:
7034 displayName : Run Mono tests on Mac
7135 type : boolean
7236 default : true
73-
7437resources :
75- pipelines :
76- - pipeline : DartLab
77- source : DartLab
78- branch : main
7938 repositories :
80- - repository : DartLabTemplates
39+ - repository : MicroBuildTemplate
8140 type : git
82- name : DartLab.Templates
83- ref : refs/heads/main
84-
41+ name : 1ESPipelineTemplates/MicroBuildTemplate
42+ ref : refs/tags/release
8543variables :
8644 BINLOG_DIRECTORY : $(Build.StagingDirectory)/binlog
8745 DOTNET_NOLOGO : 1
8846 NUGET_EXPERIMENTAL_CHAIN_BUILD_RETRY_POLICY : 3,1000
8947 Codeql.Enabled : false
9048 Codeql.TSAEnabled : false
91- RunApexTests : ${{ parameters.RunApexTests }}
9249 RunBuildForPublishing : ${{ parameters.RunBuildForPublishing }}
9350 RunCrossFrameworkTestsOnWindows : ${{ parameters.RunCrossFrameworkTestsOnWindows }}
94- RunEndToEndTests : ${{ parameters.RunEndToEndTests }}
9551 RunFunctionalTestsOnWindows : ${{ parameters.RunFunctionalTestsOnWindows }}
9652 RunSourceBuild : ${{ parameters.RunSourceBuild }}
9753 RunTestsOnLinux : ${{ parameters.RunTestsOnLinux }}
9854 RunTestsOnMac : ${{ parameters.RunTestsOnMac }}
9955 RunMonoTestsOnMac : ${{ parameters.RunMonoTestsOnMac }}
100-
101- stages :
102- - template : templates/pipeline.yml
56+ extends :
57+ template : azure-pipelines/MicroBuild.1ES.Official.yml@MicroBuildTemplate
10358 parameters :
104- DartLabEnvironment : ${{parameters.DartLabEnvironment}}
105- E2EPart1AgentCleanup : ${{parameters.E2EPart1AgentCleanup}}
106- E2EPart2AgentCleanup : ${{parameters.E2EPart2AgentCleanup}}
107- ApexAgentCleanup : ${{parameters.ApexAgentCleanup}}
108- NuGetLocalizationType : ${{parameters.NuGetLocalizationType}}
109- RunApexTests : ${{parameters.RunApexTests}}
110- RunBuildForPublishing : ${{parameters.RunBuildForPublishing}}
111- RunCrossFrameworkTestsOnWindows : ${{parameters.RunCrossFrameworkTestsOnWindows}}
112- RunEndToEndTests : ${{parameters.RunEndToEndTests}}
113- RunFunctionalTestsOnWindows : ${{parameters.RunFunctionalTestsOnWindows}}
114- RunSourceBuild : ${{parameters.RunSourceBuild}}
115- RunTestsOnLinux : ${{parameters.RunTestsOnLinux}}
116- RunTestsOnMac : ${{parameters.RunTestsOnMac}}
117- RunMonoTestsOnMac : ${{parameters.RunMonoTestsOnMac}}
59+ sdl :
60+ sourceAnalysisPool : VSEngSS-MicroBuild2022-1ES
61+ binskim :
62+ enabled : true
63+ scanOutputDirectoryOnly : true
64+ sbom :
65+ enabled : false
66+ pool :
67+ name : AzurePipelines-EO
68+ image : 1ESPT-Windows2022
69+ os : windows
70+ customBuildTags :
71+ - ES365AIMigrationTooling
72+ stages :
73+ - template : /eng/pipelines/templates/pipeline.yml@self
74+ parameters :
75+ NuGetLocalizationType : ${{parameters.NuGetLocalizationType}}
76+ RunBuildForPublishing : ${{parameters.RunBuildForPublishing}}
77+ RunCrossFrameworkTestsOnWindows : ${{parameters.RunCrossFrameworkTestsOnWindows}}
78+ RunFunctionalTestsOnWindows : ${{parameters.RunFunctionalTestsOnWindows}}
79+ RunSourceBuild : ${{parameters.RunSourceBuild}}
80+ RunTestsOnLinux : ${{parameters.RunTestsOnLinux}}
81+ RunTestsOnMac : ${{parameters.RunTestsOnMac}}
82+ RunMonoTestsOnMac : ${{parameters.RunMonoTestsOnMac}}
0 commit comments