-
Notifications
You must be signed in to change notification settings - Fork 742
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: Scott Beddall (from Dev Box) <[email protected]> Co-authored-by: Timothee Guerin <[email protected]>
- Loading branch information
1 parent
63ffe68
commit 977049c
Showing
6 changed files
with
251 additions
and
146 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
resources: | ||
repositories: | ||
- repository: 1ESPipelineTemplates | ||
type: git | ||
name: 1ESPipelineTemplates/1ESPipelineTemplates | ||
ref: refs/tags/release | ||
|
||
parameters: | ||
- name: stages | ||
type: stageList | ||
default: [] | ||
- name: variables | ||
type: object | ||
default: {} | ||
- name: Use1ESOfficial | ||
type: boolean | ||
default: true | ||
|
||
extends: | ||
${{ if and(parameters.Use1ESOfficial, 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: | ||
git: | ||
longpaths: true | ||
sourceAnalysisPool: | ||
name: azsdk-pool-mms-win-2022-general | ||
image: azsdk-pool-mms-win-2022-1espt | ||
os: windows | ||
psscriptanalyzer: | ||
compiled: true | ||
break: true | ||
stages: | ||
- ${{ each stage in parameters.stages }}: | ||
- ${{ each pair in stage }}: | ||
${{ if ne(pair.key, 'variables') }}: | ||
${{ pair.key }}: ${{ pair.value }} | ||
variables: | ||
- template: /eng/pipelines/templates/variables/image.yml@self | ||
- ${{ each variable in parameters.variables }}: | ||
- ${{ if eq(variable.key, 'template') }}: | ||
- template: ${{ variable.value }} | ||
- ${{ else }}: | ||
- name: ${{ coalesce(variable.key, variable.name) }} | ||
value: ${{ variable.value }} | ||
- ${{ each variable in stage.variables }}: | ||
- ${{ if in(variable.key, 'template', 'group') }}: | ||
- ${{ variable.key }}: ${{ variable.value }} | ||
- ${{ else }}: | ||
- name: ${{ coalesce(variable.key, variable.name) }} | ||
value: ${{ variable.value }} |
Oops, something went wrong.