2019-02-05 06:22:35 +03:00
|
|
|
trigger:
|
2021-02-05 11:34:05 +03:00
|
|
|
- main
|
2020-04-28 22:45:19 +03:00
|
|
|
- develop
|
2023-08-17 01:17:07 +03:00
|
|
|
- release/*
|
2019-09-24 02:34:44 +03:00
|
|
|
|
2020-03-10 00:57:56 +03:00
|
|
|
pr:
|
2021-02-05 11:34:05 +03:00
|
|
|
- main
|
2020-04-28 22:45:19 +03:00
|
|
|
- develop
|
2023-08-17 01:17:07 +03:00
|
|
|
- release/*
|
2020-03-10 00:57:56 +03:00
|
|
|
|
2021-11-13 08:59:12 +03:00
|
|
|
parameters:
|
|
|
|
- name: buildExternals
|
2024-02-28 23:38:00 +03:00
|
|
|
displayName: 'The Build ID containing the specific native artifacts to use:'
|
2022-05-30 10:40:53 +03:00
|
|
|
type: string
|
|
|
|
default: 'latest'
|
2024-02-28 23:38:00 +03:00
|
|
|
- name: buildAgentHost
|
|
|
|
displayName: 'The generic host build agent configuration:'
|
2022-05-27 21:23:34 +03:00
|
|
|
type: object
|
|
|
|
default:
|
|
|
|
pool:
|
2024-03-06 22:44:34 +03:00
|
|
|
name: Maui-1ESPT
|
2024-02-28 23:38:00 +03:00
|
|
|
image: 1ESPT-Windows2022
|
|
|
|
os: windows
|
|
|
|
- name: buildAgentWindows
|
|
|
|
displayName: 'The Windows build agent configuration:'
|
2022-03-02 10:24:47 +03:00
|
|
|
type: object
|
|
|
|
default:
|
2022-04-09 03:55:21 +03:00
|
|
|
pool:
|
2024-03-06 22:44:34 +03:00
|
|
|
name: Maui-1ESPT
|
2024-02-28 23:38:00 +03:00
|
|
|
image: 1ESPT-Windows2022
|
|
|
|
os: windows
|
|
|
|
- name: buildAgentMac
|
|
|
|
displayName: 'The macOS build agent configuration:'
|
2023-07-30 18:49:57 +03:00
|
|
|
type: object
|
|
|
|
default:
|
|
|
|
pool:
|
|
|
|
name: Azure Pipelines
|
|
|
|
vmImage: macos-13
|
2024-02-28 23:38:00 +03:00
|
|
|
os: macos
|
|
|
|
- name: buildAgentLinux
|
|
|
|
displayName: 'The Linuk build agent configuration:'
|
2022-03-02 10:24:47 +03:00
|
|
|
type: object
|
|
|
|
default:
|
2022-04-09 03:55:21 +03:00
|
|
|
pool:
|
2024-03-06 22:44:34 +03:00
|
|
|
name: Maui-1ESPT
|
2024-02-28 23:38:00 +03:00
|
|
|
image: 1ESPT-Ubuntu20.04
|
|
|
|
os: linux
|
2024-02-06 03:35:52 +03:00
|
|
|
- name: runCompliance
|
2024-02-28 23:38:00 +03:00
|
|
|
displayName: 'Run post-build compliance tasks (such as API Scan)'
|
2024-02-06 03:35:52 +03:00
|
|
|
type: boolean
|
|
|
|
default: false
|
2021-11-13 08:59:12 +03:00
|
|
|
|
2019-02-05 06:22:35 +03:00
|
|
|
variables:
|
2024-02-28 23:38:00 +03:00
|
|
|
- template: /scripts/azure-pipelines-variables.yml@self
|
2019-09-24 02:34:44 +03:00
|
|
|
|
2019-02-21 00:48:56 +03:00
|
|
|
resources:
|
|
|
|
repositories:
|
|
|
|
- repository: xamarin-templates
|
|
|
|
type: github
|
|
|
|
name: xamarin/yaml-templates
|
|
|
|
endpoint: xamarin
|
2020-12-27 15:47:09 +03:00
|
|
|
ref: refs/heads/main
|
2024-02-28 23:38:00 +03:00
|
|
|
- repository: 1ESPipelineTemplates
|
|
|
|
type: git
|
|
|
|
name: 1ESPipelineTemplates/1ESPipelineTemplates
|
|
|
|
ref: refs/tags/release
|
2019-02-21 00:48:56 +03:00
|
|
|
|
2024-02-28 23:38:00 +03:00
|
|
|
extends:
|
|
|
|
template: v1/1ES.Official.PipelineTemplate.yml@1ESPipelineTemplates
|
|
|
|
parameters:
|
|
|
|
pool: ${{ parameters.buildAgentHost.pool }}
|
|
|
|
customBuildTags:
|
|
|
|
- ES365AIMigrationTooling
|
|
|
|
stages:
|
|
|
|
- template: /scripts/azure-templates-stages.yml@self
|
|
|
|
parameters:
|
|
|
|
buildPipelineType: 'build'
|
|
|
|
buildExternals: ${{ parameters.buildExternals }}
|
|
|
|
runCompliance: ${{ parameters.runCompliance }}
|
|
|
|
use1ESPipelineTemplates: true
|
|
|
|
buildAgentHost: ${{ parameters.buildAgentHost }}
|
|
|
|
buildAgentWindows: ${{ parameters.buildAgentWindows }}
|
|
|
|
buildAgentWindowsNative: ${{ parameters.buildAgentWindows }}
|
|
|
|
buildAgentMac: ${{ parameters.buildAgentMac }}
|
|
|
|
buildAgentMacNative: ${{ parameters.buildAgentMac }}
|
|
|
|
buildAgentLinux: ${{ parameters.buildAgentLinux }}
|
|
|
|
buildAgentLinuxNative: ${{ parameters.buildAgentLinux }}
|