-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Security Solution] Adding conditional execution on ci for Security S…
…olution cypress tests (#173815) ## Summary With the aim of preventing our tests from blocking PRs on teams introducing changes not related with our basecode and saving buildkite time execution, PRs the security solution Cypress tests are going to be executed just when a change is introduced on the listed dependencies in `.buildkite/scripts/pipelines/pull_request/pipeline.ts`. The execution of our tests on every change in the `on-merge` pipeline is going to be maintained, in that way, we are going to be aware of any possible issue we may miss and our flaky tests are going to continue being tracked in github --------- Co-authored-by: Steph Milovic <[email protected]>
- Loading branch information
1 parent
cf9ff4d
commit a636dcb
Showing
10 changed files
with
242 additions
and
194 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 24 additions & 0 deletions
24
.buildkite/pipelines/pull_request/security_solution/ai_assistant.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
steps: | ||
- command: .buildkite/scripts/steps/functional/security_serverless_ai_assistant.sh | ||
label: 'Serverless AI Assistant - Security Solution Cypress Tests' | ||
agents: | ||
queue: n2-4-spot | ||
depends_on: build | ||
timeout_in_minutes: 60 | ||
parallelism: 1 | ||
retry: | ||
automatic: | ||
- exit_status: '*' | ||
limit: 1 | ||
|
||
- command: .buildkite/scripts/steps/functional/security_solution_ai_assistant.sh | ||
label: 'AI Assistant - Security Solution Cypress Tests' | ||
agents: | ||
queue: n2-4-spot | ||
depends_on: build | ||
timeout_in_minutes: 60 | ||
parallelism: 1 | ||
retry: | ||
automatic: | ||
- exit_status: '*' | ||
limit: 1 |
File renamed without changes.
File renamed without changes.
48 changes: 48 additions & 0 deletions
48
.buildkite/pipelines/pull_request/security_solution/detection_engine.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
steps: | ||
- command: .buildkite/scripts/steps/functional/security_serverless_detection_engine.sh | ||
label: 'Serverless Detection Engine - Security Solution Cypress Tests' | ||
agents: | ||
queue: n2-4-spot | ||
depends_on: build | ||
timeout_in_minutes: 60 | ||
parallelism: 6 | ||
retry: | ||
automatic: | ||
- exit_status: '*' | ||
limit: 1 | ||
|
||
- command: .buildkite/scripts/steps/functional/security_serverless_detection_engine_exceptions.sh | ||
label: 'Serverless Detection Engine - Exceptions - Security Solution Cypress Tests' | ||
agents: | ||
queue: n2-4-spot | ||
depends_on: build | ||
timeout_in_minutes: 60 | ||
parallelism: 6 | ||
retry: | ||
automatic: | ||
- exit_status: '*' | ||
limit: 1 | ||
|
||
- command: .buildkite/scripts/steps/functional/security_solution_detection_engine.sh | ||
label: 'Detection Engine - Security Solution Cypress Tests' | ||
agents: | ||
queue: n2-4-spot | ||
depends_on: build | ||
timeout_in_minutes: 60 | ||
parallelism: 8 | ||
retry: | ||
automatic: | ||
- exit_status: '*' | ||
limit: 1 | ||
|
||
- command: .buildkite/scripts/steps/functional/security_solution_detection_engine_exceptions.sh | ||
label: 'Detection Engine - Exceptions - Security Solution Cypress Tests' | ||
agents: | ||
queue: n2-4-spot | ||
depends_on: build | ||
timeout_in_minutes: 60 | ||
parallelism: 6 | ||
retry: | ||
automatic: | ||
- exit_status: '*' | ||
limit: 1 |
24 changes: 24 additions & 0 deletions
24
.buildkite/pipelines/pull_request/security_solution/entity_analytics.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
steps: | ||
- command: .buildkite/scripts/steps/functional/security_serverless_entity_analytics.sh | ||
label: 'Serverless Entity Analytics - Security Cypress Tests' | ||
agents: | ||
queue: n2-4-spot | ||
depends_on: build | ||
timeout_in_minutes: 60 | ||
parallelism: 2 | ||
retry: | ||
automatic: | ||
- exit_status: '*' | ||
limit: 1 | ||
|
||
- command: .buildkite/scripts/steps/functional/security_solution_entity_analytics.sh | ||
label: 'Entity Analytics - Security Solution Cypress Tests' | ||
agents: | ||
queue: n2-4-spot | ||
depends_on: build | ||
timeout_in_minutes: 60 | ||
parallelism: 2 | ||
retry: | ||
automatic: | ||
- exit_status: '*' | ||
limit: 1 |
24 changes: 24 additions & 0 deletions
24
.buildkite/pipelines/pull_request/security_solution/explore.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
steps: | ||
- command: .buildkite/scripts/steps/functional/security_solution_explore.sh | ||
label: 'Explore - Security Solution Cypress Tests' | ||
agents: | ||
queue: n2-4-spot | ||
depends_on: build | ||
timeout_in_minutes: 60 | ||
parallelism: 4 | ||
retry: | ||
automatic: | ||
- exit_status: '*' | ||
limit: 1 | ||
|
||
- command: .buildkite/scripts/steps/functional/security_serverless_explore.sh | ||
label: 'Serverless Explore - Security Solution Cypress Tests' | ||
agents: | ||
queue: n2-4-spot | ||
depends_on: build | ||
timeout_in_minutes: 60 | ||
parallelism: 4 | ||
retry: | ||
automatic: | ||
- exit_status: '*' | ||
limit: 1 |
24 changes: 24 additions & 0 deletions
24
.buildkite/pipelines/pull_request/security_solution/investigations.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
steps: | ||
- command: .buildkite/scripts/steps/functional/security_solution_investigations.sh | ||
label: 'Investigations - Security Solution Cypress Tests' | ||
agents: | ||
queue: n2-4-spot | ||
depends_on: build | ||
timeout_in_minutes: 60 | ||
parallelism: 8 | ||
retry: | ||
automatic: | ||
- exit_status: '*' | ||
limit: 1 | ||
|
||
- command: .buildkite/scripts/steps/functional/security_serverless_investigations.sh | ||
label: 'Serverless Investigations - Security Solution Cypress Tests' | ||
agents: | ||
queue: n2-4-spot | ||
depends_on: build | ||
timeout_in_minutes: 60 | ||
parallelism: 8 | ||
retry: | ||
automatic: | ||
- exit_status: '*' | ||
limit: 1 |
48 changes: 48 additions & 0 deletions
48
.buildkite/pipelines/pull_request/security_solution/rule_management.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
steps: | ||
- command: .buildkite/scripts/steps/functional/security_serverless_rule_management.sh | ||
label: 'Serverless Rule Management - Security Solution Cypress Tests' | ||
agents: | ||
queue: n2-4-spot | ||
depends_on: build | ||
timeout_in_minutes: 60 | ||
parallelism: 8 | ||
retry: | ||
automatic: | ||
- exit_status: '*' | ||
limit: 1 | ||
|
||
- command: .buildkite/scripts/steps/functional/security_serverless_rule_management_prebuilt_rules.sh | ||
label: 'Serverless Rule Management - Prebuilt Rules - Security Solution Cypress Tests' | ||
agents: | ||
queue: n2-4-spot | ||
depends_on: build | ||
timeout_in_minutes: 60 | ||
parallelism: 4 | ||
retry: | ||
automatic: | ||
- exit_status: '*' | ||
limit: 1 | ||
|
||
- command: .buildkite/scripts/steps/functional/security_solution_rule_management.sh | ||
label: 'Rule Management - Security Solution Cypress Tests' | ||
agents: | ||
queue: n2-4-spot | ||
depends_on: build | ||
timeout_in_minutes: 60 | ||
parallelism: 8 | ||
retry: | ||
automatic: | ||
- exit_status: '*' | ||
limit: 1 | ||
|
||
- command: .buildkite/scripts/steps/functional/security_solution_rule_management_prebuilt_rules.sh | ||
label: 'Rule Management - Prebuilt Rules - Security Solution Cypress Tests' | ||
agents: | ||
queue: n2-4-spot | ||
depends_on: build | ||
timeout_in_minutes: 60 | ||
parallelism: 6 | ||
retry: | ||
automatic: | ||
- exit_status: '*' | ||
limit: 1 |
Oops, something went wrong.