-
Notifications
You must be signed in to change notification settings - Fork 272
/
helix.yml
160 lines (145 loc) · 4.45 KB
/
helix.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
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
jobs:
run_performance_job:
runId: 'dotnetperf'
isConsoleApp: true
waitForExit: true
variables:
architecture: 'x64'
queue: ''
framework: 'net8.0'
runCategories: ''
kind: ''
runtimeRepoDir: '../runtime' # A guess that the performance repo is next to the runtime repo
osGroup: 'windows'
osSubGroup: ''
coreRootDir: '{{ runtimeRepoDir }}/artifacts/tests/coreclr/{{ osGroup }}.{{ architecture }}.Release/Tests/Core_Root'
performanceRepoDir: '.'
runName: '{{ buildNumber }}-testing'
buildNumber: 'local'
buildSourceVersion: 'abc123'
buildSourceBranch: 'main'
internal: true
bdnArgs: ''
partitionCount: 5
projectFile: 'performance/eng/performance/helix.proj'
isScenario: false
isLocalBuild: true
sources:
coreRoot:
localFolder: '{{ coreRootDir }}'
performance:
localFolder: '{{ performanceRepoDir }}'
dockerfile: performance/eng/performance/helix_sender.Dockerfile
dockerImageName: helix_sender
dockerCommand: python ./performance/scripts/run_performance_job.py --queue {{ queue }} --framework {{ framework }} --run-kind {{ kind }} --core-root-dir /performance/coreRoot --performance-repo-dir /performance/performance --architecture {{ architecture }} --os-group {{ osGroup }} --os-sub-group {{ osSubGroup }} {% if internal %}--internal{% endif %} --run-categories "{{ runCategories }}" {% if bdnArgs != blank and bdnArgs != empty %} --extra-bdn-args "{{ bdnArgs }}" {% endif %} --partition-count {{ partitionCount }} --project-file {{ projectFile }} {% if isScenario %} --is-scenario {% endif %} {% if isLocalBuild %} --local-build {% endif %}
dockerContextDirectory: .
arguments: '--env HelixAccessToken --env SYSTEM_ACCESSTOKEN --env PerfCommandUploadToken --env PerfCommandUploadTokenLinux'
environmentVariables:
BUILD_BUILDNUMBER: '{{ buildNumber }}'
BUILD_SOURCEVERSION: '{{ buildSourceVersion }}'
BUILD_SOURCEBRANCH: '{{ buildSourceBranch }}'
BUILD_REPOSITORY_NAME: 'dotnet/performance'
SYSTEM_TEAMPROJECT: 'internal'
BUILD_REASON: 'manual'
PERFLAB_RUNNAME: '{{ runName }}'
scenarios:
micro:
benchmark:
job: run_performance_job
variables:
kind: 'micro'
runCategories: 'runtime libraries'
scenarios:
benchmark:
job: run_performance_job
variables:
kind: scenarios
isScenario: true
projectFile: 'performance/eng/performance/scenarios.proj'
profiles:
local:
jobs:
benchmark:
endpoints:
- http://localhost:5010
msft-internal:
jobs:
benchmark:
endpoints:
- http://dotnetperf-crankagent:5001
relay:
jobs:
benchmark:
endpoints:
- https://dotnetperf-crankagent-relay.servicebus.windows.net/dotnetperf-crankagent
win-x64-public:
jobs:
benchmark:
variables:
osGroup: windows
queue: Windows.10.Amd64.Client.Open
internal: false
win-x64:
jobs:
benchmark:
variables:
osGroup: windows
queue: Windows.11.Amd64.Tiger.Perf
win-x64-android-arm64-pixel:
jobs:
benchmark:
variables:
osGroup: windows
queue: Windows.11.Amd64.Pixel.Perf
win-x64-android-arm64-galaxy:
jobs:
benchmark:
variables:
osGroup: windows
queue: Windows.10.Amd64.Galaxy.Perf
win-arm64:
jobs:
benchmark:
variables:
osGroup: windows
architecture: arm64
queue: Windows.11.Arm64.Surf.Perf
win-arm64-ampere:
jobs:
benchmark:
variables:
osGroup: windows
architecture: arm64
queue: Windows.Server.Arm64.Perf
ubuntu-x64-public:
jobs:
benchmark:
variables:
osGroup: linux
queue: Ubuntu.2204.Amd64.Open
internal: false
ubuntu-x64:
jobs:
benchmark:
variables:
osGroup: linux
queue: Ubuntu.2204.Amd64.Tiger.Perf
ubuntu-arm64-ampere:
jobs:
benchmark:
variables:
osGroup: linux
architecture: arm64
queue: Ubuntu.2204.Arm64.Perf
osx-x64-ios-arm64:
jobs:
benchmark:
variables:
osGroup: osx
queue: OSX.13.Amd64.Iphone.Perf
alpine:
jobs:
benchmark:
variables:
osGroup: linux
queue: alpine.amd64.tiger.perf