mirror of
https://github.com/elastic/kibana.git
synced 2025-06-28 03:01:21 -04:00
adjust cypress test organization
This commit is contained in:
parent
b7e5336370
commit
02adb882a0
8 changed files with 422 additions and 68 deletions
|
@ -2,8 +2,8 @@ steps:
|
||||||
- group: 'Cypress MKI - Detection Engine'
|
- group: 'Cypress MKI - Detection Engine'
|
||||||
key: cypress_test_detections_engine
|
key: cypress_test_detections_engine
|
||||||
steps:
|
steps:
|
||||||
- command: .buildkite/scripts/pipelines/security_solution_quality_gate/security_solution_cypress/mki_security_solution_cypress.sh cypress:run:qa:serverless:detection_engine
|
- command: .buildkite/scripts/pipelines/security_solution_quality_gate/security_solution_cypress/mki_security_solution_cypress.sh cypress:run:qa:serverless:detection_engine:alert_suppression
|
||||||
label: 'Cypress MKI - Detection Engine'
|
label: 'Cypress MKI - Alert Suppression'
|
||||||
key: test_detection_engine
|
key: test_detection_engine
|
||||||
env:
|
env:
|
||||||
BK_TEST_SUITE_KEY: 'serverless-cypress-detection-engine'
|
BK_TEST_SUITE_KEY: 'serverless-cypress-detection-engine'
|
||||||
|
@ -14,11 +14,11 @@ steps:
|
||||||
machineType: n2-standard-4
|
machineType: n2-standard-4
|
||||||
# TODO : Revise the timeout when the pipeline will be officially integrated with the quality gate.
|
# TODO : Revise the timeout when the pipeline will be officially integrated with the quality gate.
|
||||||
timeout_in_minutes: 300
|
timeout_in_minutes: 300
|
||||||
parallelism: 8
|
parallelism: 3
|
||||||
|
|
||||||
- command: .buildkite/scripts/pipelines/security_solution_quality_gate/security_solution_cypress/mki_security_solution_cypress.sh cypress:run:qa:serverless:detection_engine:exceptions
|
- command: .buildkite/scripts/pipelines/security_solution_quality_gate/security_solution_cypress/mki_security_solution_cypress.sh cypress:run:qa:serverless:detection_engine:detection_alerts
|
||||||
label: 'Cypress MKI - Detection Engine - Exceptions'
|
label: 'Cypress MKI - Detection Alerts'
|
||||||
key: test_detection_engine_exceptions
|
key: test_detection_engine
|
||||||
env:
|
env:
|
||||||
BK_TEST_SUITE_KEY: 'serverless-cypress-detection-engine'
|
BK_TEST_SUITE_KEY: 'serverless-cypress-detection-engine'
|
||||||
agents:
|
agents:
|
||||||
|
@ -28,7 +28,105 @@ steps:
|
||||||
machineType: n2-standard-4
|
machineType: n2-standard-4
|
||||||
# TODO : Revise the timeout when the pipeline will be officially integrated with the quality gate.
|
# TODO : Revise the timeout when the pipeline will be officially integrated with the quality gate.
|
||||||
timeout_in_minutes: 300
|
timeout_in_minutes: 300
|
||||||
parallelism: 6
|
parallelism: 2
|
||||||
|
|
||||||
|
- command: .buildkite/scripts/pipelines/security_solution_quality_gate/security_solution_cypress/mki_security_solution_cypress.sh cypress:run:qa:serverless:detection_engine:exceptions
|
||||||
|
label: 'Cypress MKI - Exceptions'
|
||||||
|
key: test_detection_engine
|
||||||
|
env:
|
||||||
|
BK_TEST_SUITE_KEY: 'serverless-cypress-detection-engine'
|
||||||
|
agents:
|
||||||
|
image: family/kibana-ubuntu-2004
|
||||||
|
imageProject: elastic-images-prod
|
||||||
|
provider: gcp
|
||||||
|
machineType: n2-standard-4
|
||||||
|
# TODO : Revise the timeout when the pipeline will be officially integrated with the quality gate.
|
||||||
|
timeout_in_minutes: 300
|
||||||
|
parallelism: 4
|
||||||
|
|
||||||
|
- command: .buildkite/scripts/pipelines/security_solution_quality_gate/security_solution_cypress/mki_security_solution_cypress.sh cypress:run:qa:serverless:detection_engine:overview
|
||||||
|
label: 'Cypress MKI - Overview'
|
||||||
|
key: test_detection_engine
|
||||||
|
env:
|
||||||
|
BK_TEST_SUITE_KEY: 'serverless-cypress-detection-engine'
|
||||||
|
agents:
|
||||||
|
image: family/kibana-ubuntu-2004
|
||||||
|
imageProject: elastic-images-prod
|
||||||
|
provider: gcp
|
||||||
|
machineType: n2-standard-4
|
||||||
|
# TODO : Revise the timeout when the pipeline will be officially integrated with the quality gate.
|
||||||
|
timeout_in_minutes: 300
|
||||||
|
parallelism: 1
|
||||||
|
|
||||||
|
- command: .buildkite/scripts/pipelines/security_solution_quality_gate/security_solution_cypress/mki_security_solution_cypress.sh cypress:run:qa:serverless:detection_engine:rule_actions
|
||||||
|
label: 'Cypress MKI - Rule Actions'
|
||||||
|
key: test_detection_engine
|
||||||
|
env:
|
||||||
|
BK_TEST_SUITE_KEY: 'serverless-cypress-detection-engine'
|
||||||
|
agents:
|
||||||
|
image: family/kibana-ubuntu-2004
|
||||||
|
imageProject: elastic-images-prod
|
||||||
|
provider: gcp
|
||||||
|
machineType: n2-standard-4
|
||||||
|
# TODO : Revise the timeout when the pipeline will be officially integrated with the quality gate.
|
||||||
|
timeout_in_minutes: 300
|
||||||
|
parallelism: 1
|
||||||
|
|
||||||
|
- command: .buildkite/scripts/pipelines/security_solution_quality_gate/security_solution_cypress/mki_security_solution_cypress.sh cypress:run:qa:serverless:detection_engine:rule_creation
|
||||||
|
label: 'Cypress MKI - Rule Creation'
|
||||||
|
key: test_detection_engine
|
||||||
|
env:
|
||||||
|
BK_TEST_SUITE_KEY: 'serverless-cypress-detection-engine'
|
||||||
|
agents:
|
||||||
|
image: family/kibana-ubuntu-2004
|
||||||
|
imageProject: elastic-images-prod
|
||||||
|
provider: gcp
|
||||||
|
machineType: n2-standard-4
|
||||||
|
# TODO : Revise the timeout when the pipeline will be officially integrated with the quality gate.
|
||||||
|
timeout_in_minutes: 300
|
||||||
|
parallelism: 3
|
||||||
|
|
||||||
|
- command: .buildkite/scripts/pipelines/security_solution_quality_gate/security_solution_cypress/mki_security_solution_cypress.sh cypress:run:qa:serverless:detection_engine:rule_edit
|
||||||
|
label: 'Cypress MKI - Rule Edit'
|
||||||
|
key: test_detection_engine
|
||||||
|
env:
|
||||||
|
BK_TEST_SUITE_KEY: 'serverless-cypress-detection-engine'
|
||||||
|
agents:
|
||||||
|
image: family/kibana-ubuntu-2004
|
||||||
|
imageProject: elastic-images-prod
|
||||||
|
provider: gcp
|
||||||
|
machineType: n2-standard-4
|
||||||
|
# TODO : Revise the timeout when the pipeline will be officially integrated with the quality gate.
|
||||||
|
timeout_in_minutes: 300
|
||||||
|
parallelism: 1
|
||||||
|
|
||||||
|
- command: .buildkite/scripts/pipelines/security_solution_quality_gate/security_solution_cypress/mki_security_solution_cypress.sh cypress:run:qa:serverless:detection_engine:rule_gaps
|
||||||
|
label: 'Cypress MKI - Rule Gaps'
|
||||||
|
key: test_detection_engine
|
||||||
|
env:
|
||||||
|
BK_TEST_SUITE_KEY: 'serverless-cypress-detection-engine'
|
||||||
|
agents:
|
||||||
|
image: family/kibana-ubuntu-2004
|
||||||
|
imageProject: elastic-images-prod
|
||||||
|
provider: gcp
|
||||||
|
machineType: n2-standard-4
|
||||||
|
# TODO : Revise the timeout when the pipeline will be officially integrated with the quality gate.
|
||||||
|
timeout_in_minutes: 300
|
||||||
|
parallelism: 1
|
||||||
|
|
||||||
|
- command: .buildkite/scripts/pipelines/security_solution_quality_gate/security_solution_cypress/mki_security_solution_cypress.sh cypress:run:qa:serverless:detection_engine:value_lists
|
||||||
|
label: 'Cypress MKI - Value Lists'
|
||||||
|
key: test_detection_engine
|
||||||
|
env:
|
||||||
|
BK_TEST_SUITE_KEY: 'serverless-cypress-detection-engine'
|
||||||
|
agents:
|
||||||
|
image: family/kibana-ubuntu-2004
|
||||||
|
imageProject: elastic-images-prod
|
||||||
|
provider: gcp
|
||||||
|
machineType: n2-standard-4
|
||||||
|
# TODO : Revise the timeout when the pipeline will be officially integrated with the quality gate.
|
||||||
|
timeout_in_minutes: 300
|
||||||
|
parallelism: 1
|
||||||
|
|
||||||
- group: 'API MKI - Detection Engine - '
|
- group: 'API MKI - Detection Engine - '
|
||||||
key: api_test_detections_engine
|
key: api_test_detections_engine
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
steps:
|
||||||
|
- group: 'Cypress MKI - Entity Analytics'
|
||||||
|
key: cypress_test_entity_analytics
|
||||||
steps:
|
steps:
|
||||||
- command: .buildkite/scripts/pipelines/security_solution_quality_gate/security_solution_cypress/mki_security_solution_cypress.sh cypress:run:qa:serverless:entity_analytics
|
- command: .buildkite/scripts/pipelines/security_solution_quality_gate/security_solution_cypress/mki_security_solution_cypress.sh cypress:run:qa:serverless:entity_analytics
|
||||||
label: 'Cypress MKI - Entity Analytics'
|
label: 'Cypress MKI - Entity Analytics'
|
||||||
|
@ -13,6 +16,48 @@ steps:
|
||||||
timeout_in_minutes: 300
|
timeout_in_minutes: 300
|
||||||
parallelism: 2
|
parallelism: 2
|
||||||
|
|
||||||
|
- command: .buildkite/scripts/pipelines/security_solution_quality_gate/security_solution_cypress/mki_security_solution_cypress.sh cypress:run:qa:serverless:entity_analytics:dashboards
|
||||||
|
label: 'Cypress MKI - Dashboards'
|
||||||
|
key: test_entity_analytics
|
||||||
|
env:
|
||||||
|
BK_TEST_SUITE_KEY: "serverless-cypress-entity-analytics"
|
||||||
|
agents:
|
||||||
|
image: family/kibana-ubuntu-2004
|
||||||
|
imageProject: elastic-images-prod
|
||||||
|
provider: gcp
|
||||||
|
machineType: n2-standard-4
|
||||||
|
# TODO : Revise the timeout when the pipeline will be officially integrated with the quality gate.
|
||||||
|
timeout_in_minutes: 300
|
||||||
|
parallelism: 1
|
||||||
|
|
||||||
|
- command: .buildkite/scripts/pipelines/security_solution_quality_gate/security_solution_cypress/mki_security_solution_cypress.sh cypress:run:qa:serverless:entity_analytics:host_details
|
||||||
|
label: 'Cypress MKI - Host Details'
|
||||||
|
key: test_entity_analytics
|
||||||
|
env:
|
||||||
|
BK_TEST_SUITE_KEY: "serverless-cypress-entity-analytics"
|
||||||
|
agents:
|
||||||
|
image: family/kibana-ubuntu-2004
|
||||||
|
imageProject: elastic-images-prod
|
||||||
|
provider: gcp
|
||||||
|
machineType: n2-standard-4
|
||||||
|
# TODO : Revise the timeout when the pipeline will be officially integrated with the quality gate.
|
||||||
|
timeout_in_minutes: 300
|
||||||
|
parallelism: 1
|
||||||
|
|
||||||
|
- command: .buildkite/scripts/pipelines/security_solution_quality_gate/security_solution_cypress/mki_security_solution_cypress.sh cypress:run:qa:serverless:entity_analytics:hosts
|
||||||
|
label: 'Cypress MKI - Hosts'
|
||||||
|
key: test_entity_analytics
|
||||||
|
env:
|
||||||
|
BK_TEST_SUITE_KEY: "serverless-cypress-entity-analytics"
|
||||||
|
agents:
|
||||||
|
image: family/kibana-ubuntu-2004
|
||||||
|
imageProject: elastic-images-prod
|
||||||
|
provider: gcp
|
||||||
|
machineType: n2-standard-4
|
||||||
|
# TODO : Revise the timeout when the pipeline will be officially integrated with the quality gate.
|
||||||
|
timeout_in_minutes: 300
|
||||||
|
parallelism: 1
|
||||||
|
|
||||||
- group: "API MKI - Entity Analytics"
|
- group: "API MKI - Entity Analytics"
|
||||||
key: api_test_entity_analytics
|
key: api_test_entity_analytics
|
||||||
steps:
|
steps:
|
||||||
|
|
|
@ -1,7 +1,10 @@
|
||||||
|
steps:
|
||||||
|
- group: 'Cypress MKI - Explore'
|
||||||
|
key: cypress_test_explore
|
||||||
steps:
|
steps:
|
||||||
- command: .buildkite/scripts/pipelines/security_solution_quality_gate/security_solution_cypress/mki_security_solution_cypress.sh cypress:run:qa:serverless:explore
|
- command: .buildkite/scripts/pipelines/security_solution_quality_gate/security_solution_cypress/mki_security_solution_cypress.sh cypress:run:qa:serverless:explore
|
||||||
key: test_explore
|
|
||||||
label: 'Cypress MKI - Explore'
|
label: 'Cypress MKI - Explore'
|
||||||
|
key: test_explore
|
||||||
env:
|
env:
|
||||||
BK_TEST_SUITE_KEY: "serverless-cypress-explore"
|
BK_TEST_SUITE_KEY: "serverless-cypress-explore"
|
||||||
agents:
|
agents:
|
||||||
|
@ -11,7 +14,21 @@ steps:
|
||||||
machineType: n2-standard-4
|
machineType: n2-standard-4
|
||||||
# TODO : Revise the timeout when the pipeline will be officially integrated with the quality gate.
|
# TODO : Revise the timeout when the pipeline will be officially integrated with the quality gate.
|
||||||
timeout_in_minutes: 300
|
timeout_in_minutes: 300
|
||||||
parallelism: 4
|
parallelism: 2
|
||||||
|
|
||||||
|
- command: .buildkite/scripts/pipelines/security_solution_quality_gate/security_solution_cypress/mki_security_solution_cypress.sh cypress:run:qa:serverless:explore:cases
|
||||||
|
label: 'Cypress MKI - Cases'
|
||||||
|
key: test_explore
|
||||||
|
env:
|
||||||
|
BK_TEST_SUITE_KEY: "serverless-cypress-explore"
|
||||||
|
agents:
|
||||||
|
image: family/kibana-ubuntu-2004
|
||||||
|
imageProject: elastic-images-prod
|
||||||
|
provider: gcp
|
||||||
|
machineType: n2-standard-4
|
||||||
|
# TODO : Revise the timeout when the pipeline will be officially integrated with the quality gate.
|
||||||
|
timeout_in_minutes: 300
|
||||||
|
parallelism: 1
|
||||||
|
|
||||||
- group: "API MKI - Explore"
|
- group: "API MKI - Explore"
|
||||||
key: api_test_explore
|
key: api_test_explore
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
steps:
|
steps:
|
||||||
- command: .buildkite/scripts/pipelines/security_solution_quality_gate/security_solution_cypress/mki_security_solution_cypress.sh cypress:run:qa:serverless:ai_assistant
|
- command: .buildkite/scripts/pipelines/security_solution_quality_gate/security_solution_cypress/mki_security_solution_cypress.sh cypress:run:qa:serverless:ai_assistant
|
||||||
label: "Cypress MKI - GenAI"
|
label: "Cypress MKI - AI Assistant"
|
||||||
key: test_ai_assistant
|
key: test_ai_assistant
|
||||||
env:
|
env:
|
||||||
BK_TEST_SUITE_KEY: "serverless-cypress-gen-ai"
|
BK_TEST_SUITE_KEY: "serverless-cypress-gen-ai"
|
||||||
|
@ -13,7 +13,7 @@ steps:
|
||||||
timeout_in_minutes: 300
|
timeout_in_minutes: 300
|
||||||
parallelism: 1
|
parallelism: 1
|
||||||
|
|
||||||
- group: "API MKI - GenAI"
|
- group: "API MKI - AI Assistant"
|
||||||
key: api_test_ai_assistant
|
key: api_test_ai_assistant
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,10 @@
|
||||||
steps:
|
steps:
|
||||||
- command: .buildkite/scripts/pipelines/security_solution_quality_gate/security_solution_cypress/mki_security_solution_cypress.sh cypress:run:qa:serverless:investigations
|
- group: 'Cypress MKI - Investigations'
|
||||||
|
key: cypress_test_investigations
|
||||||
|
steps:
|
||||||
|
- command: .buildkite/scripts/pipelines/security_solution_quality_gate/security_solution_cypress/mki_security_solution_cypress.sh cypress:run:qa:serverless:investigations:alerts
|
||||||
|
label: 'Cypress MKI - Alerts'
|
||||||
key: test_investigations
|
key: test_investigations
|
||||||
label: 'Cypress MKI - Investigations'
|
|
||||||
env:
|
env:
|
||||||
BK_TEST_SUITE_KEY: "serverless-cypress-investigations"
|
BK_TEST_SUITE_KEY: "serverless-cypress-investigations"
|
||||||
agents:
|
agents:
|
||||||
|
@ -11,7 +14,91 @@ steps:
|
||||||
machineType: n2-standard-4
|
machineType: n2-standard-4
|
||||||
# TODO : Revise the timeout when the pipeline will be officially integrated with the quality gate.
|
# TODO : Revise the timeout when the pipeline will be officially integrated with the quality gate.
|
||||||
timeout_in_minutes: 300
|
timeout_in_minutes: 300
|
||||||
parallelism: 8
|
parallelism: 3
|
||||||
|
|
||||||
|
- command: .buildkite/scripts/pipelines/security_solution_quality_gate/security_solution_cypress/mki_security_solution_cypress.sh cypress:run:qa:serverless:investigations:dashboards
|
||||||
|
label: 'Cypress MKI - Dashboards'
|
||||||
|
key: test_investigations
|
||||||
|
env:
|
||||||
|
BK_TEST_SUITE_KEY: "serverless-cypress-investigations"
|
||||||
|
agents:
|
||||||
|
image: family/kibana-ubuntu-2004
|
||||||
|
imageProject: elastic-images-prod
|
||||||
|
provider: gcp
|
||||||
|
machineType: n2-standard-4
|
||||||
|
# TODO : Revise the timeout when the pipeline will be officially integrated with the quality gate.
|
||||||
|
timeout_in_minutes: 300
|
||||||
|
parallelism: 1
|
||||||
|
|
||||||
|
- command: .buildkite/scripts/pipelines/security_solution_quality_gate/security_solution_cypress/mki_security_solution_cypress.sh cypress:run:qa:serverless:investigations:siem_migrations
|
||||||
|
label: 'Cypress MKI - SIEM Integrations'
|
||||||
|
key: test_investigations
|
||||||
|
env:
|
||||||
|
BK_TEST_SUITE_KEY: "serverless-cypress-investigations"
|
||||||
|
agents:
|
||||||
|
image: family/kibana-ubuntu-2004
|
||||||
|
imageProject: elastic-images-prod
|
||||||
|
provider: gcp
|
||||||
|
machineType: n2-standard-4
|
||||||
|
# TODO : Revise the timeout when the pipeline will be officially integrated with the quality gate.
|
||||||
|
timeout_in_minutes: 300
|
||||||
|
parallelism: 1
|
||||||
|
|
||||||
|
- command: .buildkite/scripts/pipelines/security_solution_quality_gate/security_solution_cypress/mki_security_solution_cypress.sh cypress:run:qa:serverless:investigations:sourcerer
|
||||||
|
label: 'Cypress MKI - Sourcerer'
|
||||||
|
key: test_investigations
|
||||||
|
env:
|
||||||
|
BK_TEST_SUITE_KEY: "serverless-cypress-investigations"
|
||||||
|
agents:
|
||||||
|
image: family/kibana-ubuntu-2004
|
||||||
|
imageProject: elastic-images-prod
|
||||||
|
provider: gcp
|
||||||
|
machineType: n2-standard-4
|
||||||
|
# TODO : Revise the timeout when the pipeline will be officially integrated with the quality gate.
|
||||||
|
timeout_in_minutes: 300
|
||||||
|
parallelism: 1
|
||||||
|
|
||||||
|
- command: .buildkite/scripts/pipelines/security_solution_quality_gate/security_solution_cypress/mki_security_solution_cypress.sh cypress:run:qa:serverless:investigations:threat_intelligence
|
||||||
|
label: 'Cypress MKI - Threat Intelligence'
|
||||||
|
key: test_investigations
|
||||||
|
env:
|
||||||
|
BK_TEST_SUITE_KEY: "serverless-cypress-investigations"
|
||||||
|
agents:
|
||||||
|
image: family/kibana-ubuntu-2004
|
||||||
|
imageProject: elastic-images-prod
|
||||||
|
provider: gcp
|
||||||
|
machineType: n2-standard-4
|
||||||
|
# TODO : Revise the timeout when the pipeline will be officially integrated with the quality gate.
|
||||||
|
timeout_in_minutes: 300
|
||||||
|
parallelism: 1
|
||||||
|
|
||||||
|
- command: .buildkite/scripts/pipelines/security_solution_quality_gate/security_solution_cypress/mki_security_solution_cypress.sh cypress:run:qa:serverless:investigations:timeline_templates
|
||||||
|
label: 'Cypress MKI - Timeline Templates'
|
||||||
|
key: test_investigations
|
||||||
|
env:
|
||||||
|
BK_TEST_SUITE_KEY: "serverless-cypress-investigations"
|
||||||
|
agents:
|
||||||
|
image: family/kibana-ubuntu-2004
|
||||||
|
imageProject: elastic-images-prod
|
||||||
|
provider: gcp
|
||||||
|
machineType: n2-standard-4
|
||||||
|
# TODO : Revise the timeout when the pipeline will be officially integrated with the quality gate.
|
||||||
|
timeout_in_minutes: 300
|
||||||
|
parallelism: 1
|
||||||
|
|
||||||
|
- command: .buildkite/scripts/pipelines/security_solution_quality_gate/security_solution_cypress/mki_security_solution_cypress.sh cypress:run:qa:serverless:investigations:timelines
|
||||||
|
label: 'Cypress MKI - Timelines'
|
||||||
|
key: test_investigations
|
||||||
|
env:
|
||||||
|
BK_TEST_SUITE_KEY: "serverless-cypress-investigations"
|
||||||
|
agents:
|
||||||
|
image: family/kibana-ubuntu-2004
|
||||||
|
imageProject: elastic-images-prod
|
||||||
|
provider: gcp
|
||||||
|
machineType: n2-standard-4
|
||||||
|
# TODO : Revise the timeout when the pipeline will be officially integrated with the quality gate.
|
||||||
|
timeout_in_minutes: 300
|
||||||
|
parallelism: 3
|
||||||
|
|
||||||
- group: "API MKI - Investigations"
|
- group: "API MKI - Investigations"
|
||||||
key: api_test_investigations
|
key: api_test_investigations
|
||||||
|
|
|
@ -2,8 +2,8 @@ steps:
|
||||||
- group: 'Serverless MKI QA Rule Management - Cypress Test'
|
- group: 'Serverless MKI QA Rule Management - Cypress Test'
|
||||||
key: cypress_test_rule_management
|
key: cypress_test_rule_management
|
||||||
steps:
|
steps:
|
||||||
- command: .buildkite/scripts/pipelines/security_solution_quality_gate/security_solution_cypress/mki_security_solution_cypress.sh cypress:run:qa:serverless:rule_management
|
- command: .buildkite/scripts/pipelines/security_solution_quality_gate/security_solution_cypress/mki_security_solution_cypress.sh cypress:run:qa:serverless:rule_management:authorization
|
||||||
label: 'Cypress MKI - Rule Management'
|
label: 'Cypress MKI - Authorization'
|
||||||
key: test_rule_management
|
key: test_rule_management
|
||||||
env:
|
env:
|
||||||
BK_TEST_SUITE_KEY: 'serverless-cypress-rule-management'
|
BK_TEST_SUITE_KEY: 'serverless-cypress-rule-management'
|
||||||
|
@ -14,11 +14,11 @@ steps:
|
||||||
machineType: n2-standard-4
|
machineType: n2-standard-4
|
||||||
# TODO : Revise the timeout when the pipeline will be officially integrated with the quality gate.
|
# TODO : Revise the timeout when the pipeline will be officially integrated with the quality gate.
|
||||||
timeout_in_minutes: 300
|
timeout_in_minutes: 300
|
||||||
parallelism: 8
|
parallelism: 1
|
||||||
|
|
||||||
- command: .buildkite/scripts/pipelines/security_solution_quality_gate/security_solution_cypress/mki_security_solution_cypress.sh cypress:run:qa:serverless:rule_management:prebuilt_rules
|
- command: .buildkite/scripts/pipelines/security_solution_quality_gate/security_solution_cypress/mki_security_solution_cypress.sh cypress:run:qa:serverless:rule_management:coverage_overview
|
||||||
label: 'Cypress MKI - Rule Management - Prebuilt Rules'
|
label: 'Cypress MKI - Coverage Overview'
|
||||||
key: test_rule_management_prebuilt_rules
|
key: test_rule_management
|
||||||
env:
|
env:
|
||||||
BK_TEST_SUITE_KEY: 'serverless-cypress-rule-management'
|
BK_TEST_SUITE_KEY: 'serverless-cypress-rule-management'
|
||||||
agents:
|
agents:
|
||||||
|
@ -28,7 +28,91 @@ steps:
|
||||||
machineType: n2-standard-4
|
machineType: n2-standard-4
|
||||||
# TODO : Revise the timeout when the pipeline will be officially integrated with the quality gate.
|
# TODO : Revise the timeout when the pipeline will be officially integrated with the quality gate.
|
||||||
timeout_in_minutes: 300
|
timeout_in_minutes: 300
|
||||||
parallelism: 4
|
parallelism: 1
|
||||||
|
|
||||||
|
- command: .buildkite/scripts/pipelines/security_solution_quality_gate/security_solution_cypress/mki_security_solution_cypress.sh cypress:run:qa:serverless:rule_management:maintenance_windows
|
||||||
|
label: 'Cypress MKI - Maintenance Windows'
|
||||||
|
key: test_rule_management
|
||||||
|
env:
|
||||||
|
BK_TEST_SUITE_KEY: 'serverless-cypress-rule-management'
|
||||||
|
agents:
|
||||||
|
image: family/kibana-ubuntu-2004
|
||||||
|
imageProject: elastic-images-prod
|
||||||
|
provider: gcp
|
||||||
|
machineType: n2-standard-4
|
||||||
|
# TODO : Revise the timeout when the pipeline will be officially integrated with the quality gate.
|
||||||
|
timeout_in_minutes: 300
|
||||||
|
parallelism: 1
|
||||||
|
|
||||||
|
- command: .buildkite/scripts/pipelines/security_solution_quality_gate/security_solution_cypress/mki_security_solution_cypress.sh cypress:run:qa:serverless:rule_management:prebuilt_rules
|
||||||
|
label: 'Cypress MKI - Prebuilt Rules'
|
||||||
|
key: test_rule_management
|
||||||
|
env:
|
||||||
|
BK_TEST_SUITE_KEY: 'serverless-cypress-rule-management'
|
||||||
|
agents:
|
||||||
|
image: family/kibana-ubuntu-2004
|
||||||
|
imageProject: elastic-images-prod
|
||||||
|
provider: gcp
|
||||||
|
machineType: n2-standard-4
|
||||||
|
# TODO : Revise the timeout when the pipeline will be officially integrated with the quality gate.
|
||||||
|
timeout_in_minutes: 300
|
||||||
|
parallelism: 3
|
||||||
|
|
||||||
|
- command: .buildkite/scripts/pipelines/security_solution_quality_gate/security_solution_cypress/mki_security_solution_cypress.sh cypress:run:qa:serverless:rule_management:related_integrations
|
||||||
|
label: 'Cypress MKI - Related Integrations'
|
||||||
|
key: test_rule_management
|
||||||
|
env:
|
||||||
|
BK_TEST_SUITE_KEY: 'serverless-cypress-rule-management'
|
||||||
|
agents:
|
||||||
|
image: family/kibana-ubuntu-2004
|
||||||
|
imageProject: elastic-images-prod
|
||||||
|
provider: gcp
|
||||||
|
machineType: n2-standard-4
|
||||||
|
# TODO : Revise the timeout when the pipeline will be officially integrated with the quality gate.
|
||||||
|
timeout_in_minutes: 300
|
||||||
|
parallelism: 1
|
||||||
|
|
||||||
|
- command: .buildkite/scripts/pipelines/security_solution_quality_gate/security_solution_cypress/mki_security_solution_cypress.sh cypress:run:qa:serverless:rule_management:rule_actions
|
||||||
|
label: 'Cypress MKI - Rule Actions'
|
||||||
|
key: test_rule_management
|
||||||
|
env:
|
||||||
|
BK_TEST_SUITE_KEY: 'serverless-cypress-rule-management'
|
||||||
|
agents:
|
||||||
|
image: family/kibana-ubuntu-2004
|
||||||
|
imageProject: elastic-images-prod
|
||||||
|
provider: gcp
|
||||||
|
machineType: n2-standard-4
|
||||||
|
# TODO : Revise the timeout when the pipeline will be officially integrated with the quality gate.
|
||||||
|
timeout_in_minutes: 300
|
||||||
|
parallelism: 2
|
||||||
|
|
||||||
|
- command: .buildkite/scripts/pipelines/security_solution_quality_gate/security_solution_cypress/mki_security_solution_cypress.sh cypress:run:qa:serverless:rule_management:rule_details
|
||||||
|
label: 'Cypress MKI - Rule Details'
|
||||||
|
key: test_rule_management
|
||||||
|
env:
|
||||||
|
BK_TEST_SUITE_KEY: 'serverless-cypress-rule-management'
|
||||||
|
agents:
|
||||||
|
image: family/kibana-ubuntu-2004
|
||||||
|
imageProject: elastic-images-prod
|
||||||
|
provider: gcp
|
||||||
|
machineType: n2-standard-4
|
||||||
|
# TODO : Revise the timeout when the pipeline will be officially integrated with the quality gate.
|
||||||
|
timeout_in_minutes: 300
|
||||||
|
parallelism: 1
|
||||||
|
|
||||||
|
- command: .buildkite/scripts/pipelines/security_solution_quality_gate/security_solution_cypress/mki_security_solution_cypress.sh cypress:run:qa:serverless:rule_management:rules_table
|
||||||
|
label: 'Cypress MKI - Rules Table'
|
||||||
|
key: test_rule_management
|
||||||
|
env:
|
||||||
|
BK_TEST_SUITE_KEY: 'serverless-cypress-rule-management'
|
||||||
|
agents:
|
||||||
|
image: family/kibana-ubuntu-2004
|
||||||
|
imageProject: elastic-images-prod
|
||||||
|
provider: gcp
|
||||||
|
machineType: n2-standard-4
|
||||||
|
# TODO : Revise the timeout when the pipeline will be officially integrated with the quality gate.
|
||||||
|
timeout_in_minutes: 300
|
||||||
|
parallelism: 1
|
||||||
|
|
||||||
- group: 'API MKI - Rule Management'
|
- group: 'API MKI - Rule Management'
|
||||||
key: api_test_rule_management
|
key: api_test_rule_management
|
||||||
|
|
|
@ -3,11 +3,11 @@
|
||||||
source .buildkite/scripts/common/util.sh
|
source .buildkite/scripts/common/util.sh
|
||||||
|
|
||||||
if [ "$KIBANA_MKI_QUALITY_GATE" == "1" ]; then
|
if [ "$KIBANA_MKI_QUALITY_GATE" == "1" ]; then
|
||||||
echo "Triggered by quality gate!"
|
echo "Triggered by Serverless Kibana Quality Gate"
|
||||||
triggered_by="Serverless Quality Gate."
|
triggered_by="Serverless Quality Gate"
|
||||||
else
|
else
|
||||||
echo "Triggered by Serverless Kibana Periodic Pipeline."
|
echo "Triggered by Serverless Kibana Periodic Pipeline"
|
||||||
triggered_by="Serverless Kibana Periodic Pipeline."
|
triggered_by="Serverless Kibana Periodic Pipeline"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
KIBANA_BASE_IMAGE="docker.elastic.co/kibana-ci/kibana-serverless"
|
KIBANA_BASE_IMAGE="docker.elastic.co/kibana-ci/kibana-serverless"
|
||||||
|
|
|
@ -46,15 +46,38 @@
|
||||||
"cypress:burn:serverless": "yarn cypress:serverless --env burn=2",
|
"cypress:burn:serverless": "yarn cypress:serverless --env burn=2",
|
||||||
"cypress:qa:serverless": "TZ=UTC node ../../solutions/security/plugins/security_solution/scripts/start_cypress_parallel_serverless --config-file ../../test/security_solution_cypress/cypress/cypress_ci_serverless_qa.config.ts",
|
"cypress:qa:serverless": "TZ=UTC node ../../solutions/security/plugins/security_solution/scripts/start_cypress_parallel_serverless --config-file ../../test/security_solution_cypress/cypress/cypress_ci_serverless_qa.config.ts",
|
||||||
"cypress:open:qa:serverless": "yarn cypress:qa:serverless open",
|
"cypress:open:qa:serverless": "yarn cypress:qa:serverless open",
|
||||||
"cypress:run:qa:serverless:entity_analytics": "yarn cypress:qa:serverless --spec './cypress/e2e/entity_analytics/**/*.cy.ts'",
|
|
||||||
"cypress:run:qa:serverless:investigations": "yarn cypress:qa:serverless --spec './cypress/e2e/investigations/**/*.cy.ts'",
|
|
||||||
"cypress:run:qa:serverless:explore": "yarn cypress:qa:serverless --spec './cypress/e2e/explore/**/*.cy.ts'",
|
|
||||||
"cypress:run:qa:serverless:rule_management": "yarn cypress:qa:serverless --spec './cypress/e2e/detection_response/rule_management/!(prebuilt_rules)/**/*.cy.ts'",
|
|
||||||
"cypress:run:qa:serverless:rule_management:prebuilt_rules": "yarn cypress:qa:serverless --spec './cypress/e2e/detection_response/rule_management/prebuilt_rules/**/*.cy.ts'",
|
|
||||||
"cypress:run:qa:serverless:detection_engine": "yarn cypress:qa:serverless --spec './cypress/e2e/detection_response/detection_engine/!(exceptions)/**/*.cy.ts'",
|
|
||||||
"cypress:run:qa:serverless:detection_engine:exceptions": "yarn cypress:qa:serverless --spec './cypress/e2e/detection_response/detection_engine/exceptions/**/*.cy.ts'",
|
|
||||||
"cypress:run:qa:serverless:ai_assistant": "yarn cypress:qa:serverless --spec './cypress/e2e/ai_assistant/**/*.cy.ts'",
|
"cypress:run:qa:serverless:ai_assistant": "yarn cypress:qa:serverless --spec './cypress/e2e/ai_assistant/**/*.cy.ts'",
|
||||||
|
"cypress:run:qa:serverless:ai4dsoc": "yarn cypress:qa:serverless --spec './cypress/e2e/ai4dsoc/**/*.cy.ts'",
|
||||||
"cypress:run:qa:serverless:cloud_security_posture": "yarn cypress:qa:serverless --spec './cypress/e2e/cloud_security_posture/**/*.cy.ts",
|
"cypress:run:qa:serverless:cloud_security_posture": "yarn cypress:qa:serverless --spec './cypress/e2e/cloud_security_posture/**/*.cy.ts",
|
||||||
"cypress:run:qa:serverless:ai4dsoc": "yarn cypress:qa:serverless --spec './cypress/e2e/ai4dsoc/**/*.cy.ts'"
|
"cypress:run:qa:serverless:detection_engine:alert_suppression": "yarn cypress:qa:serverless --spec './cypress/e2e/detection_response/detection_engine/alert_suppression/**/*.cy.ts'",
|
||||||
|
"cypress:run:qa:serverless:detection_engine:detection_alerts": "yarn cypress:qa:serverless --spec './cypress/e2e/detection_response/detection_engine/detection_alerts/**/*.cy.ts'",
|
||||||
|
"cypress:run:qa:serverless:detection_engine:exceptions": "yarn cypress:qa:serverless --spec './cypress/e2e/detection_response/detection_engine/exceptions/**/*.cy.ts'",
|
||||||
|
"cypress:run:qa:serverless:detection_engine:overview": "yarn cypress:qa:serverless --spec './cypress/e2e/detection_response/detection_engine/overview/**/*.cy.ts'",
|
||||||
|
"cypress:run:qa:serverless:detection_engine:rule_actions": "yarn cypress:qa:serverless --spec './cypress/e2e/detection_response/detection_engine/rule_actions/**/*.cy.ts'",
|
||||||
|
"cypress:run:qa:serverless:detection_engine:rule_creation": "yarn cypress:qa:serverless --spec './cypress/e2e/detection_response/detection_engine/rule_creation/**/*.cy.ts'",
|
||||||
|
"cypress:run:qa:serverless:detection_engine:rule_edit": "yarn cypress:qa:serverless --spec './cypress/e2e/detection_response/detection_engine/rule_edit/**/*.cy.ts'",
|
||||||
|
"cypress:run:qa:serverless:detection_engine:rule_gaps": "yarn cypress:qa:serverless --spec './cypress/e2e/detection_response/detection_engine/rule_gaps/**/*.cy.ts'",
|
||||||
|
"cypress:run:qa:serverless:detection_engine:value_lists": "yarn cypress:qa:serverless --spec './cypress/e2e/detection_response/detection_engine/value_lists/**/*.cy.ts'",
|
||||||
|
"cypress:run:qa:serverless:entity_analytics": "yarn cypress:qa:serverless --spec './cypress/e2e/entity_analytics/*.cy.ts'",
|
||||||
|
"cypress:run:qa:serverless:entity_analytics:dashboards": "yarn cypress:qa:serverless --spec './cypress/e2e/entity_analytics/dashboards/**/*.cy.ts'",
|
||||||
|
"cypress:run:qa:serverless:entity_analytics:host_details": "yarn cypress:qa:serverless --spec './cypress/e2e/entity_analytics/host_details/**/*.cy.ts'",
|
||||||
|
"cypress:run:qa:serverless:entity_analytics:hosts": "yarn cypress:qa:serverless --spec './cypress/e2e/entity_analytics/hosts/**/*.cy.ts'",
|
||||||
|
"cypress:run:qa:serverless:explore": "yarn cypress:qa:serverless --spec './cypress/e2e/explore/!(cases)/**/*.cy.ts'",
|
||||||
|
"cypress:run:qa:serverless:explore:cases": "yarn cypress:qa:serverless --spec './cypress/e2e/explore/**/*.cy.ts'",
|
||||||
|
"cypress:run:qa:serverless:investigations:alerts": "yarn cypress:qa:serverless --spec './cypress/e2e/investigations/alerts/**/*.cy.ts'",
|
||||||
|
"cypress:run:qa:serverless:investigations:dashboards": "yarn cypress:qa:serverless --spec './cypress/e2e/investigations/dashboards/**/*.cy.ts'",
|
||||||
|
"cypress:run:qa:serverless:investigations:siem_migrations": "yarn cypress:qa:serverless --spec './cypress/e2e/investigations/siem_migrations/**/*.cy.ts'",
|
||||||
|
"cypress:run:qa:serverless:investigations:sourcerer": "yarn cypress:qa:serverless --spec './cypress/e2e/investigations/sourcerer/**/*.cy.ts'",
|
||||||
|
"cypress:run:qa:serverless:investigations:threat_intelligence": "yarn cypress:qa:serverless --spec './cypress/e2e/investigations/threat_intelligence/**/*.cy.ts'",
|
||||||
|
"cypress:run:qa:serverless:investigations:timeline_templates": "yarn cypress:qa:serverless --spec './cypress/e2e/investigations/timeline_templates/**/*.cy.ts'",
|
||||||
|
"cypress:run:qa:serverless:investigations:timelines": "yarn cypress:qa:serverless --spec './cypress/e2e/investigations/timelines/**/*.cy.ts'",
|
||||||
|
"cypress:run:qa:serverless:rule_management:authorization": "yarn cypress:qa:serverless --spec './cypress/e2e/detection_response/rule_management/authorization/**/*.cy.ts'",
|
||||||
|
"cypress:run:qa:serverless:rule_management:coverage_overview": "yarn cypress:qa:serverless --spec './cypress/e2e/detection_response/rule_management/coverage_overview/**/*.cy.ts'",
|
||||||
|
"cypress:run:qa:serverless:rule_management:maintenance_windows": "yarn cypress:qa:serverless --spec './cypress/e2e/detection_response/rule_management/maintenance_windows/**/*.cy.ts'",
|
||||||
|
"cypress:run:qa:serverless:rule_management:prebuilt_rules": "yarn cypress:qa:serverless --spec './cypress/e2e/detection_response/rule_management/prebuilt_rules/**/*.cy.ts'",
|
||||||
|
"cypress:run:qa:serverless:rule_management:related_integrations": "yarn cypress:qa:serverless --spec './cypress/e2e/detection_response/rule_management/related_integrations/**/*.cy.ts'",
|
||||||
|
"cypress:run:qa:serverless:rule_management:rule_actions": "yarn cypress:qa:serverless --spec './cypress/e2e/detection_response/rule_management/rule_actions/**/*.cy.ts'",
|
||||||
|
"cypress:run:qa:serverless:rule_management:rule_details": "yarn cypress:qa:serverless --spec './cypress/e2e/detection_response/rule_management/rule_details/**/*.cy.ts'",
|
||||||
|
"cypress:run:qa:serverless:rule_management:rules_table": "yarn cypress:qa:serverless --spec './cypress/e2e/detection_response/rule_management/rules_table/**/*.cy.ts'",
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Add table
Add a link
Reference in a new issue