forked from dotnet/vscode-dotnet-runtime
-
Notifications
You must be signed in to change notification settings - Fork 0
/
1es-azure-pipeline.yml
88 lines (82 loc) · 2.16 KB
/
1es-azure-pipeline.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
# Name: dotnet.vscode-dotnet-runtime
# URL: https://dev.azure.com/dnceng/internal/_build?definitionId=656
trigger:
batch: true
branches:
include:
- main
tags:
include:
- SDK-v*
- Runtime-v*
pr:
autoCancel: false
branches:
include:
- '*'
variables:
- name: is-runtime-release
value: $[startsWith(variables['Build.SourceBranch'], 'refs/tags/Runtime-v')]
- name: is-sdk-release
value: $[startsWith(variables['Build.SourceBranch'], 'refs/tags/SDK-v')]
- name: Codeql.Enabled
value: true
resources:
repositories:
- repository: 1esPipelines
type: git
name: 1ESPipelineTemplates/1ESPipelineTemplates
ref: refs/tags/release
parameters:
- name: pools
type: object
default:
- name: NetCore1ESPool-Internal
image: 1es-ubuntu-2204
os: linux
- name: Azure Pipelines
image: macOS-latest
os: macOS
- name: NetCore1ESPool-Internal
image: 1es-windows-2022
os: windows
extends:
template: v1/1ES.Official.PipelineTemplate.yml@1esPipelines
parameters:
sdl:
sourceAnalysisPool:
name: NetCore1ESPool-Internal
image: 1es-windows-2022
os: windows
stages:
- stage: Internal
jobs:
- ${{ each image in parameters.pools }}:
- template: pipeline-templates/build-test.yaml@self
parameters:
pool:
name: ${{ image.name }}
image: ${{ image.image }}
os: ${{ image.os }}
useOneEngineeringPool: true
- template: pipeline-templates/upstream-verify.yaml@self
parameters:
pool:
name: NetCore1ESPool-Internal
image: 1es-windows-2022
os: windows
useOneEngineeringPool: true
- template: pipeline-templates/lint.yaml@self
parameters:
pool:
name: NetCore1ESPool-Internal
image: 1es-windows-2022
os: windows
useOneEngineeringPool: true
- template: pipeline-templates/package-vsix.yaml@self
parameters:
pool:
name: NetCore1ESPool-Internal
image: 1es-windows-2022
os: windows
useOneEngineeringPool: true