-
Notifications
You must be signed in to change notification settings - Fork 12
/
azure-pipelines-gitTests.yml
86 lines (81 loc) · 1.99 KB
/
azure-pipelines-gitTests.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
parameters:
- name: POST_RESULT
displayName: Post GitHub issue with results
type: boolean
default: true
- name: DIAGNOSTIC_OUTPUT
displayName: Log diagnostic data
type: boolean
default: false
- name: REPO_COUNT
displayName: Repo Count
type: number
default: 800
- name: REPO_START_INDEX
displayName: Repo Start Index
type: number
default: 0
- name: OLD_VERSION
displayName: Baseline TypeScript package version
type: string
default: latest
- name: NEW_VERSION
displayName: Candidate TypeScript package version
type: string
default: next
- name: MACHINE_COUNT
displayName: Machine Count
type: number
default: 16
values:
- 1
- 2
- 4
- 8
- 16
- name: ENTRYPOINT
displayName: TypeScript entrypoint
type: string
default: tsc
values:
- tsc
- tsserver
- name: LANGUAGE
displayName: Language of repos on GitHub (tsserver only)
type: string
default: TypeScript
values:
- TypeScript
- JavaScript
- name: PRNG_SEED
displayName: Pseudo-random number generator seed
type: string
default: 'n/a'
schedules:
- cron: "0 17 * * Sun" # time is in UTC
displayName: Sunday overnight run
always: true
branches:
include:
- main
pr: none
trigger: none
pool:
name: TypeScript-1ES-Large
vmImage: ubuntu-22.04
variables:
Codeql.Enabled: false
skipComponentGovernanceDetection: true
extends:
template: azure-pipelines-gitTests-template.yml
parameters:
POST_RESULT: ${{ parameters.POST_RESULT }}
DIAGNOSTIC_OUTPUT: ${{ parameters.DIAGNOSTIC_OUTPUT }}
REPO_COUNT: ${{ parameters.REPO_COUNT }}
REPO_START_INDEX: ${{ parameters.REPO_START_INDEX }}
OLD_VERSION: ${{ parameters.OLD_VERSION }}
NEW_VERSION: ${{ parameters.NEW_VERSION }}
MACHINE_COUNT: ${{ parameters.MACHINE_COUNT }}
ENTRYPOINT: ${{ parameters.ENTRYPOINT }}
LANGUAGE: ${{ parameters.LANGUAGE }}
PRNG_SEED: ${{ parameters.PRNG_SEED }}