Merge pull request #5420 from jonfortescue/1esSvcPools60rc2

Switch to 1ES servicing pools on release/6.0-rc2
This commit is contained in:
Jon Fortescue 2021-09-30 13:41:02 -07:00 коммит произвёл GitHub
Родитель 9ad6b63e50 0257888fba
Коммит 8907ff954b
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
2 изменённых файлов: 6 добавлений и 6 удалений

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

@ -72,8 +72,8 @@ stages:
${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}:
# agent pool can't be read from a user-defined variable (Azure DevOps limitation)
pool:
name: NetCoreInternal-Pool
queue: buildpool.windows.10.amd64.vs2019.pre
name: NetCore1ESPool-Svc-Internal
demands: ImageOverride -equals build.windows.10.amd64.vs2019.pre
# runAsPublic is used in expressions, which can't read from user-defined variables
runAsPublic: false

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

@ -34,11 +34,11 @@ jobs:
# Will eventually change this to two BYOC pools.
# agent pool can't be read from a user-defined variable (Azure DevOps limitation)
${{ if eq(variables['System.TeamProject'], 'public') }}:
name: NetCorePublic-Pool
queue: BuildPool.Windows.10.Amd64.VS2019.Pre.Open
name: NetCore1ESPool-Svc-Public
demands: ImageOverride -equals build.Windows.10.Amd64.VS2019.Pre.Open
${{ if eq(variables['System.TeamProject'], 'internal') }}:
name: NetCoreInternal-Pool
queue: buildpool.windows.10.amd64.vs2019.pre
name: NetCore1ESPool-Svc-Internal
demands: ImageOverride -equals build.windows.10.amd64.vs2019.pre
variables:
# needed for signing
- name: _TeamName