From a2a2e2ca4fbd89c219bed5c9d9c16788e9af0f7c Mon Sep 17 00:00:00 2001 From: Michael Simons Date: Tue, 17 Jan 2023 18:23:49 +0000 Subject: [PATCH] Disabling source-build build leg in PR validation --- .vsts-ci.yml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/.vsts-ci.yml b/.vsts-ci.yml index 59526b0ca..3f9a08012 100644 --- a/.vsts-ci.yml +++ b/.vsts-ci.yml @@ -369,15 +369,18 @@ stages: parameters: vmrBranch: ${{ parameters.vmrBranch }} +# TODO: Disable source-build builds in PR validation until source-build is more sustainable +# Tracking issue: https://github.com/dotnet/source-build/issues/3214 +# # In case the VMR Build stage needs to be temporarily disabled, please make sure that # the VMR synchronization step is run to validate that the PR can be merged and later # synchronized into the VMR without problems. # You can do this by allowing the Synchronize_VMR stage from above in PRs. -- ${{ if eq(variables['Build.Reason'], 'PullRequest') }}: - - template: eng/pipelines/templates/stages/vmr-build.yml - parameters: - vmrBranch: ${{ parameters.vmrBranch }} - isBuiltFromVmr: false +# - ${{ if eq(variables['Build.Reason'], 'PullRequest') }}: +# - template: eng/pipelines/templates/stages/vmr-build.yml +# parameters: +# vmrBranch: ${{ parameters.vmrBranch }} +# isBuiltFromVmr: false - ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}: - stage: Publish