Stop syncing main-ub branch (#18564)

This commit is contained in:
Ella Hathaway 2024-03-25 01:44:19 -07:00 committed by GitHub
parent bcff4e3ed1
commit 0c44f80445
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 13 deletions

View file

@ -2,10 +2,6 @@
### It synchronizes the content of the VMR to this new commit and pushes the changes
parameters:
- name: jobName
displayName: Name of the pipeline job
type: string
- name: targetRef
displayName: Target revision of dotnet/installer to synchronize
type: string
@ -22,7 +18,7 @@ parameters:
default: false
jobs:
- job: ${{ parameters.jobName }}
- job: Synchronize_VMR
displayName: Synchronize VMR's ${{ parameters.vmrBranch }}
timeoutInMinutes: 120
variables:
@ -70,7 +66,7 @@ jobs:
- ${{ if and(not(parameters.noPush), not(in(variables['Build.Reason'], 'PullRequest')), eq(variables['System.TeamProject'], 'internal')) }}:
# Push main and release branches to the public VMR
- ${{ if or(eq(parameters.vmrBranch, 'main'), eq(parameters.vmrBranch, 'main-ub'), startsWith(parameters.vmrBranch, 'release/')) }}:
- ${{ if or(eq(parameters.vmrBranch, 'main'), startsWith(parameters.vmrBranch, 'release/')) }}:
- script: >
./.dotnet/dotnet darc vmr push
--vmr '$(vmrPath)'

View file

@ -36,11 +36,4 @@ variables:
jobs:
- template: /eng/pipelines/templates/jobs/vmr-synchronization.yml
parameters:
jobName: Synchronize_VMR
vmrBranch: ${{ variables.VmrBranch }}
- ${{ if eq(variables['Build.SourceBranch'], 'refs/heads/main') }}:
- template: /eng/pipelines/templates/jobs/vmr-synchronization.yml
parameters:
jobName: Synchronize_VMR_uncloaked
vmrBranch: ${{ variables.VmrBranch }}-ub