Skip to content

Commit

Permalink
[8.x] [Security Solution][Investigations] - update list of dependenci…
Browse files Browse the repository at this point in the history
…es to run cypress tests (#198586) (#198706)

# Backport

This will backport the following commits from `main` to `8.x`:
- [[Security Solution][Investigations] - update list of dependencies to
run cypress tests
(#198586)](#198586)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Philippe
Oberti","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-11-01T17:11:22Z","message":"[Security
Solution][Investigations] - update list of dependencies to run cypress
tests (#198586)\n\n## Summary\r\n\r\nThis PR updates the list of
dependencies that need to be watched to\r\ntrigger the Cypress tests for
the Threat Hunting Investigations team.\r\nThe list is unfortunately not
exhaustive. I went through all the imports\r\nin the following
folders:\r\n- `/packages/kbn-expandable-flyout`\r\n-
`/x-pack/plugins/security_solution/public/timelines`\r\n-
`/x-pack/plugins/security_solution/public/flyout`\r\n-
`/x-pack/plugins/security_solution/public/notes`\r\n\r\nI did not go
through the\r\n`/x-pack/plugins/security_solution/public/common` as they
were way too\r\nmany files... Also I did not go through the dependencies
of all of our\r\nlisted dependencies as this would take
days...\r\n\r\nIt is an improvement on what we've had until now though,
and should\r\nprotect us from outside code being
changed!\r\n\r\nhttps://github.com/elastic/security-team/issues/10579","sha":"79edde95676ac629c8ae020beff921d3673345df","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","Team:Threat
Hunting:Investigations","backport:version","v8.17.0"],"title":"[Security
Solution][Investigations] - update list of dependencies to run cypress
tests","number":198586,"url":"https://github.com/elastic/kibana/pull/198586","mergeCommit":{"message":"[Security
Solution][Investigations] - update list of dependencies to run cypress
tests (#198586)\n\n## Summary\r\n\r\nThis PR updates the list of
dependencies that need to be watched to\r\ntrigger the Cypress tests for
the Threat Hunting Investigations team.\r\nThe list is unfortunately not
exhaustive. I went through all the imports\r\nin the following
folders:\r\n- `/packages/kbn-expandable-flyout`\r\n-
`/x-pack/plugins/security_solution/public/timelines`\r\n-
`/x-pack/plugins/security_solution/public/flyout`\r\n-
`/x-pack/plugins/security_solution/public/notes`\r\n\r\nI did not go
through the\r\n`/x-pack/plugins/security_solution/public/common` as they
were way too\r\nmany files... Also I did not go through the dependencies
of all of our\r\nlisted dependencies as this would take
days...\r\n\r\nIt is an improvement on what we've had until now though,
and should\r\nprotect us from outside code being
changed!\r\n\r\nhttps://github.com/elastic/security-team/issues/10579","sha":"79edde95676ac629c8ae020beff921d3673345df"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/198586","number":198586,"mergeCommit":{"message":"[Security
Solution][Investigations] - update list of dependencies to run cypress
tests (#198586)\n\n## Summary\r\n\r\nThis PR updates the list of
dependencies that need to be watched to\r\ntrigger the Cypress tests for
the Threat Hunting Investigations team.\r\nThe list is unfortunately not
exhaustive. I went through all the imports\r\nin the following
folders:\r\n- `/packages/kbn-expandable-flyout`\r\n-
`/x-pack/plugins/security_solution/public/timelines`\r\n-
`/x-pack/plugins/security_solution/public/flyout`\r\n-
`/x-pack/plugins/security_solution/public/notes`\r\n\r\nI did not go
through the\r\n`/x-pack/plugins/security_solution/public/common` as they
were way too\r\nmany files... Also I did not go through the dependencies
of all of our\r\nlisted dependencies as this would take
days...\r\n\r\nIt is an improvement on what we've had until now though,
and should\r\nprotect us from outside code being
changed!\r\n\r\nhttps://github.com/elastic/security-team/issues/10579","sha":"79edde95676ac629c8ae020beff921d3673345df"}},{"branch":"8.x","label":"v8.17.0","branchLabelMappingKey":"^v8.17.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Philippe Oberti <[email protected]>
  • Loading branch information
kibanamachine and PhilippeOberti authored Nov 1, 2024
1 parent 2700ef1 commit d0a6118
Showing 1 changed file with 28 additions and 3 deletions.
31 changes: 28 additions & 3 deletions .buildkite/scripts/pipelines/pull_request/pipeline.ts
Original file line number Diff line number Diff line change
Expand Up @@ -255,18 +255,43 @@ const getPipeline = (filename: string, removeSteps = true) => {
if (
(await doAnyChangesMatch([
/^package.json/,
/^packages\/kbn-discover-utils/,
/^packages\/kbn-doc-links/,
/^packages\/kbn-dom-drag-drop/,
/^packages\/kbn-es-query/,
/^packages\/kbn-i18n-react/,
/^packages\/kbn-i18n/,
/^packages\/kbn-i18n-react/,
/^packages\/kbn-expandable-flyout/,
/^packages\/kbn-grouping/,
/^packages\/kbn-resizable-layout/,
/^packages\/kbn-rison/,
/^packages\/kbn-rule-data-utils/,
/^packages\/kbn-safer-lodash-set/,
/^packages\/kbn-search-types/,
/^packages\/kbn-securitysolution-.*/,
/^packages\/kbn-securitysolution-ecs/,
/^packages\/kbn-securitysolution-io-ts-alerting-types/,
/^packages\/kbn-securitysolution-io-ts-list-types/,
/^packages\/kbn-securitysolution-list-hooks/,
/^packages\/kbn-securitysolution-t-grid/,
/^packages\/kbn-ui-theme/,
/^packages\/kbn-utility-types/,
/^packages\/react/,
/^packages\/shared-ux/,
/^src\/core/,
/^src\/plugins\/charts/,
/^src\/plugins\/controls/,
/^src\/plugins\/data/,
/^src\/plugins\/kibana_utils/,
/^src\/plugins\/data_views/,
/^src\/plugins\/discover/,
/^src\/plugins\/field_formats/,
/^src\/plugins\/inspector/,
/^src\/plugins\/kibana_react/,
/^src\/plugins\/kibana_utils/,
/^src\/plugins\/saved_search/,
/^src\/plugins\/ui_actions/,
/^src\/plugins\/unified_histogram/,
/^src\/plugins\/unified_search/,
/^x-pack\/packages\/kbn-elastic-assistant/,
/^x-pack\/packages\/kbn-elastic-assistant-common/,
/^x-pack\/packages\/security-solution/,
Expand All @@ -282,7 +307,7 @@ const getPipeline = (filename: string, removeSteps = true) => {
/^x-pack\/plugins\/task_manager/,
/^x-pack\/plugins\/threat_intelligence/,
/^x-pack\/plugins\/timelines/,
/^x-pack\/plugins\/triggers_actions_ui\/public\/application\/sections\/alerts_table/,
/^x-pack\/plugins\/triggers_actions_ui/,
/^x-pack\/plugins\/usage_collection\/public/,
/^x-pack\/test\/functional\/es_archives\/security_solution/,
/^x-pack\/test\/security_solution_cypress/,
Expand Down

0 comments on commit d0a6118

Please sign in to comment.