forked from elastic/kibana
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbase.yml
More file actions
229 lines (216 loc) · 6.27 KB
/
base.yml
File metadata and controls
229 lines (216 loc) · 6.27 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
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
env:
KBN_ES_SNAPSHOT_USE_CACHED: 'true'
steps:
- command: .buildkite/scripts/steps/build_kibana.sh
label: Build Kibana Distribution
agents:
machineType: c4d-standard-16
diskType: hyperdisk-balanced
zones: us-central1-a,us-central1-b,us-central1-c
diskSizeGb: 200
key: build
# [rspack-transition] Original condition (restore when legacy optimizer is removed):
# if: "build.env('KIBANA_BUILD_ID') == null || build.env('KIBANA_BUILD_ID') == ''"
timeout_in_minutes: 60
retry:
automatic:
- exit_status: '-1'
limit: 3
# [rspack-transition] Verify the Rspack optimizer can build all bundles
# successfully. Skipped when ci:build-with-rspack-optimizer is set because
# the main Build Kibana Distribution step already uses Rspack.
- command: .buildkite/scripts/steps/verify_rspack_build.sh
label: 'Verify Rspack Optimizer Build'
if: "build.env('GITHUB_PR_LABELS') !~ /ci:build-with-rspack-optimizer/"
agents:
machineType: n2d-standard-8
preemptible: true
spotZones: us-central1-b,us-central1-c,us-central1-f
diskSizeGb: 200
key: verify_rspack_build
timeout_in_minutes: 60
plugins:
- custom-checkout#v1.8.0:
skip_checkout: true
repos:
- url: git@github.com:elastic/kibana.git
mirror_url: /opt/git-mirrors/git-github-com-elastic-kibana-git
ref: "${BUILDKITE_COMMIT}"
fetch: true
clone_flags:
- '--depth=1'
- '--no-tags'
- '--single-branch'
fetch_flags:
- '--depth=1'
- '--no-tags'
retry:
automatic:
- exit_status: '-1'
limit: 3
- command: .buildkite/scripts/steps/quick_checks.sh
label: 'Quick Checks'
agents:
machineType: n2d-standard-8
preemptible: true
spotZones: us-central1-b,us-central1-c,us-central1-f
diskSizeGb: 105
key: quick_checks
timeout_in_minutes: 60
env:
CHECK_GATE: 'true'
retry:
automatic:
- exit_status: '-1'
limit: 3
- command: .buildkite/scripts/steps/checks.sh
label: 'Checks'
key: checks
env:
CHECK_GATE: 'true'
agents:
machineType: n2d-standard-2
preemptible: true
spotZones: us-central1-b,us-central1-c,us-central1-f
diskSizeGb: 105
timeout_in_minutes: 60
retry:
automatic:
- exit_status: '-1'
limit: 3
- command: .buildkite/scripts/steps/lint.sh
label: 'Linting'
agents:
machineType: n2d-standard-16
preemptible: true
spotZones: us-central1-b,us-central1-c,us-central1-f
diskSizeGb: 105
key: linting
timeout_in_minutes: 60
env:
CHECK_GATE: 'true'
retry:
automatic:
- exit_status: '-1'
limit: 3
- command: .buildkite/scripts/steps/lint_with_types.sh
label: 'Linting (with types)'
agents:
machineType: n2d-standard-32
preemptible: true
spotZones: us-central1-b,us-central1-c,us-central1-f
diskSizeGb: 105
key: linting_with_types
timeout_in_minutes: 60
env:
CHECK_GATE: 'true'
retry:
automatic:
- exit_status: '-1'
limit: 3
- command: .buildkite/scripts/steps/lint_with_oxlint.sh
label: 'Linting (with oxlint)'
agents:
machineType: n2d-standard-16
preemptible: true
spotZones: us-central1-b,us-central1-c
diskSizeGb: 105
key: linting_with_oxlint
timeout_in_minutes: 60
env:
CHECK_GATE: 'true'
retry:
automatic:
- exit_status: '-1'
limit: 3
- command: .buildkite/scripts/steps/checks/capture_oas_snapshot.sh
label: 'Check OAS Snapshot'
agents:
machineType: n2d-standard-2
preemptible: true
spotZones: us-central1-b,us-central1-c,us-central1-f
key: check_oas_snapshot
depends_on:
- build
timeout_in_minutes: 60
env:
CHECK_GATE: 'true'
retry:
automatic:
- exit_status: '-1'
limit: 3
- command: .buildkite/scripts/steps/typecheck/check_types.sh
label: 'Check Types'
agents:
machineType: c3d-standard-8-lssd
preemptible: true
spotZones: us-central1-b,us-central1-c,us-central1-f
diskSizeGb: 105
key: check_types
timeout_in_minutes: 60
env:
CHECK_GATE: 'true'
retry:
automatic:
- exit_status: '-1'
limit: 3
- command: .buildkite/scripts/steps/test/pick_test_group_run_order.sh
label: 'Pick Test Group Run Order'
key: pick_test_group_run_order
agents:
machineType: n2-standard-2
diskSizeGb: 115
timeout_in_minutes: 15
env:
JEST_UNIT_SCRIPT: '.buildkite/scripts/steps/test/jest.sh'
JEST_INTEGRATION_SCRIPT: '.buildkite/scripts/steps/test/jest_integration.sh'
FTR_CONFIGS_SCRIPT: '.buildkite/scripts/steps/test/ftr_configs.sh'
FTR_CONFIGS_DEPS: 'build'
retry:
automatic:
- exit_status: '*'
limit: 1
- command: .buildkite/scripts/steps/test/scout/test_run_builder.sh
label: 'Scout Test Run Builder'
agents:
machineType: n2d-standard-8
key: build_scout_tests
timeout_in_minutes: 20
env:
SCOUT_TEST_DISTRIBUTION_STRATEGY: 'lanes'
SCOUT_TEST_LANES_GROUP_DEPS: 'build_scout_tests,build'
SCOUT_TEST_SERVER_START_TIMEOUT_SECONDS: 300
SCOUT_TEST_LANE_ESTIMATED_SETUP_MINUTES: 5
SCOUT_TEST_LANE_TARGET_RUNTIME_MINUTES: 20
SELECTIVE_TESTING_ENABLED: 'true'
retry:
automatic:
- exit_status: '*'
limit: 1
- command: .buildkite/scripts/steps/ci_stats_ready.sh
label: Mark CI Stats as ready
agents:
machineType: n2-standard-2
key: ci_stats_ready
timeout_in_minutes: 10
depends_on:
- build
- build_api_docs
retry:
automatic:
- exit_status: '*'
limit: 1
- command: .buildkite/scripts/steps/api_docs/build_api_docs.sh
label: 'Build API Docs'
agents:
machineType: c4d-highmem-4
diskType: hyperdisk-balanced
preemptible: true
spotZones: us-central1-a,us-central1-b,us-central1-c
diskSizeGb: 105
key: build_api_docs
timeout_in_minutes: 60
retry:
automatic:
- exit_status: '-1'
limit: 3