41 строка
1.2 KiB
YAML
41 строка
1.2 KiB
YAML
resources:
|
|
repositories:
|
|
- repository: 1ESPipelineTemplates
|
|
type: git
|
|
name: 1ESPipelineTemplates/1ESPipelineTemplates
|
|
ref: refs/tags/release
|
|
|
|
parameters:
|
|
- name: stages
|
|
type: stageList
|
|
default: []
|
|
- name: UseOfficial
|
|
type: boolean
|
|
default: true
|
|
|
|
extends:
|
|
${{ if and(parameters.UseOfficial, eq(variables['System.TeamProject'], 'internal')) }}:
|
|
template: v1/1ES.Official.PipelineTemplate.yml@1ESPipelineTemplates
|
|
${{ else }}:
|
|
template: v1/1ES.Unofficial.PipelineTemplate.yml@1ESPipelineTemplates
|
|
parameters:
|
|
settings:
|
|
skipBuildTagsForGitHubPullRequests: true
|
|
sdl:
|
|
sourceAnalysisPool:
|
|
name: azsdk-pool-mms-win-2022-general
|
|
image: azsdk-pool-mms-win-2022-1espt
|
|
os: windows
|
|
sourceRepositoriesToScan:
|
|
exclude:
|
|
- repository: azure-sdk-build-tools
|
|
eslint:
|
|
enabled: false
|
|
justificationForDisabling: 'ESLint injected task has failures because it uses an old version of mkdirp. We should not fail for tools not controlled by the repo. See: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=3499746'
|
|
psscriptanalyzer:
|
|
compiled: true
|
|
break: true
|
|
policy: M365
|
|
|
|
stages: ${{ parameters.stages }}
|