From d929ff14599a1eacd20fdd8f00a80676de681813 Mon Sep 17 00:00:00 2001 From: Nikola Milosavljevic Date: Fri, 13 Sep 2024 19:28:53 +0000 Subject: [PATCH 1/4] Disable stage-2 builds --- eng/pipelines/templates/stages/vmr-build.yml | 211 ++++++++++--------- 1 file changed, 111 insertions(+), 100 deletions(-) diff --git a/eng/pipelines/templates/stages/vmr-build.yml b/eng/pipelines/templates/stages/vmr-build.yml index 005e00d21145..d8191503fc76 100644 --- a/eng/pipelines/templates/stages/vmr-build.yml +++ b/eng/pipelines/templates/stages/vmr-build.yml @@ -28,6 +28,11 @@ parameters: type: boolean default: false +# True when Stage-2 source-only builds are enabled +- name: enableStage2Builds + type: boolean + default: false + # These are not expected to be passed it but rather just object variables reused below - name: pool_Linux type: object @@ -104,96 +109,63 @@ stages: ### Additional jobs for lite/full builds ### - ${{ if in(parameters.scope, 'lite', 'full') }}: - - 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', 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 # ✅ - - ### Additional jobs for full build ### - - ${{ if in(parameters.scope, 'full') }}: - - # This AlmaLinux leg is intended to build with the min supported glibc version + - ${{ if parameters.enableStage2Builds }}: - 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_MsftSdk', variables.almaLinuxName) }} + buildName: ${{ format('{0}_Online_CurrentSourceBuiltSdk', variables.centOSStreamName) }} isBuiltFromVmr: ${{ parameters.isBuiltFromVmr }} vmrBranch: ${{ variables.VmrBranch }} architecture: x64 pool: ${{ parameters.pool_Linux }} - container: ${{ variables.almaLinuxContainer }} - targetRid: ${{ variables.almaLinuxX64Rid }} + container: ${{ variables.centOSStreamContainer }} buildFromArchive: false # 🚫 buildSourceOnly: true # ✅ enablePoison: false # 🚫 excludeOmniSharpTests: true # ✅ - runOnline: false # 🚫 + runOnline: true # ✅ useMonoRuntime: false # 🚫 withPreviousSDK: false # 🚫 + reuseBuildArtifactsFrom: ${{ format('{0}_Online_MsftSdk', variables.centOSStreamName) }} + - ${{ if parameters.enableStage2Builds }}: - 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_MsftSdk', variables.alpineLatestName) }} + buildName: ${{ format('{0}_Offline_PreviousSourceBuiltSdk', variables.alpinePreviousName) }} isBuiltFromVmr: ${{ parameters.isBuiltFromVmr }} vmrBranch: ${{ variables.VmrBranch }} architecture: x64 + artifactsRid: ${{ variables.alpinePreviousX64Rid }} pool: ${{ parameters.pool_Linux }} - container: ${{ variables.alpineLatestContainer }} - targetRid: ${{ variables.alpineLatestX64Rid }} + container: ${{ variables.alpinePreviousContainer }} + targetRid: ${{ variables.alpinePreviousX64Rid }} buildFromArchive: false # 🚫 buildSourceOnly: true # ✅ - enablePoison: false # 🚫 + enablePoison: true # ✅ excludeOmniSharpTests: true # ✅ - runOnline: true # ✅ + runOnline: false # 🚫 useMonoRuntime: false # 🚫 - withPreviousSDK: false # 🚫 + withPreviousSDK: true # ✅ + ### Additional jobs for full build ### + - ${{ if in(parameters.scope, 'full') }}: + + # This AlmaLinux leg is intended to build with the min supported glibc version - 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_MsftSdk', variables.centOSStreamName) }} + buildName: ${{ format('{0}_Offline_MsftSdk', variables.almaLinuxName) }} isBuiltFromVmr: ${{ parameters.isBuiltFromVmr }} vmrBranch: ${{ variables.VmrBranch }} architecture: x64 pool: ${{ parameters.pool_Linux }} - container: ${{ variables.centOSStreamContainer }} - buildFromArchive: true # ✅ + container: ${{ variables.almaLinuxContainer }} + targetRid: ${{ variables.almaLinuxX64Rid }} + buildFromArchive: false # 🚫 buildSourceOnly: true # ✅ enablePoison: false # 🚫 - excludeOmniSharpTests: false # 🚫 + excludeOmniSharpTests: true # ✅ runOnline: false # 🚫 useMonoRuntime: false # 🚫 withPreviousSDK: false # 🚫 @@ -201,38 +173,75 @@ stages: - 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) }} + buildName: ${{ format('{0}_Online_MsftSdk', variables.alpineLatestName) }} isBuiltFromVmr: ${{ parameters.isBuiltFromVmr }} vmrBranch: ${{ variables.VmrBranch }} architecture: x64 - artifactsRid: ${{ variables.centOSStreamX64Rid }} pool: ${{ parameters.pool_Linux }} - container: ${{ variables.centOSStreamContainer }} + container: ${{ variables.alpineLatestContainer }} + targetRid: ${{ variables.alpineLatestX64Rid }} buildFromArchive: false # 🚫 buildSourceOnly: true # ✅ enablePoison: false # 🚫 - excludeOmniSharpTests: false # 🚫 + excludeOmniSharpTests: true # ✅ runOnline: true # ✅ useMonoRuntime: false # 🚫 - withPreviousSDK: true # ✅ + withPreviousSDK: false # 🚫 - 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) }} + buildName: ${{ format('{0}_Offline_MsftSdk', variables.centOSStreamName) }} isBuiltFromVmr: ${{ parameters.isBuiltFromVmr }} vmrBranch: ${{ variables.VmrBranch }} architecture: x64 - artifactsRid: ${{ variables.centOSStreamX64Rid }} pool: ${{ parameters.pool_Linux }} container: ${{ variables.centOSStreamContainer }} - buildFromArchive: false # 🚫 + buildFromArchive: true # ✅ buildSourceOnly: true # ✅ enablePoison: false # 🚫 - excludeOmniSharpTests: true # ✅ + excludeOmniSharpTests: false # 🚫 runOnline: false # 🚫 useMonoRuntime: false # 🚫 - withPreviousSDK: true # ✅ + withPreviousSDK: false # 🚫 + + - ${{ if parameters.enableStage2Builds }}: + - 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 # ✅ + + - ${{ if parameters.enableStage2Builds }}: + - 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: @@ -302,41 +311,43 @@ stages: useMonoRuntime: false # 🚫 withPreviousSDK: false # 🚫 - - 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', 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', variables.centOSStreamName) }} + - ${{ if parameters.enableStage2Builds }}: + - 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', variables.fedoraName) }} + + - ${{ if parameters.enableStage2Builds }}: + - 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', variables.centOSStreamName) }} #### VERTICAL BUILD #### - ${{ if not(parameters.isSourceOnlyBuild) }}: From 935070d61109cb0d6d62df7cd0346418eb25b8ce Mon Sep 17 00:00:00 2001 From: Nikola Milosavljevic Date: Mon, 16 Sep 2024 17:49:53 +0000 Subject: [PATCH 2/4] Comment-out jobs instead of using variables --- eng/pipelines/templates/stages/vmr-build.yml | 229 +++++++++---------- 1 file changed, 109 insertions(+), 120 deletions(-) diff --git a/eng/pipelines/templates/stages/vmr-build.yml b/eng/pipelines/templates/stages/vmr-build.yml index 546a1ef0b291..b3124c3e5150 100644 --- a/eng/pipelines/templates/stages/vmr-build.yml +++ b/eng/pipelines/templates/stages/vmr-build.yml @@ -28,11 +28,6 @@ parameters: type: boolean default: false -# True when Stage-2 source-only builds are enabled -- name: enableStage2Builds - type: boolean - default: false - # These are not expected to be passed it but rather just object variables reused below - name: pool_Linux type: object @@ -109,45 +104,43 @@ stages: ### Additional jobs for lite/full builds ### - ${{ if in(parameters.scope, 'lite', 'full') }}: - - ${{ if parameters.enableStage2Builds }}: - - 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) }} - - - ${{ if parameters.enableStage2Builds }}: - - 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 # ✅ ### Additional jobs for full build ### - ${{ if in(parameters.scope, 'full') }}: @@ -206,43 +199,41 @@ stages: useMonoRuntime: false # 🚫 withPreviousSDK: false # 🚫 - - ${{ if parameters.enableStage2Builds }}: - - 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 # ✅ - - - ${{ if parameters.enableStage2Builds }}: - - 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: @@ -312,45 +303,43 @@ stages: useMonoRuntime: false # 🚫 withPreviousSDK: false # 🚫 - - ${{ if parameters.enableStage2Builds }}: - - 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) }} - - - ${{ if parameters.enableStage2Builds }}: - - 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) }}: From 3277e22bc94fa14e1fd565c19b44483e67bd047d Mon Sep 17 00:00:00 2001 From: "Nikola Milosavljevic (CLR) false" Date: Mon, 16 Sep 2024 22:35:32 +0000 Subject: [PATCH 3/4] Add reference to tracking issue --- eng/pipelines/templates/stages/vmr-build.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/eng/pipelines/templates/stages/vmr-build.yml b/eng/pipelines/templates/stages/vmr-build.yml index b3124c3e5150..34c37502e718 100644 --- a/eng/pipelines/templates/stages/vmr-build.yml +++ b/eng/pipelines/templates/stages/vmr-build.yml @@ -104,6 +104,7 @@ stages: ### Additional jobs for lite/full builds ### - ${{ if in(parameters.scope, 'lite', 'full') }}: + # Disabled until 9.0 GA - 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 @@ -123,6 +124,7 @@ stages: # reuseBuildArtifactsFrom: # - ${{ format('{0}_Online_MsftSdk_x64', variables.centOSStreamName) }} + # Disabled until 9.0 GA - 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 @@ -199,6 +201,7 @@ stages: useMonoRuntime: false # 🚫 withPreviousSDK: false # 🚫 + # Disabled until 9.0 GA - 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 @@ -217,6 +220,7 @@ stages: # useMonoRuntime: false # 🚫 # withPreviousSDK: true # ✅ + # Disabled until 9.0 GA - 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 @@ -303,6 +307,7 @@ stages: useMonoRuntime: false # 🚫 withPreviousSDK: false # 🚫 + # Disabled until 9.0 GA - 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 @@ -322,6 +327,7 @@ stages: # reuseBuildArtifactsFrom: # - ${{ format('{0}_Offline_MsftSdk_x64', variables.fedoraName) }} + # Disabled until 9.0 GA - 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 From 9c52eea4bf8ea71ccb2651e46c2f0ba945cd018a Mon Sep 17 00:00:00 2001 From: "Nikola Milosavljevic (CLR) false" Date: Tue, 17 Sep 2024 15:21:31 +0000 Subject: [PATCH 4/4] Update comments --- eng/pipelines/templates/stages/vmr-build.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/eng/pipelines/templates/stages/vmr-build.yml b/eng/pipelines/templates/stages/vmr-build.yml index 34c37502e718..216be2415593 100644 --- a/eng/pipelines/templates/stages/vmr-build.yml +++ b/eng/pipelines/templates/stages/vmr-build.yml @@ -104,7 +104,7 @@ stages: ### Additional jobs for lite/full builds ### - ${{ if in(parameters.scope, 'lite', 'full') }}: - # Disabled until 9.0 GA - see https://github.com/dotnet/source-build/issues/4605 + # 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 @@ -124,7 +124,7 @@ stages: # reuseBuildArtifactsFrom: # - ${{ format('{0}_Online_MsftSdk_x64', variables.centOSStreamName) }} - # Disabled until 9.0 GA - see https://github.com/dotnet/source-build/issues/4605 + # 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 @@ -201,7 +201,7 @@ stages: useMonoRuntime: false # 🚫 withPreviousSDK: false # 🚫 - # Disabled until 9.0 GA - see https://github.com/dotnet/source-build/issues/4605 + # 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 @@ -220,7 +220,7 @@ stages: # useMonoRuntime: false # 🚫 # withPreviousSDK: true # ✅ - # Disabled until 9.0 GA - see https://github.com/dotnet/source-build/issues/4605 + # 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 @@ -307,7 +307,7 @@ stages: useMonoRuntime: false # 🚫 withPreviousSDK: false # 🚫 - # Disabled until 9.0 GA - see https://github.com/dotnet/source-build/issues/4605 + # 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 @@ -327,7 +327,7 @@ stages: # reuseBuildArtifactsFrom: # - ${{ format('{0}_Offline_MsftSdk_x64', variables.fedoraName) }} - # Disabled until 9.0 GA - see https://github.com/dotnet/source-build/issues/4605 + # 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