Skip to content

Commit

Permalink
[Security Solution] Updating investigations dependencies (#174013)
Browse files Browse the repository at this point in the history
## Summary

After a conversation with @michaelolo24 we found out that:
- We were missing a dependency for the investigations team
- Not all the dependencies added in
#173815 apply to the
investigations team

In this PR we are adding a new conditional for the investigations team
execution with the aim of having more granularity and more accurate
dependencies.

---------

Co-authored-by: Jon <jon@budzenski.me>
  • Loading branch information
MadameSheema and jbudz authored Dec 28, 2023
1 parent 0d86b40 commit bf8f721
Showing 1 changed file with 27 additions and 2 deletions.
29 changes: 27 additions & 2 deletions .buildkite/scripts/pipelines/pull_request/pipeline.ts
Original file line number Diff line number Diff line change
Expand Up @@ -233,10 +233,35 @@ const uploadPipeline = (pipelineContent: string | object) => {
);
pipeline.push(getPipeline('.buildkite/pipelines/pull_request/security_solution/explore.yml'));
pipeline.push(
getPipeline('.buildkite/pipelines/pull_request/security_solution/investigations.yml')
getPipeline('.buildkite/pipelines/pull_request/security_solution/rule_management.yml')
);
}

if (
(await doAnyChangesMatch([
/^package.json/,
/^packages\/kbn-securitysolution-.*/,
/^x-pack\/plugins\/alerting/,
/^x-pack\/plugins\/data_views\/common/,
/^x-pack\/plugins\/lists/,
/^x-pack\/plugins\/rule_registry\/common/,
/^x-pack\/plugins\/security_solution/,
/^x-pack\/plugins\/security_solution_ess/,
/^x-pack\/plugins\/security_solution_serverless/,
/^x-pack\/plugins\/task_manager/,
/^x-pack\/plugins\/timelines/,
/^x-pack\/plugins\/triggers_actions_ui\/public\/application\/sections\/alerts_table/,
/^x-pack\/plugins\/usage_collection\/public/,
/^x-pack\/plugins\/elastic_assistant/,
/^x-pack\/packages\/security-solution/,
/^x-pack\/packages\/kbn-elastic-assistant/,
/^x-pack\/packages\/kbn-elastic-assistant-common/,
/^x-pack\/test\/security_solution_cypress/,
])) ||
GITHUB_PR_LABELS.includes('ci:all-cypress-suites')
) {
pipeline.push(
getPipeline('.buildkite/pipelines/pull_request/security_solution/rule_management.yml')
getPipeline('.buildkite/pipelines/pull_request/security_solution/investigations.yml')
);
}

Expand Down

0 comments on commit bf8f721

Please sign in to comment.