зеркало из https://github.com/dotnet/razor.git
Use automatic pool selection controlled by arcade
This commit is contained in:
Родитель
c360580986
Коммит
a73a3eefe0
|
@ -3,6 +3,7 @@
|
|||
#
|
||||
|
||||
variables:
|
||||
- template: /eng/common/templates/variables/pool-providers.yml
|
||||
- name: Build.Repository.Clean
|
||||
value: true
|
||||
|
||||
|
@ -31,7 +32,7 @@ stages:
|
|||
jobs:
|
||||
- job: Windows
|
||||
pool:
|
||||
name: NetCore-Public
|
||||
name: $(DncEngPublicBuildPool)
|
||||
demands: ImageOverride -equals windows.vs2019.amd64.open
|
||||
|
||||
steps:
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
#
|
||||
|
||||
variables:
|
||||
- template: /eng/common/templates/variables/pool-providers.yml
|
||||
- name: Build.Repository.Clean
|
||||
value: true
|
||||
- name: _TeamName
|
||||
|
@ -76,10 +77,10 @@ stages:
|
|||
displayName: Code check
|
||||
pool:
|
||||
${{ if eq(variables['System.TeamProject'], 'public') }}:
|
||||
name: NetCore-Public
|
||||
name: $(DncEngPublicBuildPool)
|
||||
demands: ImageOverride -equals windows.vs2022preview.scout.amd64.open
|
||||
${{ if ne(variables['System.TeamProject'], 'public') }}:
|
||||
name: NetCore1ESPool-Internal
|
||||
name: $(DncEngInternalBuildPool)
|
||||
demands: ImageOverride -equals windows.vs2022preview.scout.amd64
|
||||
steps:
|
||||
- task: NodeTool@0
|
||||
|
@ -124,10 +125,10 @@ stages:
|
|||
timeoutInMinutes: 120
|
||||
pool:
|
||||
${{ if eq(variables['System.TeamProject'], 'public') }}:
|
||||
name: NetCore-Public
|
||||
name: $(DncEngPublicBuildPool)
|
||||
demands: ImageOverride -equals windows.vs2022preview.scout.amd64.open
|
||||
${{ if ne(variables['System.TeamProject'], 'public') }}:
|
||||
name: NetCore1ESPool-Internal
|
||||
name: $(DncEngInternalBuildPool)
|
||||
#Switch to scout queue to get test pass
|
||||
demands: ImageOverride -equals windows.vs2022preview.scout.amd64
|
||||
strategy:
|
||||
|
@ -384,7 +385,7 @@ stages:
|
|||
${{ if eq(variables['System.TeamProject'], 'public') }}:
|
||||
vmImage: ubuntu-latest
|
||||
${{ if eq(variables['System.TeamProject'], 'internal') }}:
|
||||
name: NetCore1ESPool-Internal
|
||||
name: $(DncEngInternalBuildPool)
|
||||
demands: ImageOverride -equals Build.Ubuntu.1804.Amd64
|
||||
|
||||
variables:
|
||||
|
|
Загрузка…
Ссылка в новой задаче