-
Notifications
You must be signed in to change notification settings - Fork 752
Expand file tree
/
Copy pathprofiling.yml
More file actions
60 lines (58 loc) · 1.67 KB
/
profiling.yml
File metadata and controls
60 lines (58 loc) · 1.67 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
trigger: none
pr: none
schedules:
- cron: '18 1 * * *' # every day at 1:18 AM
displayName: Periodic profiling run
branches:
include:
- main
variables:
- name: TRACE_DROP_LOCATION
value: $(Build.SourcesDirectory)/out/profiling/
- name: MERGED_TRACE_LOCATION
value: $(Build.SourcesDirectory)/out/profiling/merged/
- name: LOGS_DIRECTORY
value: $(Build.SourcesDirectory)/out/logs/
resources:
repositories:
- repository: 1ESPipelineTemplates
type: git
name: 1ESPipelineTemplates/1ESPipelineTemplates
ref: refs/tags/release
extends:
template: v1/1ES.Official.PipelineTemplate.yml@1ESPipelineTemplates
parameters:
sdl:
sourceAnalysisPool:
name: netcore1espool-internal
image: 1es-windows-2022
os: windows
stages:
- stage: Run_Profiling
displayName: Run Profiling
variables:
ROSLYN_SKIP_TEST_FILE_BASED_PROGRAMS: 'true'
jobs:
- job: Profile
pool:
name: netcore1espool-internal
image: 1es-ubuntu-2204
os: linux
templateContext:
outputs:
- output: pipelineArtifact
targetPath: $(TRACE_DROP_LOCATION)
artifactName: traces
displayName: 📢 Publish intermediate trace files
condition: failed()
- output: pipelineArtifact
targetPath: $(MERGED_TRACE_LOCATION)
artifactName: merged mibc
displayName: 📢 Publish merged MIBC
steps:
- template: /azure-pipelines/test.yml@self
parameters:
installDotNet: true
npmCommand: profiling
testVSCodeVersion: insiders
isIntegration: true