Merged PR 783526: Move selfhost builds to a common pool

Use a new common pool BuildXL-DevOpsAgents-Selfhost for both Windows and Linux runs. This is a pre-requisite step to be able to enable network isolation and use a common firewall for all runs.
This commit is contained in:
Serge Mera 2024-05-07 21:42:25 +00:00
Родитель 5ebec7807d
Коммит 6ef7c5a282
22 изменённых файлов: 51 добавлений и 30 удалений

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

@ -9,7 +9,8 @@ jobs:
- job: Validation_1ESPT_${{ parameters.validationName }}
displayName: 1ESPipelines BuildXL workflow [Linux] (${{ parameters.validationName }})
pool:
name: BuildXL-DevOpsAgents-Linux-Stateless-PME
name: BuildXL-DevOpsAgents-Selfhost
image: linux-PME-GPT
os: linux
timeoutInMinutes: 90
templateContext:

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

@ -18,7 +18,8 @@ jobs:
timeoutInMinutes: 120
cancelTimeoutInMinutes: 1
pool:
name: BuildXL-DevOpsAgents-PME
name: BuildXL-DevOpsAgents-Selfhost
os: windows
steps:
- checkout: self
fetchDepth: 1

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

@ -13,7 +13,8 @@ jobs:
timeoutInMinutes: 120
cancelTimeoutInMinutes: 1
pool:
name: BuildXL-DevOpsAgents-PME
name: BuildXL-DevOpsAgents-Selfhost
os: windows
steps:
- checkout: self
fetchDepth: 1

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

@ -28,7 +28,8 @@ jobs:
- job: Build_Linux
displayName: Build linux NPM package (${{ parameters.Flavor }})
pool:
name: BuildXL-DevOpsAgents-Linux-Stateless-PME
name: BuildXL-DevOpsAgents-Selfhost
image: linux-PME-GPT
os: linux
steps:
@ -80,7 +81,8 @@ jobs:
- job: Publish_Windows
displayName: 'Publish on Windows'
pool:
name: BuildXL-DevOpsAgents-PME
name: BuildXL-DevOpsAgents-Selfhost
os: windows
dependsOn: Build_Linux
steps:
- checkout: none

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

@ -23,7 +23,8 @@ variables:
- name: Codeql.Enabled
value: false
pool:
name: BuildXL-DevOpsAgents-PME
name: BuildXL-DevOpsAgents-Selfhost
os: windows
stages:
- stage: Build

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

@ -5,7 +5,8 @@ parameters:
- name: pool
type: object
default:
name: BuildXL-DevOpsAgents-Linux-Stateless-PME
name: BuildXL-DevOpsAgents-Selfhost
image: linux-PME-GPT
os: linux
jobs:

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

@ -45,7 +45,8 @@ parameters:
- name: pool
type: object
default:
name: BuildXL-DevOpsAgents-Linux-Stateless-PME
name: BuildXL-DevOpsAgents-Selfhost
image: linux-PME-GPT
os: linux
jobs:

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

@ -2,7 +2,8 @@ parameters:
- name: pool
type: object
default:
name: BuildXL-DevOpsAgents-Linux-Stateless-PME
name: BuildXL-DevOpsAgents-Selfhost
image: linux-PME-GPT
os: linux
jobs:

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

@ -5,7 +5,8 @@ parameters:
- name: pool
type: object
default:
name: BuildXL-DevOpsAgents-Linux-Stateless-PME
name: BuildXL-DevOpsAgents-Selfhost
image: linux-PME-GPT
os: linux
jobs:

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

@ -5,7 +5,8 @@ parameters:
- name: pool
type: object
default:
name: BuildXL-DevOpsAgents-Linux-Stateless-PME
name: BuildXL-DevOpsAgents-Selfhost
image: linux-PME-GPT
os: linux

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

@ -5,7 +5,8 @@ parameters:
- name: pool
type: object
default:
name: BuildXL-DevOpsAgents-Linux-Stateless-PME
name: BuildXL-DevOpsAgents-Selfhost
image: linux-PME-GPT
os: linux

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

@ -15,7 +15,8 @@ parameters:
- name: pool
type: object
default:
name: BuildXL-DevOpsAgents-Linux-Stateless-PME
name: BuildXL-DevOpsAgents-Selfhost
image: linux-PME-GPT
os: linux
stages:

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

@ -24,7 +24,8 @@ parameters:
- name: pool
type: object
default:
name: BuildXL-DevOpsAgents-Linux-Stateless-PME
name: BuildXL-DevOpsAgents-Selfhost
image: linux-PME-GPT
os: linux
extends:
@ -53,6 +54,7 @@ extends:
- template: /.azdo/linux/linux-stages-template.yml
parameters:
pool:
name: BuildXL-DevOpsAgents-Linux-Stateless-PME
name: BuildXL-DevOpsAgents-Selfhost
image: linux-PME-GPT
os: linux
BxlCommonArgs: ${{ parameters.BxlCommonArgs }}

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

@ -23,7 +23,7 @@ extends:
template: v1/1ES.Unofficial.PipelineTemplate.yml@1esPipelines
parameters:
pool:
name: BuildXL-DevOpsAgents-Linux-Stateless-PME
name: BuildXL-DevOpsAgents-Selfhost
os: linux
demands:
- ImageOverride -equals ubuntu-22.04-PME-GPT
@ -38,8 +38,8 @@ extends:
- template: /.azdo/linux/linux-stages-template.yml
parameters:
pool:
name: BuildXL-DevOpsAgents-Linux-Stateless-PME
name: BuildXL-DevOpsAgents-Selfhost
os: linux
demands:
- ImageOverride -equals ubuntu-22.04-PME-GPT
demands:
- ImageOverride -equals ubuntu-22.04-PME-GPT
BxlCommonArgs: ${{ parameters.BxlCommonArgs }}

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

@ -1,7 +1,8 @@
trigger: none
pool:
name: BuildXL-DevOpsAgents-PME
name: BuildXL-DevOpsAgents-Selfhost
os: windows
resources:
repositories:

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

@ -20,7 +20,8 @@ jobs:
cancelTimeoutInMinutes: 1
pool:
name: BuildXL-DevOpsAgents-PME
name: BuildXL-DevOpsAgents-Selfhost
os: windows
steps:
- checkout: self

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

@ -7,7 +7,8 @@ jobs:
- job: buildTests
displayName: Build Unit Test Deployment with BuildXL on Windows
pool:
name: BuildXL-DevOpsAgents-PME
name: BuildXL-DevOpsAgents-Selfhost
os: windows
steps:
- checkout: self

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

@ -12,7 +12,7 @@ jobs:
cancelTimeoutInMinutes: 1
condition: and(succeeded(), ne(variables['ServicingOnlyBuild'], 'true'))
pool:
name: BuildXL-DevOpsAgents-PME
name: BuildXL-DevOpsAgents-Selfhost
os: windows
templateContext:
@ -93,7 +93,7 @@ jobs:
timeoutInMinutes: 180
condition: and(succeeded(), ne(variables['ServicingOnlyBuild'], 'true'))
pool:
name: BuildXL-DevOpsAgents-PME
name: BuildXL-DevOpsAgents-Selfhost
os: windows
strategy:
@ -156,7 +156,8 @@ jobs:
timeoutInMinutes: 180
condition: and(succeeded(), ne(variables['ServicingOnlyBuild'], 'true'))
pool:
name: BuildXL-DevOpsAgents-Linux-Stateless-PME
name: BuildXL-DevOpsAgents-Selfhost
image: linux-PME-GPT
os: linux
templateContext:

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

@ -4,7 +4,8 @@ jobs:
timeoutInMinutes: 180
pool:
name: BuildXL-DevOpsAgents-Linux-Stateless-PME
name: BuildXL-DevOpsAgents-Selfhost
image: linux-PME-GPT
os: linux
templateContext:

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

@ -4,7 +4,7 @@ jobs:
timeoutInMinutes: 240
dependsOn:
pool:
name: BuildXL-DevOpsAgents-PME
name: BuildXL-DevOpsAgents-Selfhost
os: windows
templateContext:
outputParentDirectory: $(Agent.TempDirectory)/DownloadedDrop
@ -144,7 +144,7 @@ jobs:
# Only force push the main branch
condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/main'))
pool:
name: BuildXL-DevOpsAgents-PME
name: BuildXL-DevOpsAgents-Selfhost
os: windows
steps:

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

@ -5,7 +5,8 @@ jobs:
cancelTimeoutInMinutes: 1
condition: and(succeeded(), ne(variables['ServicingOnlyBuild'], 'true'))
pool:
name: BuildXL-DevOpsAgents-PME
name: BuildXL-DevOpsAgents-Selfhost
os: windows
templateContext:
sdl:
binskim:

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

@ -26,7 +26,7 @@ extends:
template: v1/1ES.Official.PipelineTemplate.yml@1esPipelines
parameters:
pool:
name: BuildXL-DevOpsAgents-PME
name: BuildXL-DevOpsAgents-Selfhost
os: windows
featureFlags:
autoBaseline: false