Skip to content

Commit a3af23e

Browse files
authored
Remove source-build-lite pipeline (#48956)
1 parent ce8eaf7 commit a3af23e

File tree

5 files changed

+171
-194
lines changed

5 files changed

+171
-194
lines changed

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

Lines changed: 169 additions & 174 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@ parameters:
1212
type: string
1313
values:
1414
# run 1 leg for smoke tests
15-
- ultralite
16-
# run several legs e.g. win/linux/mac for basic testing
1715
- lite
1816
# run everything
1917
- full
@@ -83,7 +81,7 @@ stages:
8381

8482
jobs:
8583

86-
### Jobs for ultralite builds ###
84+
### Jobs for lite builds ###
8785
- template: ../jobs/vmr-build.yml
8886
parameters:
8987
# Changing the build name requires updating the referenced name in the source-build-sdk-diff-tests.yml pipeline
@@ -101,8 +99,8 @@ stages:
10199
useMonoRuntime: false # 🚫
102100
withPreviousSDK: false # 🚫
103101

104-
### Additional jobs for lite/full builds ###
105-
- ${{ if in(parameters.scope, 'lite', 'full') }}:
102+
### Additional jobs for full build ###
103+
- ${{ if in(parameters.scope, 'full') }}:
106104

107105
- template: ../jobs/vmr-build.yml
108106
parameters:
@@ -140,184 +138,181 @@ stages:
140138
useMonoRuntime: false # 🚫
141139
withPreviousSDK: true #
142140

143-
### Additional jobs for full build ###
144-
- ${{ if in(parameters.scope, 'full') }}:
145-
146-
# This AlmaLinux leg is intended to build with the min supported glibc version
147-
- template: ../jobs/vmr-build.yml
148-
parameters:
149-
# Changing the build name requires updating the referenced name in the source-build-sdk-diff-tests.yml pipeline
150-
buildName: ${{ format('{0}_Offline_MsftSdk', variables.almaLinuxName) }}
151-
isBuiltFromVmr: ${{ parameters.isBuiltFromVmr }}
152-
vmrBranch: ${{ variables.VmrBranch }}
153-
architecture: x64
154-
pool: ${{ parameters.pool_Linux }}
155-
container: ${{ variables.almaLinuxContainer }}
156-
targetRid: ${{ variables.almaLinuxX64Rid }}
157-
buildFromArchive: false # 🚫
158-
buildSourceOnly: true #
159-
enablePoison: false # 🚫
160-
excludeOmniSharpTests: true #
161-
runOnline: false # 🚫
162-
useMonoRuntime: false # 🚫
163-
withPreviousSDK: false # 🚫
141+
# This AlmaLinux leg is intended to build with the min supported glibc version
142+
- template: ../jobs/vmr-build.yml
143+
parameters:
144+
# Changing the build name requires updating the referenced name in the source-build-sdk-diff-tests.yml pipeline
145+
buildName: ${{ format('{0}_Offline_MsftSdk', variables.almaLinuxName) }}
146+
isBuiltFromVmr: ${{ parameters.isBuiltFromVmr }}
147+
vmrBranch: ${{ variables.VmrBranch }}
148+
architecture: x64
149+
pool: ${{ parameters.pool_Linux }}
150+
container: ${{ variables.almaLinuxContainer }}
151+
targetRid: ${{ variables.almaLinuxX64Rid }}
152+
buildFromArchive: false # 🚫
153+
buildSourceOnly: true #
154+
enablePoison: false # 🚫
155+
excludeOmniSharpTests: true #
156+
runOnline: false # 🚫
157+
useMonoRuntime: false # 🚫
158+
withPreviousSDK: false # 🚫
164159

165-
- template: ../jobs/vmr-build.yml
166-
parameters:
167-
# Changing the build name requires updating the referenced name in the source-build-sdk-diff-tests.yml pipeline
168-
buildName: ${{ format('{0}_Offline_MsftSdk', variables.alpineName) }}
169-
isBuiltFromVmr: ${{ parameters.isBuiltFromVmr }}
170-
vmrBranch: ${{ variables.VmrBranch }}
171-
architecture: x64
172-
pool: ${{ parameters.pool_Linux }}
173-
container: ${{ variables.alpineContainer }}
174-
targetRid: ${{ variables.alpineX64Rid }}
175-
buildFromArchive: false # 🚫
176-
buildSourceOnly: true #
177-
enablePoison: false # 🚫
178-
excludeOmniSharpTests: true #
179-
runOnline: false # 🚫
180-
useMonoRuntime: false # 🚫
181-
withPreviousSDK: false # 🚫
160+
- template: ../jobs/vmr-build.yml
161+
parameters:
162+
# Changing the build name requires updating the referenced name in the source-build-sdk-diff-tests.yml pipeline
163+
buildName: ${{ format('{0}_Offline_MsftSdk', variables.alpineName) }}
164+
isBuiltFromVmr: ${{ parameters.isBuiltFromVmr }}
165+
vmrBranch: ${{ variables.VmrBranch }}
166+
architecture: x64
167+
pool: ${{ parameters.pool_Linux }}
168+
container: ${{ variables.alpineContainer }}
169+
targetRid: ${{ variables.alpineX64Rid }}
170+
buildFromArchive: false # 🚫
171+
buildSourceOnly: true #
172+
enablePoison: false # 🚫
173+
excludeOmniSharpTests: true #
174+
runOnline: false # 🚫
175+
useMonoRuntime: false # 🚫
176+
withPreviousSDK: false # 🚫
182177

183-
- template: ../jobs/vmr-build.yml
184-
parameters:
185-
# Changing the build name requires updating the referenced name in the source-build-sdk-diff-tests.yml pipeline
186-
buildName: ${{ format('{0}_Offline_MsftSdk', variables.centOSStreamName) }}
187-
isBuiltFromVmr: ${{ parameters.isBuiltFromVmr }}
188-
vmrBranch: ${{ variables.VmrBranch }}
189-
architecture: x64
190-
pool: ${{ parameters.pool_Linux }}
191-
container: ${{ variables.centOSStreamContainer }}
192-
buildFromArchive: true #
193-
buildSourceOnly: true #
194-
enablePoison: false # 🚫
195-
excludeOmniSharpTests: false # 🚫
196-
runOnline: false # 🚫
197-
useMonoRuntime: false # 🚫
198-
withPreviousSDK: false # 🚫
178+
- template: ../jobs/vmr-build.yml
179+
parameters:
180+
# Changing the build name requires updating the referenced name in the source-build-sdk-diff-tests.yml pipeline
181+
buildName: ${{ format('{0}_Offline_MsftSdk', variables.centOSStreamName) }}
182+
isBuiltFromVmr: ${{ parameters.isBuiltFromVmr }}
183+
vmrBranch: ${{ variables.VmrBranch }}
184+
architecture: x64
185+
pool: ${{ parameters.pool_Linux }}
186+
container: ${{ variables.centOSStreamContainer }}
187+
buildFromArchive: true #
188+
buildSourceOnly: true #
189+
enablePoison: false # 🚫
190+
excludeOmniSharpTests: false # 🚫
191+
runOnline: false # 🚫
192+
useMonoRuntime: false # 🚫
193+
withPreviousSDK: false # 🚫
199194

200-
- template: ../jobs/vmr-build.yml
201-
parameters:
202-
# Changing the build name requires updating the referenced name in the source-build-sdk-diff-tests.yml pipeline
203-
buildName: ${{ format('{0}_Online_PreviousSourceBuiltSdk', variables.centOSStreamName) }}
204-
isBuiltFromVmr: ${{ parameters.isBuiltFromVmr }}
205-
vmrBranch: ${{ variables.VmrBranch }}
206-
architecture: x64
207-
artifactsRid: ${{ variables.centOSStreamX64Rid }}
208-
pool: ${{ parameters.pool_Linux }}
209-
container: ${{ variables.centOSStreamContainer }}
210-
buildFromArchive: false # 🚫
211-
buildSourceOnly: true #
212-
enablePoison: false # 🚫
213-
excludeOmniSharpTests: false # 🚫
214-
runOnline: true #
215-
useMonoRuntime: false # 🚫
216-
withPreviousSDK: true #
195+
- template: ../jobs/vmr-build.yml
196+
parameters:
197+
# Changing the build name requires updating the referenced name in the source-build-sdk-diff-tests.yml pipeline
198+
buildName: ${{ format('{0}_Online_PreviousSourceBuiltSdk', variables.centOSStreamName) }}
199+
isBuiltFromVmr: ${{ parameters.isBuiltFromVmr }}
200+
vmrBranch: ${{ variables.VmrBranch }}
201+
architecture: x64
202+
artifactsRid: ${{ variables.centOSStreamX64Rid }}
203+
pool: ${{ parameters.pool_Linux }}
204+
container: ${{ variables.centOSStreamContainer }}
205+
buildFromArchive: false # 🚫
206+
buildSourceOnly: true #
207+
enablePoison: false # 🚫
208+
excludeOmniSharpTests: false # 🚫
209+
runOnline: true #
210+
useMonoRuntime: false # 🚫
211+
withPreviousSDK: true #
217212

218-
- template: ../jobs/vmr-build.yml
219-
parameters:
220-
# Changing the build name requires updating the referenced name in the source-build-sdk-diff-tests.yml pipeline
221-
buildName: ${{ format('{0}_Mono_Offline_MsftSdk', variables.centOSStreamName) }}
222-
isBuiltFromVmr: ${{ parameters.isBuiltFromVmr }}
223-
vmrBranch: ${{ variables.VmrBranch }}
224-
architecture: x64
225-
pool: ${{ parameters.pool_Linux }}
226-
container: ${{ variables.centOSStreamContainer }}
227-
buildFromArchive: true #
228-
buildSourceOnly: true #
229-
enablePoison: false # 🚫
230-
excludeOmniSharpTests: true #
231-
runOnline: false # 🚫
232-
useMonoRuntime: true #
233-
withPreviousSDK: false # 🚫
213+
- template: ../jobs/vmr-build.yml
214+
parameters:
215+
# Changing the build name requires updating the referenced name in the source-build-sdk-diff-tests.yml pipeline
216+
buildName: ${{ format('{0}_Mono_Offline_MsftSdk', variables.centOSStreamName) }}
217+
isBuiltFromVmr: ${{ parameters.isBuiltFromVmr }}
218+
vmrBranch: ${{ variables.VmrBranch }}
219+
architecture: x64
220+
pool: ${{ parameters.pool_Linux }}
221+
container: ${{ variables.centOSStreamContainer }}
222+
buildFromArchive: true #
223+
buildSourceOnly: true #
224+
enablePoison: false # 🚫
225+
excludeOmniSharpTests: true #
226+
runOnline: false # 🚫
227+
useMonoRuntime: true #
228+
withPreviousSDK: false # 🚫
234229

235-
- template: ../jobs/vmr-build.yml
236-
parameters:
237-
# Changing the build name requires updating the referenced name in the source-build-sdk-diff-tests.yml pipeline
238-
buildName: ${{ format('{0}_Offline_MsftSdk', variables.fedoraName) }}
239-
isBuiltFromVmr: ${{ parameters.isBuiltFromVmr }}
240-
vmrBranch: ${{ variables.VmrBranch }}
241-
architecture: x64
242-
pool: ${{ parameters.pool_Linux }}
243-
container: ${{ variables.fedoraContainer }}
244-
buildFromArchive: true #
245-
buildSourceOnly: true #
246-
enablePoison: false # 🚫
247-
excludeOmniSharpTests: false # 🚫
248-
runOnline: false # 🚫
249-
useMonoRuntime: false # 🚫
250-
withPreviousSDK: false # 🚫
230+
- template: ../jobs/vmr-build.yml
231+
parameters:
232+
# Changing the build name requires updating the referenced name in the source-build-sdk-diff-tests.yml pipeline
233+
buildName: ${{ format('{0}_Offline_MsftSdk', variables.fedoraName) }}
234+
isBuiltFromVmr: ${{ parameters.isBuiltFromVmr }}
235+
vmrBranch: ${{ variables.VmrBranch }}
236+
architecture: x64
237+
pool: ${{ parameters.pool_Linux }}
238+
container: ${{ variables.fedoraContainer }}
239+
buildFromArchive: true #
240+
buildSourceOnly: true #
241+
enablePoison: false # 🚫
242+
excludeOmniSharpTests: false # 🚫
243+
runOnline: false # 🚫
244+
useMonoRuntime: false # 🚫
245+
withPreviousSDK: false # 🚫
251246

252-
- template: ../jobs/vmr-build.yml
253-
parameters:
254-
# Changing the build name requires updating the referenced name in the source-build-sdk-diff-tests.yml pipeline
255-
buildName: ${{ format('{0}_Offline_MsftSdk', variables.ubuntuName) }}
256-
isBuiltFromVmr: ${{ parameters.isBuiltFromVmr }}
257-
vmrBranch: ${{ variables.VmrBranch }}
258-
architecture: x64
259-
pool: ${{ parameters.pool_Linux }}
260-
container: ${{ variables.ubuntuContainer }}
261-
buildFromArchive: false # 🚫
262-
buildSourceOnly: true #
263-
enablePoison: false # 🚫
264-
excludeOmniSharpTests: false # 🚫
265-
runOnline: false # 🚫
266-
useMonoRuntime: false # 🚫
267-
withPreviousSDK: false # 🚫
247+
- template: ../jobs/vmr-build.yml
248+
parameters:
249+
# Changing the build name requires updating the referenced name in the source-build-sdk-diff-tests.yml pipeline
250+
buildName: ${{ format('{0}_Offline_MsftSdk', variables.ubuntuName) }}
251+
isBuiltFromVmr: ${{ parameters.isBuiltFromVmr }}
252+
vmrBranch: ${{ variables.VmrBranch }}
253+
architecture: x64
254+
pool: ${{ parameters.pool_Linux }}
255+
container: ${{ variables.ubuntuContainer }}
256+
buildFromArchive: false # 🚫
257+
buildSourceOnly: true #
258+
enablePoison: false # 🚫
259+
excludeOmniSharpTests: false # 🚫
260+
runOnline: false # 🚫
261+
useMonoRuntime: false # 🚫
262+
withPreviousSDK: false # 🚫
268263

269-
- template: ../jobs/vmr-build.yml
270-
parameters:
271-
# Changing the build name requires updating the referenced name in the source-build-sdk-diff-tests.yml pipeline
272-
buildName: ${{ format('{0}Arm64_Offline_MsftSdk', variables.ubuntuName) }}
273-
isBuiltFromVmr: ${{ parameters.isBuiltFromVmr }}
274-
vmrBranch: ${{ variables.VmrBranch }}
275-
architecture: arm64
276-
pool: ${{ parameters.pool_LinuxArm64 }}
277-
container: ${{ variables.ubuntuArmContainer }}
278-
buildFromArchive: false # 🚫
279-
buildSourceOnly: true #
280-
enablePoison: false # 🚫
281-
excludeOmniSharpTests: false # 🚫
282-
runOnline: false # 🚫
283-
useMonoRuntime: false # 🚫
284-
withPreviousSDK: false # 🚫
264+
- template: ../jobs/vmr-build.yml
265+
parameters:
266+
# Changing the build name requires updating the referenced name in the source-build-sdk-diff-tests.yml pipeline
267+
buildName: ${{ format('{0}Arm64_Offline_MsftSdk', variables.ubuntuName) }}
268+
isBuiltFromVmr: ${{ parameters.isBuiltFromVmr }}
269+
vmrBranch: ${{ variables.VmrBranch }}
270+
architecture: arm64
271+
pool: ${{ parameters.pool_LinuxArm64 }}
272+
container: ${{ variables.ubuntuArmContainer }}
273+
buildFromArchive: false # 🚫
274+
buildSourceOnly: true #
275+
enablePoison: false # 🚫
276+
excludeOmniSharpTests: false # 🚫
277+
runOnline: false # 🚫
278+
useMonoRuntime: false # 🚫
279+
withPreviousSDK: false # 🚫
285280

286-
- template: ../jobs/vmr-build.yml
287-
parameters:
288-
# Changing the build name requires updating the referenced name in the source-build-sdk-diff-tests.yml pipeline
289-
buildName: ${{ format('{0}_Offline_CurrentSourceBuiltSdk', variables.fedoraName) }}
290-
isBuiltFromVmr: ${{ parameters.isBuiltFromVmr }}
291-
vmrBranch: ${{ variables.VmrBranch }}
292-
architecture: x64
293-
pool: ${{ parameters.pool_Linux }}
294-
container: ${{ variables.fedoraContainer }}
295-
buildFromArchive: false # 🚫
296-
buildSourceOnly: true #
297-
enablePoison: false # 🚫
298-
excludeOmniSharpTests: false # 🚫
299-
runOnline: false # 🚫
300-
useMonoRuntime: false # 🚫
301-
withPreviousSDK: false # 🚫
302-
reuseBuildArtifactsFrom: ${{ format('{0}_Offline_MsftSdk', variables.fedoraName) }}
281+
- template: ../jobs/vmr-build.yml
282+
parameters:
283+
# Changing the build name requires updating the referenced name in the source-build-sdk-diff-tests.yml pipeline
284+
buildName: ${{ format('{0}_Offline_CurrentSourceBuiltSdk', variables.fedoraName) }}
285+
isBuiltFromVmr: ${{ parameters.isBuiltFromVmr }}
286+
vmrBranch: ${{ variables.VmrBranch }}
287+
architecture: x64
288+
pool: ${{ parameters.pool_Linux }}
289+
container: ${{ variables.fedoraContainer }}
290+
buildFromArchive: false # 🚫
291+
buildSourceOnly: true #
292+
enablePoison: false # 🚫
293+
excludeOmniSharpTests: false # 🚫
294+
runOnline: false # 🚫
295+
useMonoRuntime: false # 🚫
296+
withPreviousSDK: false # 🚫
297+
reuseBuildArtifactsFrom: ${{ format('{0}_Offline_MsftSdk', variables.fedoraName) }}
303298

304-
- template: ../jobs/vmr-build.yml
305-
parameters:
306-
# Changing the build name requires updating the referenced name in the source-build-sdk-diff-tests.yml pipeline
307-
buildName: ${{ format('{0}_Mono_Offline_CurrentSourceBuiltSdk', variables.centOSStreamName) }}
308-
isBuiltFromVmr: ${{ parameters.isBuiltFromVmr }}
309-
vmrBranch: ${{ variables.VmrBranch }}
310-
architecture: x64
311-
pool: ${{ parameters.pool_Linux }}
312-
container: ${{ variables.centOSStreamContainer }}
313-
buildFromArchive: true #
314-
buildSourceOnly: true #
315-
enablePoison: false # 🚫
316-
excludeOmniSharpTests: true #
317-
runOnline: false # 🚫
318-
useMonoRuntime: true #
319-
withPreviousSDK: false # 🚫
320-
reuseBuildArtifactsFrom: ${{ format('{0}_Mono_Offline_MsftSdk', variables.centOSStreamName) }}
299+
- template: ../jobs/vmr-build.yml
300+
parameters:
301+
# Changing the build name requires updating the referenced name in the source-build-sdk-diff-tests.yml pipeline
302+
buildName: ${{ format('{0}_Mono_Offline_CurrentSourceBuiltSdk', variables.centOSStreamName) }}
303+
isBuiltFromVmr: ${{ parameters.isBuiltFromVmr }}
304+
vmrBranch: ${{ variables.VmrBranch }}
305+
architecture: x64
306+
pool: ${{ parameters.pool_Linux }}
307+
container: ${{ variables.centOSStreamContainer }}
308+
buildFromArchive: true #
309+
buildSourceOnly: true #
310+
enablePoison: false # 🚫
311+
excludeOmniSharpTests: true #
312+
runOnline: false # 🚫
313+
useMonoRuntime: true #
314+
withPreviousSDK: false # 🚫
315+
reuseBuildArtifactsFrom: ${{ format('{0}_Mono_Offline_MsftSdk', variables.centOSStreamName) }}
321316

322317
#### VERTICAL BUILD ####
323318
- ${{ if not(parameters.isSourceOnlyBuild) }}:

0 commit comments

Comments
 (0)