Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Re-enable source- build CI legs #44959

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
224 changes: 109 additions & 115 deletions eng/pipelines/templates/stages/vmr-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,45 +104,43 @@ stages:
### Additional jobs for lite/full builds ###
- ${{ if in(parameters.scope, 'lite', 'full') }}:

# Disabled until net9.0 -> net10.0 transition is complete - see https://github.com/dotnet/source-build/issues/4605
# - template: ../jobs/vmr-build.yml
# parameters:
# # Changing the build name requires updating the referenced name in the source-build-sdk-diff-tests.yml pipeline
# buildName: ${{ format('{0}_Online_CurrentSourceBuiltSdk', variables.centOSStreamName) }}
# isBuiltFromVmr: ${{ parameters.isBuiltFromVmr }}
# vmrBranch: ${{ variables.VmrBranch }}
# architecture: x64
# pool: ${{ parameters.pool_Linux }}
# container: ${{ variables.centOSStreamContainer }}
# buildFromArchive: false # 🚫
# buildSourceOnly: true # ✅
# enablePoison: false # 🚫
# excludeOmniSharpTests: true # ✅
# runOnline: true # ✅
# useMonoRuntime: false # 🚫
# withPreviousSDK: false # 🚫
# reuseBuildArtifactsFrom:
# - ${{ format('{0}_Online_MsftSdk_x64', variables.centOSStreamName) }}

# Disabled until net9.0 -> net10.0 transition is complete - see https://github.com/dotnet/source-build/issues/4605
# - template: ../jobs/vmr-build.yml
# parameters:
# # Changing the build name requires updating the referenced name in the source-build-sdk-diff-tests.yml pipeline
# buildName: ${{ format('{0}_Offline_PreviousSourceBuiltSdk', variables.alpinePreviousName) }}
# isBuiltFromVmr: ${{ parameters.isBuiltFromVmr }}
# vmrBranch: ${{ variables.VmrBranch }}
# architecture: x64
# artifactsRid: ${{ variables.alpinePreviousX64Rid }}
# pool: ${{ parameters.pool_Linux }}
# container: ${{ variables.alpinePreviousContainer }}
# targetRid: ${{ variables.alpinePreviousX64Rid }}
# buildFromArchive: false # 🚫
# buildSourceOnly: true # ✅
# enablePoison: true # ✅
# excludeOmniSharpTests: true # ✅
# runOnline: false # 🚫
# useMonoRuntime: false # 🚫
# withPreviousSDK: true # ✅
- template: ../jobs/vmr-build.yml
parameters:
# Changing the build name requires updating the referenced name in the source-build-sdk-diff-tests.yml pipeline
buildName: ${{ format('{0}_Online_CurrentSourceBuiltSdk', variables.centOSStreamName) }}
isBuiltFromVmr: ${{ parameters.isBuiltFromVmr }}
vmrBranch: ${{ variables.VmrBranch }}
architecture: x64
pool: ${{ parameters.pool_Linux }}
container: ${{ variables.centOSStreamContainer }}
buildFromArchive: false # 🚫
buildSourceOnly: true # ✅
enablePoison: false # 🚫
excludeOmniSharpTests: true # ✅
runOnline: true # ✅
useMonoRuntime: false # 🚫
withPreviousSDK: false # 🚫
reuseBuildArtifactsFrom:
- ${{ format('{0}_Online_MsftSdk_x64', variables.centOSStreamName) }}

- template: ../jobs/vmr-build.yml
parameters:
# Changing the build name requires updating the referenced name in the source-build-sdk-diff-tests.yml pipeline
buildName: ${{ format('{0}_Offline_PreviousSourceBuiltSdk', variables.alpinePreviousName) }}
isBuiltFromVmr: ${{ parameters.isBuiltFromVmr }}
vmrBranch: ${{ variables.VmrBranch }}
architecture: x64
artifactsRid: ${{ variables.alpinePreviousX64Rid }}
pool: ${{ parameters.pool_Linux }}
container: ${{ variables.alpinePreviousContainer }}
targetRid: ${{ variables.alpinePreviousX64Rid }}
buildFromArchive: false # 🚫
buildSourceOnly: true # ✅
enablePoison: true # ✅
excludeOmniSharpTests: true # ✅
runOnline: false # 🚫
useMonoRuntime: false # 🚫
withPreviousSDK: true # ✅

- template: ../jobs/vmr-build.yml
parameters:
Expand Down Expand Up @@ -218,43 +216,41 @@ stages:
useMonoRuntime: false # 🚫
withPreviousSDK: false # 🚫

# Disabled until net9.0 -> net10.0 transition is complete - see https://github.com/dotnet/source-build/issues/4605
# - template: ../jobs/vmr-build.yml
# parameters:
# # Changing the build name requires updating the referenced name in the source-build-sdk-diff-tests.yml pipeline
# buildName: ${{ format('{0}_Online_PreviousSourceBuiltSdk', variables.centOSStreamName) }}
# isBuiltFromVmr: ${{ parameters.isBuiltFromVmr }}
# vmrBranch: ${{ variables.VmrBranch }}
# architecture: x64
# artifactsRid: ${{ variables.centOSStreamX64Rid }}
# pool: ${{ parameters.pool_Linux }}
# container: ${{ variables.centOSStreamContainer }}
# buildFromArchive: false # 🚫
# buildSourceOnly: true # ✅
# enablePoison: false # 🚫
# excludeOmniSharpTests: false # 🚫
# runOnline: true # ✅
# useMonoRuntime: false # 🚫
# withPreviousSDK: true # ✅

# Disabled until net9.0 -> net10.0 transition is complete - see https://github.com/dotnet/source-build/issues/4605
# - template: ../jobs/vmr-build.yml
# parameters:
# # Changing the build name requires updating the referenced name in the source-build-sdk-diff-tests.yml pipeline
# buildName: ${{ format('{0}_Offline_PreviousSourceBuiltSdk', variables.centOSStreamName) }}
# isBuiltFromVmr: ${{ parameters.isBuiltFromVmr }}
# vmrBranch: ${{ variables.VmrBranch }}
# architecture: x64
# artifactsRid: ${{ variables.centOSStreamX64Rid }}
# pool: ${{ parameters.pool_Linux }}
# container: ${{ variables.centOSStreamContainer }}
# buildFromArchive: false # 🚫
# buildSourceOnly: true # ✅
# enablePoison: false # 🚫
# excludeOmniSharpTests: true # ✅
# runOnline: false # 🚫
# useMonoRuntime: false # 🚫
# withPreviousSDK: true # ✅
- template: ../jobs/vmr-build.yml
parameters:
# Changing the build name requires updating the referenced name in the source-build-sdk-diff-tests.yml pipeline
buildName: ${{ format('{0}_Online_PreviousSourceBuiltSdk', variables.centOSStreamName) }}
isBuiltFromVmr: ${{ parameters.isBuiltFromVmr }}
vmrBranch: ${{ variables.VmrBranch }}
architecture: x64
artifactsRid: ${{ variables.centOSStreamX64Rid }}
pool: ${{ parameters.pool_Linux }}
container: ${{ variables.centOSStreamContainer }}
buildFromArchive: false # 🚫
buildSourceOnly: true # ✅
enablePoison: false # 🚫
excludeOmniSharpTests: false # 🚫
runOnline: true # ✅
useMonoRuntime: false # 🚫
withPreviousSDK: true # ✅

- template: ../jobs/vmr-build.yml
parameters:
# Changing the build name requires updating the referenced name in the source-build-sdk-diff-tests.yml pipeline
buildName: ${{ format('{0}_Offline_PreviousSourceBuiltSdk', variables.centOSStreamName) }}
isBuiltFromVmr: ${{ parameters.isBuiltFromVmr }}
vmrBranch: ${{ variables.VmrBranch }}
architecture: x64
artifactsRid: ${{ variables.centOSStreamX64Rid }}
pool: ${{ parameters.pool_Linux }}
container: ${{ variables.centOSStreamContainer }}
buildFromArchive: false # 🚫
buildSourceOnly: true # ✅
enablePoison: false # 🚫
excludeOmniSharpTests: true # ✅
runOnline: false # 🚫
useMonoRuntime: false # 🚫
withPreviousSDK: true # ✅

- template: ../jobs/vmr-build.yml
parameters:
Expand Down Expand Up @@ -307,45 +303,43 @@ stages:
useMonoRuntime: false # 🚫
withPreviousSDK: false # 🚫

# Disabled until net9.0 -> net10.0 transition is complete - see https://github.com/dotnet/source-build/issues/4605
# - template: ../jobs/vmr-build.yml
# parameters:
# # Changing the build name requires updating the referenced name in the source-build-sdk-diff-tests.yml pipeline
# buildName: ${{ format('{0}_Offline_CurrentSourceBuiltSdk', variables.fedoraName) }}
# isBuiltFromVmr: ${{ parameters.isBuiltFromVmr }}
# vmrBranch: ${{ variables.VmrBranch }}
# architecture: x64
# pool: ${{ parameters.pool_Linux }}
# container: ${{ variables.fedoraContainer }}
# buildFromArchive: false # 🚫
# buildSourceOnly: true # ✅
# enablePoison: false # 🚫
# excludeOmniSharpTests: false # 🚫
# runOnline: false # 🚫
# useMonoRuntime: false # 🚫
# withPreviousSDK: false # 🚫
# reuseBuildArtifactsFrom:
# - ${{ format('{0}_Offline_MsftSdk_x64', variables.fedoraName) }}

# Disabled until net9.0 -> net10.0 transition is complete - see https://github.com/dotnet/source-build/issues/4605
# - template: ../jobs/vmr-build.yml
# parameters:
# # Changing the build name requires updating the referenced name in the source-build-sdk-diff-tests.yml pipeline
# buildName: ${{ format('{0}_Mono_Offline_CurrentSourceBuiltSdk', variables.centOSStreamName) }}
# isBuiltFromVmr: ${{ parameters.isBuiltFromVmr }}
# vmrBranch: ${{ variables.VmrBranch }}
# architecture: x64
# pool: ${{ parameters.pool_Linux }}
# container: ${{ variables.centOSStreamContainer }}
# buildFromArchive: true # ✅
# buildSourceOnly: true # ✅
# enablePoison: false # 🚫
# excludeOmniSharpTests: true # ✅
# runOnline: false # 🚫
# useMonoRuntime: true # ✅
# withPreviousSDK: false # 🚫
# reuseBuildArtifactsFrom:
# - ${{ format('{0}_Mono_Offline_MsftSdk_x64', variables.centOSStreamName) }}
- template: ../jobs/vmr-build.yml
parameters:
# Changing the build name requires updating the referenced name in the source-build-sdk-diff-tests.yml pipeline
buildName: ${{ format('{0}_Offline_CurrentSourceBuiltSdk', variables.fedoraName) }}
isBuiltFromVmr: ${{ parameters.isBuiltFromVmr }}
vmrBranch: ${{ variables.VmrBranch }}
architecture: x64
pool: ${{ parameters.pool_Linux }}
container: ${{ variables.fedoraContainer }}
buildFromArchive: false # 🚫
buildSourceOnly: true # ✅
enablePoison: false # 🚫
excludeOmniSharpTests: false # 🚫
runOnline: false # 🚫
useMonoRuntime: false # 🚫
withPreviousSDK: false # 🚫
reuseBuildArtifactsFrom:
- ${{ format('{0}_Offline_MsftSdk_x64', variables.fedoraName) }}

- template: ../jobs/vmr-build.yml
parameters:
# Changing the build name requires updating the referenced name in the source-build-sdk-diff-tests.yml pipeline
buildName: ${{ format('{0}_Mono_Offline_CurrentSourceBuiltSdk', variables.centOSStreamName) }}
isBuiltFromVmr: ${{ parameters.isBuiltFromVmr }}
vmrBranch: ${{ variables.VmrBranch }}
architecture: x64
pool: ${{ parameters.pool_Linux }}
container: ${{ variables.centOSStreamContainer }}
buildFromArchive: true # ✅
buildSourceOnly: true # ✅
enablePoison: false # 🚫
excludeOmniSharpTests: true # ✅
runOnline: false # 🚫
useMonoRuntime: true # ✅
withPreviousSDK: false # 🚫
reuseBuildArtifactsFrom:
- ${{ format('{0}_Mono_Offline_MsftSdk_x64', variables.centOSStreamName) }}

#### VERTICAL BUILD ####
- ${{ if not(parameters.isSourceOnlyBuild) }}:
Expand Down