зеркало из https://github.com/microsoft/BuildXL.git
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:
Родитель
5ebec7807d
Коммит
6ef7c5a282
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче