2023-02-01 14:12:20 +00:00
|
|
|
pr: none
|
|
|
|
|
2023-02-01 13:40:07 +00:00
|
|
|
trigger:
|
|
|
|
batch: true
|
|
|
|
branches:
|
|
|
|
include:
|
|
|
|
- main
|
|
|
|
- release/*
|
2023-10-18 14:42:12 +00:00
|
|
|
exclude:
|
|
|
|
- release/*.0.2xx
|
|
|
|
- release/*.0.3xx
|
|
|
|
- release/*.0.4xx
|
2023-02-01 13:40:07 +00:00
|
|
|
|
|
|
|
resources:
|
|
|
|
repositories:
|
|
|
|
- repository: vmr
|
|
|
|
type: github
|
|
|
|
name: dotnet/dotnet
|
|
|
|
endpoint: dotnet
|
2023-02-02 14:01:28 +00:00
|
|
|
ref: $(Build.SourceBranch)
|
2023-02-01 13:40:07 +00:00
|
|
|
|
|
|
|
parameters:
|
|
|
|
- name: vmrBranch
|
|
|
|
displayName: dotnet/dotnet branch to push to
|
|
|
|
type: string
|
2023-02-08 16:40:25 +00:00
|
|
|
default: ' '
|
2023-02-01 13:40:07 +00:00
|
|
|
|
|
|
|
variables:
|
2023-02-08 16:40:25 +00:00
|
|
|
- ${{ if ne(parameters.vmrBranch, ' ') }}:
|
2023-02-01 13:52:26 +00:00
|
|
|
- name: VmrBranch
|
2023-02-08 16:40:25 +00:00
|
|
|
value: ${{ replace(parameters.vmrBranch, ' ', '') }}
|
2023-02-01 13:52:26 +00:00
|
|
|
- ${{ else }}:
|
|
|
|
- name: VmrBranch
|
|
|
|
value: ${{ replace(replace(variables['Build.SourceBranch'], 'refs/heads/', ''), 'refs/pull/', '') }}
|
2024-01-26 11:06:52 +00:00
|
|
|
|
2023-02-01 14:14:27 +00:00
|
|
|
jobs:
|
2024-01-26 11:06:52 +00:00
|
|
|
- template: /eng/pipelines/templates/jobs/vmr-synchronization.yml
|
|
|
|
parameters:
|
2024-01-26 13:15:38 +00:00
|
|
|
jobName: Synchronize_VMR
|
2024-01-26 11:06:52 +00:00
|
|
|
vmrBranch: ${{ variables.VmrBranch }}
|
|
|
|
|
|
|
|
- template: /eng/pipelines/templates/jobs/vmr-synchronization.yml
|
|
|
|
parameters:
|
2024-01-26 13:15:38 +00:00
|
|
|
jobName: Synchronize_VMR_uncloacked
|
2024-01-26 11:06:52 +00:00
|
|
|
vmrBranch: ${{ variables.VmrBranch }}-ub
|