-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Expand file tree
/
Copy pathhelix-queues-setup.yml
More file actions
170 lines (148 loc) · 8.32 KB
/
Copy pathhelix-queues-setup.yml
File metadata and controls
170 lines (148 loc) · 8.32 KB
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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
parameters:
jobTemplate: ''
variables: {}
osGroup: ''
osSubgroup: ''
archType: ''
container: ''
pool: ''
platform: ''
shouldContinueOnError: false
jobParameters: {}
# parameters.jobParameters.helixQueueGroup values:
# 'pr' -- pull request
# 'ci' -- continuous integration ("merge")
# 'libraries' -- libraries tests
# 'cet' -- machines supporting CET technology
# 'superpmi-diffs' -- as high capacity queues as possible since no OS testing is necessary for this
# Many of these values are unused below, as we use the same queues for many of the scenarios.
# However, having these options allows us to easily tune the queues we use for each scenario as needed based on new hardware support.
jobs:
- template: ${{ parameters.jobTemplate }}
parameters:
variables: ${{ parameters.variables }}
osGroup: ${{ parameters.osGroup }}
osSubgroup: ${{ parameters.osSubgroup }}
archType: ${{ parameters.archType }}
container: ${{ parameters.container }}
pool: ${{ parameters.pool }}
platform: ${{ parameters.platform }}
shouldContinueOnError: ${{ parameters.shouldContinueOnError }}
helixQueues:
# iOS Simulator/Mac Catalyst arm64
- ${{ if in(parameters.platform, 'iossimulator_arm64', 'tvossimulator_arm64', 'maccatalyst_arm64') }}:
- ${{ if eq(variables['System.TeamProject'], 'public') }}:
- $(helix_macos_ios_simulator_arm64)
- ${{ if eq(variables['System.TeamProject'], 'internal') }}:
- $(helix_macos_ios_simulator_arm64_internal)
# iOS/tvOS Simulator x64 & MacCatalyst x64
- ${{ if in(parameters.platform, 'iossimulator_x64', 'tvossimulator_x64', 'maccatalyst_x64') }}:
- ${{ if eq(variables['System.TeamProject'], 'public') }}:
- $(helix_macos_ios_simulator_x64)
- ${{ if eq(variables['System.TeamProject'], 'internal') }}:
- $(helix_macos_ios_simulator_x64_internal)
# Android arm
- ${{ if in(parameters.platform, 'android_arm') }}:
- ${{ if eq(variables['System.TeamProject'], 'public') }}:
- Windows.11.Amd64.Android-armel.Open
- ${{ if eq(variables['System.TeamProject'], 'internal') }}:
- Ubuntu.2204.Amd64.Android.29
# Android arm64
- ${{ if in(parameters.platform, 'android_arm64') }}:
- ${{ if eq(variables['System.TeamProject'], 'public') }}:
- Windows.11.Amd64.Android.Open
- ${{ if eq(variables['System.TeamProject'], 'internal') }}:
- Windows.11.Amd64.Android
# Android x64
- ${{ if in(parameters.platform, 'android_x64') }}:
- ${{ if eq(variables['System.TeamProject'], 'public') }}:
- Ubuntu.2204.Amd64.Android.29.Open
- ${{ if eq(variables['System.TeamProject'], 'internal') }}:
- Ubuntu.2204.Amd64.Android.29
# Browser wasm
- ${{ if eq(parameters.platform, 'browser_wasm') }}:
- ${{ if eq(variables['System.TeamProject'], 'public') }}:
- (Ubuntu.2604.Amd64.Open)AzureLinux.3.Amd64.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-26.04-helix-webassembly-amd64@sha256:0be8725e08b6d0f58ec0290f3f3b70c449123e78b2b33853e9049df84b912fa8
- ${{ if eq(variables['System.TeamProject'], 'internal') }}:
- (Ubuntu.2604.Amd64)AzureLinux.3.Amd64@mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-26.04-helix-webassembly-amd64@sha256:0be8725e08b6d0f58ec0290f3f3b70c449123e78b2b33853e9049df84b912fa8
# iOS devices
- ${{ if in(parameters.platform, 'ios_arm64') }}:
- ${{ if eq(variables['System.TeamProject'], 'public') }}:
- $(helix_macos_ios_device)
- ${{ if eq(variables['System.TeamProject'], 'internal') }}:
- $(helix_macos_ios_device_internal)
# tvOS devices
- ${{ if in(parameters.platform, 'tvos_arm64') }}:
- ${{ if eq(variables['System.TeamProject'], 'public') }}:
- $(helix_macos_tvos_device)
- ${{ if eq(variables['System.TeamProject'], 'internal') }}:
- $(helix_macos_tvos_device_internal)
# Linux arm
- ${{ if eq(parameters.platform, 'linux_arm') }}:
- ${{ if eq(variables['System.TeamProject'], 'public') }}:
- (Debian.13.Arm32.Open)AzureLinux.3.Arm64.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:debian-13-helix-arm32v7@sha256:5782ea4fdaf8904d77a3c90b69eedbca1e6a93a6a8cef0ab77f9fcebbdcbfcd9
- ${{ if eq(variables['System.TeamProject'], 'internal') }}:
- (Debian.13.Arm32)AzureLinux.3.Arm64@mcr.microsoft.com/dotnet-buildtools/prereqs:debian-13-helix-arm32v7@sha256:5782ea4fdaf8904d77a3c90b69eedbca1e6a93a6a8cef0ab77f9fcebbdcbfcd9
# Linux arm64
- ${{ if eq(parameters.platform, 'linux_arm64') }}:
- ${{ if eq(variables['System.TeamProject'], 'public') }}:
- AzureLinux.3.Arm64.Open
- ${{ if eq(variables['System.TeamProject'], 'internal') }}:
- AzureLinux.3.Arm64
# Linux musl x64
- ${{ if eq(parameters.platform, 'linux_musl_x64') }}:
- ${{ if eq(variables['System.TeamProject'], 'public') }}:
- (Alpine.324.Amd64.Open)AzureLinux.3.Amd64.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:alpine-3.24-helix-amd64@sha256:240788457ec91460a35f6aa8d70bc1aaa7d1347d211fc5f5c0b35f648a33d7bd
- ${{ if eq(variables['System.TeamProject'], 'internal') }}:
- (Alpine.324.Amd64)AzureLinux.3.Amd64@mcr.microsoft.com/dotnet-buildtools/prereqs:alpine-3.24-helix-amd64@sha256:240788457ec91460a35f6aa8d70bc1aaa7d1347d211fc5f5c0b35f648a33d7bd
# Linux musl arm32
- ${{ if eq(parameters.platform, 'linux_musl_arm') }}:
- ${{ if eq(variables['System.TeamProject'], 'public') }}:
- (Alpine.324.Arm32.Open)AzureLinux.3.Arm64.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:alpine-3.24-helix-arm32v7@sha256:f4e3341b4234c06cf751287bf429702bbaccc7fc7cf3419ac49bec318513857f
- ${{ if eq(variables['System.TeamProject'], 'internal') }}:
- (Alpine.324.Arm32)AzureLinux.3.Arm64@mcr.microsoft.com/dotnet-buildtools/prereqs:alpine-3.24-helix-arm32v7@sha256:f4e3341b4234c06cf751287bf429702bbaccc7fc7cf3419ac49bec318513857f
# Linux musl arm64
- ${{ if eq(parameters.platform, 'linux_musl_arm64') }}:
- ${{ if eq(variables['System.TeamProject'], 'public') }}:
- (Alpine.324.Arm64.Open)AzureLinux.3.Arm64.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:alpine-3.24-helix-arm64v8@sha256:c0651a184147638e54b2f6a3c8f040274b1bf2deb0bf3e5c4513824598497ae0
- ${{ if eq(variables['System.TeamProject'], 'internal') }}:
- (Alpine.324.Arm64)AzureLinux.3.Arm64@mcr.microsoft.com/dotnet-buildtools/prereqs:alpine-3.24-helix-arm64v8@sha256:c0651a184147638e54b2f6a3c8f040274b1bf2deb0bf3e5c4513824598497ae0
# Linux x64
- ${{ if eq(parameters.platform, 'linux_x64') }}:
- ${{ if eq(variables['System.TeamProject'], 'public') }}:
- AzureLinux.3.Amd64.Open
- ${{ if eq(variables['System.TeamProject'], 'internal') }}:
- AzureLinux.3.Amd64
# OSX arm64
- ${{ if eq(parameters.platform, 'osx_arm64') }}:
- ${{ if eq(variables['System.TeamProject'], 'public') }}:
- $(helix_macos_arm64)
- ${{ if eq(variables['System.TeamProject'], 'internal') }}:
- $(helix_macos_arm64_latest_internal)
# OSX x64
- ${{ if eq(parameters.platform, 'osx_x64') }}:
- ${{ if eq(variables['System.TeamProject'], 'public') }}:
- $(helix_macos_x64)
- ${{ if eq(variables['System.TeamProject'], 'internal') }}:
- $(helix_macos_x64_latest_internal)
# windows x64
- ${{ if eq(parameters.platform, 'windows_x64') }}:
- ${{ if and(eq(variables['System.TeamProject'], 'public'), ne(parameters.jobParameters.helixQueueGroup, 'cet')) }}:
- Windows.Amd64.Open.rt
- ${{ if and(eq(variables['System.TeamProject'], 'public'), eq(parameters.jobParameters.helixQueueGroup, 'cet')) }}:
- Windows.11.Amd64.Cet.Open
- ${{ if eq(variables['System.TeamProject'], 'internal') }}:
- Windows.Amd64.rt
# windows x86
- ${{ if eq(parameters.platform, 'windows_x86') }}:
- ${{ if eq(variables['System.TeamProject'], 'public') }}:
- Windows.Amd64.Open.rt
- ${{ if eq(variables['System.TeamProject'], 'internal') }}:
- Windows.10.Amd64.X86.Rt
# windows arm64
- ${{ if eq(parameters.platform, 'windows_arm64') }}:
- ${{ if eq(variables['System.TeamProject'], 'public') }}:
- Windows.11.Arm64.Open
- ${{ if eq(variables['System.TeamProject'], 'internal') }}:
- Windows.11.Arm64
${{ insert }}: ${{ parameters.jobParameters }}