Use public pools for public build (#56)
This commit is contained in:
Родитель
2a43c24858
Коммит
215eacdc72
|
@ -30,6 +30,23 @@ variables:
|
|||
- template: ci/variables/build.yml@eng
|
||||
- template: ci/variables/cfs.yml@eng
|
||||
|
||||
parameters:
|
||||
- name: pools
|
||||
type: object
|
||||
default:
|
||||
- type: linux
|
||||
name: 1es-pool-azfunc
|
||||
image: 1es-ubuntu-22.04
|
||||
os: linux
|
||||
- type: windows
|
||||
name: 1es-pool-azfunc
|
||||
image: 1es-windows-2022
|
||||
os: windows
|
||||
- type: macos
|
||||
name: Azure Pipelines
|
||||
image: macOS-latest
|
||||
os: macOS
|
||||
|
||||
extends:
|
||||
template: v1/1ES.Official.PipelineTemplate.yml@1es
|
||||
parameters:
|
||||
|
@ -42,4 +59,6 @@ extends:
|
|||
- stage: Build_And_Test
|
||||
|
||||
jobs:
|
||||
- template: /eng/ci/templates/jobs/build-and-test.yml@self
|
||||
- template: /eng/ci/templates/jobs/build-and-test.yml@self
|
||||
parameters:
|
||||
pools: ${{ parameters.pools }}
|
|
@ -24,6 +24,23 @@ resources:
|
|||
name: 1ESPipelineTemplates/1ESPipelineTemplates
|
||||
ref: refs/tags/release
|
||||
|
||||
parameters:
|
||||
- name: pools
|
||||
type: object
|
||||
default:
|
||||
- type: linux
|
||||
name: 1es-pool-azfunc-public
|
||||
image: 1es-ubuntu-22.04
|
||||
os: linux
|
||||
- type: windows
|
||||
name: 1es-pool-azfunc-public
|
||||
image: 1es-windows-2022
|
||||
os: windows
|
||||
- type: macos
|
||||
name: Azure Pipelines
|
||||
image: macOS-latest
|
||||
os: macOS
|
||||
|
||||
extends:
|
||||
template: v1/1ES.Unofficial.PipelineTemplate.yml@1es
|
||||
parameters:
|
||||
|
@ -42,4 +59,6 @@ extends:
|
|||
- stage: Build_And_Test
|
||||
|
||||
jobs:
|
||||
- template: /eng/ci/templates/jobs/build-and-test.yml@self
|
||||
- template: /eng/ci/templates/jobs/build-and-test.yml@self
|
||||
parameters:
|
||||
pools: ${{ parameters.pools }}
|
|
@ -1,19 +1,7 @@
|
|||
parameters:
|
||||
- name: pools
|
||||
type: object
|
||||
default:
|
||||
- type: linux
|
||||
name: 1es-pool-azfunc
|
||||
image: 1es-ubuntu-22.04
|
||||
os: linux
|
||||
- type: windows
|
||||
name: 1es-pool-azfunc
|
||||
image: 1es-windows-2022
|
||||
os: windows
|
||||
- type: macos
|
||||
name: Azure Pipelines
|
||||
image: macOS-latest
|
||||
os: macOS
|
||||
default: []
|
||||
|
||||
jobs:
|
||||
- ${{ each pool in parameters.pools }}:
|
||||
|
|
Загрузка…
Ссылка в новой задаче