From e34d9a632344c97063a40dfaf7efe148a45d690f Mon Sep 17 00:00:00 2001 From: Gloria Hornero Date: Thu, 21 Dec 2023 11:55:30 +0100 Subject: [PATCH] addressing comment --- .../{ => security_solution}/ai_assistant.yml | 0 .../{ => security_solution}/cypress_burn.yml | 0 .../defend_workflows.yml | 0 .../detection_engine.yml | 0 .../entity_analytics.yml | 0 .../{ => security_solution}/explore.yml | 0 .../rule_management.yml | 0 .../pipelines/pull_request/pipeline.ts | 30 ++++++++++++++----- 8 files changed, 22 insertions(+), 8 deletions(-) rename .buildkite/pipelines/pull_request/{ => security_solution}/ai_assistant.yml (100%) rename .buildkite/pipelines/pull_request/{ => security_solution}/cypress_burn.yml (100%) rename .buildkite/pipelines/pull_request/{ => security_solution}/defend_workflows.yml (100%) rename .buildkite/pipelines/pull_request/{ => security_solution}/detection_engine.yml (100%) rename .buildkite/pipelines/pull_request/{ => security_solution}/entity_analytics.yml (100%) rename .buildkite/pipelines/pull_request/{ => security_solution}/explore.yml (100%) rename .buildkite/pipelines/pull_request/{ => security_solution}/rule_management.yml (100%) diff --git a/.buildkite/pipelines/pull_request/ai_assistant.yml b/.buildkite/pipelines/pull_request/security_solution/ai_assistant.yml similarity index 100% rename from .buildkite/pipelines/pull_request/ai_assistant.yml rename to .buildkite/pipelines/pull_request/security_solution/ai_assistant.yml diff --git a/.buildkite/pipelines/pull_request/cypress_burn.yml b/.buildkite/pipelines/pull_request/security_solution/cypress_burn.yml similarity index 100% rename from .buildkite/pipelines/pull_request/cypress_burn.yml rename to .buildkite/pipelines/pull_request/security_solution/cypress_burn.yml diff --git a/.buildkite/pipelines/pull_request/defend_workflows.yml b/.buildkite/pipelines/pull_request/security_solution/defend_workflows.yml similarity index 100% rename from .buildkite/pipelines/pull_request/defend_workflows.yml rename to .buildkite/pipelines/pull_request/security_solution/defend_workflows.yml diff --git a/.buildkite/pipelines/pull_request/detection_engine.yml b/.buildkite/pipelines/pull_request/security_solution/detection_engine.yml similarity index 100% rename from .buildkite/pipelines/pull_request/detection_engine.yml rename to .buildkite/pipelines/pull_request/security_solution/detection_engine.yml diff --git a/.buildkite/pipelines/pull_request/entity_analytics.yml b/.buildkite/pipelines/pull_request/security_solution/entity_analytics.yml similarity index 100% rename from .buildkite/pipelines/pull_request/entity_analytics.yml rename to .buildkite/pipelines/pull_request/security_solution/entity_analytics.yml diff --git a/.buildkite/pipelines/pull_request/explore.yml b/.buildkite/pipelines/pull_request/security_solution/explore.yml similarity index 100% rename from .buildkite/pipelines/pull_request/explore.yml rename to .buildkite/pipelines/pull_request/security_solution/explore.yml diff --git a/.buildkite/pipelines/pull_request/rule_management.yml b/.buildkite/pipelines/pull_request/security_solution/rule_management.yml similarity index 100% rename from .buildkite/pipelines/pull_request/rule_management.yml rename to .buildkite/pipelines/pull_request/security_solution/rule_management.yml diff --git a/.buildkite/scripts/pipelines/pull_request/pipeline.ts b/.buildkite/scripts/pipelines/pull_request/pipeline.ts index 2506566a5672e..8e623344614e7 100644 --- a/.buildkite/scripts/pipelines/pull_request/pipeline.ts +++ b/.buildkite/scripts/pipelines/pull_request/pipeline.ts @@ -176,7 +176,9 @@ const uploadPipeline = (pipelineContent: string | object) => { GITHUB_PR_LABELS.includes('ci:cypress-burn') || GITHUB_PR_LABELS.includes('ci:all-cypress-suites') ) { - pipeline.push(getPipeline('.buildkite/pipelines/pull_request/cypress_burn.yml')); + pipeline.push( + getPipeline('.buildkite/pipelines/pull_request/security_solution/cypress_burn.yml') + ); } if ( @@ -189,7 +191,9 @@ const uploadPipeline = (pipelineContent: string | object) => { ])) || GITHUB_PR_LABELS.includes('ci:all-cypress-suites') ) { - pipeline.push(getPipeline('.buildkite/pipelines/pull_request/defend_workflows.yml')); + pipeline.push( + getPipeline('.buildkite/pipelines/pull_request/security_solution/defend_workflows.yml') + ); } if ( @@ -212,12 +216,22 @@ const uploadPipeline = (pipelineContent: string | object) => { ])) || GITHUB_PR_LABELS.includes('ci:all-cypress-suites') ) { - pipeline.push(getPipeline('.buildkite/pipelines/pull_request/ai_assistant.yml')); - pipeline.push(getPipeline('.buildkite/pipelines/pull_request/detection_engine.yml')); - pipeline.push(getPipeline('.buildkite/pipelines/pull_request/entity_analytics.yml')); - pipeline.push(getPipeline('.buildkite/pipelines/pull_request/explore.yml')); - pipeline.push(getPipeline('.buildkite/pipelines/pull_request/investigations.yml')); - pipeline.push(getPipeline('.buildkite/pipelines/pull_request/rule_management.yml')); + pipeline.push( + getPipeline('.buildkite/pipelines/pull_request/security_solution/ai_assistant.yml') + ); + pipeline.push( + getPipeline('.buildkite/pipelines/pull_request/security_solution/detection_engine.yml') + ); + pipeline.push( + getPipeline('.buildkite/pipelines/pull_request/security_solution/entity_analytics.yml') + ); + pipeline.push(getPipeline('.buildkite/pipelines/pull_request/security_solution/explore.yml')); + pipeline.push( + getPipeline('.buildkite/pipelines/pull_request/security_solution/investigations.yml') + ); + pipeline.push( + getPipeline('.buildkite/pipelines/pull_request/security_solution/rule_management.yml') + ); } pipeline.push(getPipeline('.buildkite/pipelines/pull_request/post_build.yml'));