Skip to content

Commit 1eb2108

Browse files
committed
Enable SB stage 2 builds
1 parent cc260aa commit 1eb2108

File tree

1 file changed

+121
-127
lines changed

1 file changed

+121
-127
lines changed

eng/pipelines/templates/stages/vmr-build.yml

Lines changed: 121 additions & 127 deletions
Original file line numberDiff line numberDiff line change
@@ -106,49 +106,47 @@ stages:
106106
### Additional jobs for lite/full builds ###
107107
- ${{ if in(parameters.scope, 'lite', 'full') }}:
108108

109-
# Disabled until net9.0 -> net10.0 transition is complete - see https://github.com/dotnet/source-build/issues/4605
110-
# - template: ../jobs/vmr-build.yml
111-
# parameters:
112-
# # Changing the build name requires updating the referenced name in the source-build-sdk-diff-tests.yml pipeline
113-
# buildName: ${{ format('{0}_Online_CurrentSourceBuiltSdk', variables.centOSStreamName) }}
114-
# isBuiltFromVmr: ${{ parameters.isBuiltFromVmr }}
115-
# vmrBranch: ${{ variables.VmrBranch }}
116-
# targetArchitecture: x64
117-
# pool: ${{ parameters.pool_Linux }}
118-
# container:
119-
# name: ${{ variables.centOSStreamContainerName }}
120-
# image: ${{ variables.centOSStreamContainerImage }}
121-
# buildFromArchive: false # 🚫
122-
# buildSourceOnly: true # ✅
123-
# enablePoison: false # 🚫
124-
# excludeOmniSharpTests: true # ✅
125-
# runOnline: true # ✅
126-
# useMonoRuntime: false # 🚫
127-
# withPreviousSDK: false # 🚫
128-
# reuseBuildArtifactsFrom:
129-
# - ${{ format('{0}_Online_MsftSdk_x64', variables.centOSStreamName) }}
130-
131-
# Disabled until net9.0 -> net10.0 transition is complete - see https://github.com/dotnet/source-build/issues/4605
132-
# - template: ../jobs/vmr-build.yml
133-
# parameters:
134-
# # Changing the build name requires updating the referenced name in the source-build-sdk-diff-tests.yml pipeline
135-
# buildName: ${{ format('{0}_Offline_PreviousSourceBuiltSdk', variables.alpinePreviousName) }}
136-
# isBuiltFromVmr: ${{ parameters.isBuiltFromVmr }}
137-
# vmrBranch: ${{ variables.VmrBranch }}
138-
# targetArchitecture: x64
139-
# artifactsRid: ${{ variables.alpinePreviousX64Rid }}
140-
# pool: ${{ parameters.pool_Linux }}
141-
# container:
142-
# name: ${{ variables.alpinePreviousContainerName }}
143-
# image: ${{ variables.alpinePreviousContainerImage }}
144-
# targetRid: ${{ variables.alpinePreviousX64Rid }}
145-
# buildFromArchive: false # 🚫
146-
# buildSourceOnly: true # ✅
147-
# enablePoison: true # ✅
148-
# excludeOmniSharpTests: true # ✅
149-
# runOnline: false # 🚫
150-
# useMonoRuntime: false # 🚫
151-
# withPreviousSDK: true # ✅
109+
- template: ../jobs/vmr-build.yml
110+
parameters:
111+
# Changing the build name requires updating the referenced name in the source-build-sdk-diff-tests.yml pipeline
112+
buildName: ${{ format('{0}_Online_CurrentSourceBuiltSdk', variables.centOSStreamName) }}
113+
isBuiltFromVmr: ${{ parameters.isBuiltFromVmr }}
114+
vmrBranch: ${{ variables.VmrBranch }}
115+
targetArchitecture: x64
116+
pool: ${{ parameters.pool_Linux }}
117+
container:
118+
name: ${{ variables.centOSStreamContainerName }}
119+
image: ${{ variables.centOSStreamContainerImage }}
120+
buildFromArchive: false # 🚫
121+
buildSourceOnly: true #
122+
enablePoison: false # 🚫
123+
excludeOmniSharpTests: true #
124+
runOnline: true #
125+
useMonoRuntime: false # 🚫
126+
withPreviousSDK: false # 🚫
127+
reuseBuildArtifactsFrom:
128+
- ${{ format('{0}_Online_MsftSdk_x64', variables.centOSStreamName) }}
129+
130+
- template: ../jobs/vmr-build.yml
131+
parameters:
132+
# Changing the build name requires updating the referenced name in the source-build-sdk-diff-tests.yml pipeline
133+
buildName: ${{ format('{0}_Offline_PreviousSourceBuiltSdk', variables.alpinePreviousName) }}
134+
isBuiltFromVmr: ${{ parameters.isBuiltFromVmr }}
135+
vmrBranch: ${{ variables.VmrBranch }}
136+
targetArchitecture: x64
137+
artifactsRid: ${{ variables.alpinePreviousX64Rid }}
138+
pool: ${{ parameters.pool_Linux }}
139+
container:
140+
name: ${{ variables.alpinePreviousContainerName }}
141+
image: ${{ variables.alpinePreviousContainerImage }}
142+
targetRid: ${{ variables.alpinePreviousX64Rid }}
143+
buildFromArchive: false # 🚫
144+
buildSourceOnly: true #
145+
enablePoison: true #
146+
excludeOmniSharpTests: true #
147+
runOnline: false # 🚫
148+
useMonoRuntime: false # 🚫
149+
withPreviousSDK: true #
152150

153151
- template: ../jobs/vmr-build.yml
154152
parameters:
@@ -232,47 +230,45 @@ stages:
232230
useMonoRuntime: false # 🚫
233231
withPreviousSDK: false # 🚫
234232

235-
# Disabled until net9.0 -> net10.0 transition is complete - see https://github.com/dotnet/source-build/issues/4605
236-
# - template: ../jobs/vmr-build.yml
237-
# parameters:
238-
# # Changing the build name requires updating the referenced name in the source-build-sdk-diff-tests.yml pipeline
239-
# buildName: ${{ format('{0}_Online_PreviousSourceBuiltSdk', variables.centOSStreamName) }}
240-
# isBuiltFromVmr: ${{ parameters.isBuiltFromVmr }}
241-
# vmrBranch: ${{ variables.VmrBranch }}
242-
# targetArchitecture: x64
243-
# artifactsRid: ${{ variables.centOSStreamX64Rid }}
244-
# pool: ${{ parameters.pool_Linux }}
245-
# container:
246-
# name: ${{ variables.centOSStreamContainerName }}
247-
# image: ${{ variables.centOSStreamContainerImage }}
248-
# buildFromArchive: false # 🚫
249-
# buildSourceOnly: true # ✅
250-
# enablePoison: false # 🚫
251-
# excludeOmniSharpTests: false # 🚫
252-
# runOnline: true # ✅
253-
# useMonoRuntime: false # 🚫
254-
# withPreviousSDK: true # ✅
255-
256-
# Disabled until net9.0 -> net10.0 transition is complete - see https://github.com/dotnet/source-build/issues/4605
257-
# - template: ../jobs/vmr-build.yml
258-
# parameters:
259-
# # Changing the build name requires updating the referenced name in the source-build-sdk-diff-tests.yml pipeline
260-
# buildName: ${{ format('{0}_Offline_PreviousSourceBuiltSdk', variables.centOSStreamName) }}
261-
# isBuiltFromVmr: ${{ parameters.isBuiltFromVmr }}
262-
# vmrBranch: ${{ variables.VmrBranch }}
263-
# targetArchitecture: x64
264-
# artifactsRid: ${{ variables.centOSStreamX64Rid }}
265-
# pool: ${{ parameters.pool_Linux }}
266-
# container:
267-
# name: ${{ variables.centOSStreamContainerName }}
268-
# image: ${{ variables.centOSStreamContainerImage }}
269-
# buildFromArchive: false # 🚫
270-
# buildSourceOnly: true # ✅
271-
# enablePoison: false # 🚫
272-
# excludeOmniSharpTests: true # ✅
273-
# runOnline: false # 🚫
274-
# useMonoRuntime: false # 🚫
275-
# withPreviousSDK: true # ✅
233+
- template: ../jobs/vmr-build.yml
234+
parameters:
235+
# Changing the build name requires updating the referenced name in the source-build-sdk-diff-tests.yml pipeline
236+
buildName: ${{ format('{0}_Online_PreviousSourceBuiltSdk', variables.centOSStreamName) }}
237+
isBuiltFromVmr: ${{ parameters.isBuiltFromVmr }}
238+
vmrBranch: ${{ variables.VmrBranch }}
239+
targetArchitecture: x64
240+
artifactsRid: ${{ variables.centOSStreamX64Rid }}
241+
pool: ${{ parameters.pool_Linux }}
242+
container:
243+
name: ${{ variables.centOSStreamContainerName }}
244+
image: ${{ variables.centOSStreamContainerImage }}
245+
buildFromArchive: false # 🚫
246+
buildSourceOnly: true #
247+
enablePoison: false # 🚫
248+
excludeOmniSharpTests: false # 🚫
249+
runOnline: true #
250+
useMonoRuntime: false # 🚫
251+
withPreviousSDK: true #
252+
253+
- template: ../jobs/vmr-build.yml
254+
parameters:
255+
# Changing the build name requires updating the referenced name in the source-build-sdk-diff-tests.yml pipeline
256+
buildName: ${{ format('{0}_Offline_PreviousSourceBuiltSdk', variables.centOSStreamName) }}
257+
isBuiltFromVmr: ${{ parameters.isBuiltFromVmr }}
258+
vmrBranch: ${{ variables.VmrBranch }}
259+
targetArchitecture: x64
260+
artifactsRid: ${{ variables.centOSStreamX64Rid }}
261+
pool: ${{ parameters.pool_Linux }}
262+
container:
263+
name: ${{ variables.centOSStreamContainerName }}
264+
image: ${{ variables.centOSStreamContainerImage }}
265+
buildFromArchive: false # 🚫
266+
buildSourceOnly: true #
267+
enablePoison: false # 🚫
268+
excludeOmniSharpTests: true #
269+
runOnline: false # 🚫
270+
useMonoRuntime: false # 🚫
271+
withPreviousSDK: true #
276272

277273
- template: ../jobs/vmr-build.yml
278274
parameters:
@@ -331,49 +327,47 @@ stages:
331327
useMonoRuntime: false # 🚫
332328
withPreviousSDK: false # 🚫
333329

334-
# Disabled until net9.0 -> net10.0 transition is complete - see https://github.com/dotnet/source-build/issues/4605
335-
# - template: ../jobs/vmr-build.yml
336-
# parameters:
337-
# # Changing the build name requires updating the referenced name in the source-build-sdk-diff-tests.yml pipeline
338-
# buildName: ${{ format('{0}_Offline_CurrentSourceBuiltSdk', variables.fedoraName) }}
339-
# isBuiltFromVmr: ${{ parameters.isBuiltFromVmr }}
340-
# vmrBranch: ${{ variables.VmrBranch }}
341-
# targetArchitecture: x64
342-
# pool: ${{ parameters.pool_Linux }}
343-
# container:
344-
# name: ${{ variables.fedoraContainerName }}
345-
# image: ${{ variables.fedoraContainerImage }}
346-
# buildFromArchive: false # 🚫
347-
# buildSourceOnly: true # ✅
348-
# enablePoison: false # 🚫
349-
# excludeOmniSharpTests: false # 🚫
350-
# runOnline: false # 🚫
351-
# useMonoRuntime: false # 🚫
352-
# withPreviousSDK: false # 🚫
353-
# reuseBuildArtifactsFrom:
354-
# - ${{ format('{0}_Offline_MsftSdk_x64', variables.fedoraName) }}
355-
356-
# Disabled until net9.0 -> net10.0 transition is complete - see https://github.com/dotnet/source-build/issues/4605
357-
# - template: ../jobs/vmr-build.yml
358-
# parameters:
359-
# # Changing the build name requires updating the referenced name in the source-build-sdk-diff-tests.yml pipeline
360-
# buildName: ${{ format('{0}_Mono_Offline_CurrentSourceBuiltSdk', variables.centOSStreamName) }}
361-
# isBuiltFromVmr: ${{ parameters.isBuiltFromVmr }}
362-
# vmrBranch: ${{ variables.VmrBranch }}
363-
# targetArchitecture: x64
364-
# pool: ${{ parameters.pool_Linux }}
365-
# container:
366-
# name: ${{ variables.centOSStreamContainerName }}
367-
# image: ${{ variables.centOSStreamContainerImage }}
368-
# buildFromArchive: true # ✅
369-
# buildSourceOnly: true # ✅
370-
# enablePoison: false # 🚫
371-
# excludeOmniSharpTests: true # ✅
372-
# runOnline: false # 🚫
373-
# useMonoRuntime: true # ✅
374-
# withPreviousSDK: false # 🚫
375-
# reuseBuildArtifactsFrom:
376-
# - ${{ format('{0}_Mono_Offline_MsftSdk_x64', variables.centOSStreamName) }}
330+
- template: ../jobs/vmr-build.yml
331+
parameters:
332+
# Changing the build name requires updating the referenced name in the source-build-sdk-diff-tests.yml pipeline
333+
buildName: ${{ format('{0}_Offline_CurrentSourceBuiltSdk', variables.fedoraName) }}
334+
isBuiltFromVmr: ${{ parameters.isBuiltFromVmr }}
335+
vmrBranch: ${{ variables.VmrBranch }}
336+
targetArchitecture: x64
337+
pool: ${{ parameters.pool_Linux }}
338+
container:
339+
name: ${{ variables.fedoraContainerName }}
340+
image: ${{ variables.fedoraContainerImage }}
341+
buildFromArchive: false # 🚫
342+
buildSourceOnly: true #
343+
enablePoison: false # 🚫
344+
excludeOmniSharpTests: false # 🚫
345+
runOnline: false # 🚫
346+
useMonoRuntime: false # 🚫
347+
withPreviousSDK: false # 🚫
348+
reuseBuildArtifactsFrom:
349+
- ${{ format('{0}_Offline_MsftSdk_x64', variables.fedoraName) }}
350+
351+
- template: ../jobs/vmr-build.yml
352+
parameters:
353+
# Changing the build name requires updating the referenced name in the source-build-sdk-diff-tests.yml pipeline
354+
buildName: ${{ format('{0}_Mono_Offline_CurrentSourceBuiltSdk', variables.centOSStreamName) }}
355+
isBuiltFromVmr: ${{ parameters.isBuiltFromVmr }}
356+
vmrBranch: ${{ variables.VmrBranch }}
357+
targetArchitecture: x64
358+
pool: ${{ parameters.pool_Linux }}
359+
container:
360+
name: ${{ variables.centOSStreamContainerName }}
361+
image: ${{ variables.centOSStreamContainerImage }}
362+
buildFromArchive: true #
363+
buildSourceOnly: true #
364+
enablePoison: false # 🚫
365+
excludeOmniSharpTests: true #
366+
runOnline: false # 🚫
367+
useMonoRuntime: true #
368+
withPreviousSDK: false # 🚫
369+
reuseBuildArtifactsFrom:
370+
- ${{ format('{0}_Mono_Offline_MsftSdk_x64', variables.centOSStreamName) }}
377371

378372
#### VERTICAL BUILD (Validation) ####
379373
- ${{ if and(not(parameters.isSourceOnlyBuild), or(eq(variables['Build.Reason'], 'PullRequest'), ne(variables['System.TeamProject'], 'internal'))) }}:

0 commit comments

Comments
 (0)