Use automatic pool selection controlled by arcade

This commit is contained in:
David Wengier 2023-03-07 07:37:08 +11:00
Родитель c360580986
Коммит a73a3eefe0
2 изменённых файлов: 8 добавлений и 6 удалений

Просмотреть файл

@ -3,6 +3,7 @@
# #
variables: variables:
- template: /eng/common/templates/variables/pool-providers.yml
- name: Build.Repository.Clean - name: Build.Repository.Clean
value: true value: true
@ -31,7 +32,7 @@ stages:
jobs: jobs:
- job: Windows - job: Windows
pool: pool:
name: NetCore-Public name: $(DncEngPublicBuildPool)
demands: ImageOverride -equals windows.vs2019.amd64.open demands: ImageOverride -equals windows.vs2019.amd64.open
steps: steps:

Просмотреть файл

@ -3,6 +3,7 @@
# #
variables: variables:
- template: /eng/common/templates/variables/pool-providers.yml
- name: Build.Repository.Clean - name: Build.Repository.Clean
value: true value: true
- name: _TeamName - name: _TeamName
@ -76,10 +77,10 @@ stages:
displayName: Code check displayName: Code check
pool: pool:
${{ if eq(variables['System.TeamProject'], 'public') }}: ${{ if eq(variables['System.TeamProject'], 'public') }}:
name: NetCore-Public name: $(DncEngPublicBuildPool)
demands: ImageOverride -equals windows.vs2022preview.scout.amd64.open demands: ImageOverride -equals windows.vs2022preview.scout.amd64.open
${{ if ne(variables['System.TeamProject'], 'public') }}: ${{ if ne(variables['System.TeamProject'], 'public') }}:
name: NetCore1ESPool-Internal name: $(DncEngInternalBuildPool)
demands: ImageOverride -equals windows.vs2022preview.scout.amd64 demands: ImageOverride -equals windows.vs2022preview.scout.amd64
steps: steps:
- task: NodeTool@0 - task: NodeTool@0
@ -124,10 +125,10 @@ stages:
timeoutInMinutes: 120 timeoutInMinutes: 120
pool: pool:
${{ if eq(variables['System.TeamProject'], 'public') }}: ${{ if eq(variables['System.TeamProject'], 'public') }}:
name: NetCore-Public name: $(DncEngPublicBuildPool)
demands: ImageOverride -equals windows.vs2022preview.scout.amd64.open demands: ImageOverride -equals windows.vs2022preview.scout.amd64.open
${{ if ne(variables['System.TeamProject'], 'public') }}: ${{ if ne(variables['System.TeamProject'], 'public') }}:
name: NetCore1ESPool-Internal name: $(DncEngInternalBuildPool)
#Switch to scout queue to get test pass #Switch to scout queue to get test pass
demands: ImageOverride -equals windows.vs2022preview.scout.amd64 demands: ImageOverride -equals windows.vs2022preview.scout.amd64
strategy: strategy:
@ -384,7 +385,7 @@ stages:
${{ if eq(variables['System.TeamProject'], 'public') }}: ${{ if eq(variables['System.TeamProject'], 'public') }}:
vmImage: ubuntu-latest vmImage: ubuntu-latest
${{ if eq(variables['System.TeamProject'], 'internal') }}: ${{ if eq(variables['System.TeamProject'], 'internal') }}:
name: NetCore1ESPool-Internal name: $(DncEngInternalBuildPool)
demands: ImageOverride -equals Build.Ubuntu.1804.Amd64 demands: ImageOverride -equals Build.Ubuntu.1804.Amd64
variables: variables: