Skip to content

Commit 79edde9

Browse files
[Security Solution][Investigations] - update list of dependencies to run cypress tests (elastic#198586)
## Summary This PR updates the list of dependencies that need to be watched to trigger the Cypress tests for the Threat Hunting Investigations team. The list is unfortunately not exhaustive. I went through all the imports in the following folders: - `/packages/kbn-expandable-flyout` - `/x-pack/plugins/security_solution/public/timelines` - `/x-pack/plugins/security_solution/public/flyout` - `/x-pack/plugins/security_solution/public/notes` I did not go through the `/x-pack/plugins/security_solution/public/common` as they were way too many files... Also I did not go through the dependencies of all of our listed dependencies as this would take days... It is an improvement on what we've had until now though, and should protect us from outside code being changed! elastic/security-team#10579
1 parent 494a1df commit 79edde9

File tree

1 file changed

+28
-3
lines changed

1 file changed

+28
-3
lines changed

.buildkite/scripts/pipelines/pull_request/pipeline.ts

Lines changed: 28 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -255,18 +255,43 @@ const getPipeline = (filename: string, removeSteps = true) => {
255255
if (
256256
(await doAnyChangesMatch([
257257
/^package.json/,
258+
/^packages\/kbn-discover-utils/,
258259
/^packages\/kbn-doc-links/,
260+
/^packages\/kbn-dom-drag-drop/,
259261
/^packages\/kbn-es-query/,
260-
/^packages\/kbn-i18n-react/,
261262
/^packages\/kbn-i18n/,
263+
/^packages\/kbn-i18n-react/,
262264
/^packages\/kbn-expandable-flyout/,
265+
/^packages\/kbn-grouping/,
266+
/^packages\/kbn-resizable-layout/,
267+
/^packages\/kbn-rison/,
268+
/^packages\/kbn-rule-data-utils/,
269+
/^packages\/kbn-safer-lodash-set/,
270+
/^packages\/kbn-search-types/,
263271
/^packages\/kbn-securitysolution-.*/,
272+
/^packages\/kbn-securitysolution-ecs/,
273+
/^packages\/kbn-securitysolution-io-ts-alerting-types/,
264274
/^packages\/kbn-securitysolution-io-ts-list-types/,
275+
/^packages\/kbn-securitysolution-list-hooks/,
276+
/^packages\/kbn-securitysolution-t-grid/,
277+
/^packages\/kbn-ui-theme/,
278+
/^packages\/kbn-utility-types/,
279+
/^packages\/react/,
265280
/^packages\/shared-ux/,
266281
/^src\/core/,
282+
/^src\/plugins\/charts/,
283+
/^src\/plugins\/controls/,
267284
/^src\/plugins\/data/,
268-
/^src\/plugins\/kibana_utils/,
285+
/^src\/plugins\/data_views/,
286+
/^src\/plugins\/discover/,
287+
/^src\/plugins\/field_formats/,
269288
/^src\/plugins\/inspector/,
289+
/^src\/plugins\/kibana_react/,
290+
/^src\/plugins\/kibana_utils/,
291+
/^src\/plugins\/saved_search/,
292+
/^src\/plugins\/ui_actions/,
293+
/^src\/plugins\/unified_histogram/,
294+
/^src\/plugins\/unified_search/,
270295
/^x-pack\/packages\/kbn-elastic-assistant/,
271296
/^x-pack\/packages\/kbn-elastic-assistant-common/,
272297
/^x-pack\/packages\/security-solution/,
@@ -282,7 +307,7 @@ const getPipeline = (filename: string, removeSteps = true) => {
282307
/^x-pack\/plugins\/task_manager/,
283308
/^x-pack\/plugins\/threat_intelligence/,
284309
/^x-pack\/plugins\/timelines/,
285-
/^x-pack\/plugins\/triggers_actions_ui\/public\/application\/sections\/alerts_table/,
310+
/^x-pack\/plugins\/triggers_actions_ui/,
286311
/^x-pack\/plugins\/usage_collection\/public/,
287312
/^x-pack\/test\/functional\/es_archives\/security_solution/,
288313
/^x-pack\/test\/security_solution_cypress/,

0 commit comments

Comments
 (0)