Stop syncing main-ub
branch (#18564)
This commit is contained in:
parent
bcff4e3ed1
commit
0c44f80445
2 changed files with 2 additions and 13 deletions
|
@ -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)'
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue