Skip to content

Commit

Permalink
[Security][Serverless] Quality Gate API Integration tests split (#183612
Browse files Browse the repository at this point in the history
)

## Summary
This PR splits the API Integration test suite from one pipeline
including all tests to using the already existing pipelines for the
security quality gate and splitting the TS scripts per team.

With this PR merged the following should happen:
- The [FTR API integration
tests](https://buildkite.com/elastic/kibana-serverless-security-solution-quality-gate-api-integration/builds/445)
pipeline should be removed
- All the scripts of this pipeline are split to the relevant team
pipelines. For example the team which maintains the tests should be able
to see the following structure when a build is triggered. (The noted
group is the API tests for the specific team)
<img width="1182" alt="Screenshot 2024-05-20 at 5 56 49 PM"
src="https://github.com/elastic/kibana/assets/55240027/87c1fc1c-4425-4756-890f-b458da0e189a">
- In order to identify why the build is triggered, (Quality gate OR
Periodic Pipeline) the following two snippets will define the _triggered
by_ information.

---

**Triggered By Quality Gate**
<img width="1156" alt="Screenshot 2024-05-20 at 5 21 04 PM"
src="https://github.com/elastic/kibana/assets/55240027/0e3e8928-7306-44ee-acd8-4368d93e452d">

** Triggered By Periodic Pipeline ** 
<img width="1154" alt="Screenshot 2024-05-20 at 5 49 11 PM"
src="https://github.com/elastic/kibana/assets/55240027/aa8d6591-a612-4f60-a433-c80e213bc6b8">

---------

Co-authored-by: Gloria Hornero <[email protected]>
  • Loading branch information
dkirchan and MadameSheema authored May 22, 2024
1 parent 542a3ce commit abb29e8
Show file tree
Hide file tree
Showing 18 changed files with 1,371 additions and 1,248 deletions.

This file was deleted.

1 change: 0 additions & 1 deletion .buildkite/pipeline-resource-definitions/locations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ spec:
- https://github.com/elastic/kibana/blob/main/.buildkite/pipeline-resource-definitions/kibana-performance-data-set-extraction-daily.yml
- https://github.com/elastic/kibana/blob/main/.buildkite/pipeline-resource-definitions/kibana-purge-cloud-deployments.yml
- https://github.com/elastic/kibana/blob/main/.buildkite/pipeline-resource-definitions/kibana-serverless-release.yml
- https://github.com/elastic/kibana/blob/main/.buildkite/pipeline-resource-definitions/kibana-serverless-security-solution-quality-gate-api-integration.yml
- https://github.com/elastic/kibana/blob/main/.buildkite/pipeline-resource-definitions/scalability_testing-daily.yml
- https://github.com/elastic/kibana/blob/main/.buildkite/pipeline-resource-definitions/security-solution-ess/security-solution-ess.yml
- https://github.com/elastic/kibana/blob/main/.buildkite/pipeline-resource-definitions/security-solution-quality-gate/kibana-serverless-security-solution-quality-gate-defend-workflows.yml
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ spec:
kind: Pipeline
metadata:
name: "Kibana / Serverless / Security Solution Quality Gate / Defend Workflows"
description: "[MKI] Executes Cypress tests for the Defend Workflows team"
description: "[MKI] Executes Cypress and API tests for the Defend Workflows team"
spec:
repository: elastic/kibana
pipeline_file: .buildkite/pipelines/security_solution_quality_gate/mki_security_solution_defend_workflows.yml
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ spec:
kind: Pipeline
metadata:
name: "Kibana / Serverless / Security Solution Quality Gate / Detection Engine"
description: "[MKI] Executes Cypress tests for the Detection Engine team"
description: "[MKI] Executes Cypress and API tests for the Detection Engine team"
spec:
repository: elastic/kibana
pipeline_file: .buildkite/pipelines/security_solution_quality_gate/mki_security_solution_detection_engine.yml
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ spec:
kind: Pipeline
metadata:
name: "Kibana / Serverless / Security Solution Quality Gate / Entity Analytics"
description: "[MKI] Executes Cypress tests for the Entity Analytics team"
description: "[MKI] Executes Cypress and API tests for the Entity Analytics team"
spec:
repository: elastic/kibana
pipeline_file: .buildkite/pipelines/security_solution_quality_gate/mki_security_solution_entity_analytics.yml
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ spec:
kind: Pipeline
metadata:
name: "Kibana / Serverless / Security Solution Quality Gate / Explore"
description: "[MKI] Executes Cypress tests for the Explore team"
description: "[MKI] Executes Cypress and API tests for the Explore team"
spec:
repository: elastic/kibana
pipeline_file: .buildkite/pipelines/security_solution_quality_gate/mki_security_solution_explore.yml
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ spec:
kind: Pipeline
metadata:
name: "Kibana / Serverless / Security Solution Quality Gate / Gen Ai"
description: "[MKI] Executes Cypress tests for the Gen AI team"
description: "[MKI] Executes Cypress and API tests for the Gen AI team"
spec:
repository: elastic/kibana
pipeline_file: .buildkite/pipelines/security_solution_quality_gate/mki_security_solution_gen_ai.yml
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ spec:
kind: Pipeline
metadata:
name: "Kibana / Serverless / Security Solution Quality Gate / Investigations"
description: "[MKI] Executes Cypress tests for the Investigations team"
description: "[MKI] Executes Cypress and API tests for the Investigations team"
spec:
repository: elastic/kibana
pipeline_file: .buildkite/pipelines/security_solution_quality_gate/mki_security_solution_investigations.yml
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ spec:
kind: Pipeline
metadata:
name: "Kibana / Serverless / Security Solution Quality Gate / Rule Management"
description: "[MKI] Executes Cypress tests for the Rule Management team"
description: "[MKI] Executes Cypress and API tests for the Rule Management team"
spec:
repository: elastic/kibana
pipeline_file: .buildkite/pipelines/security_solution_quality_gate/mki_security_solution_rule_management.yml
Expand Down
23 changes: 0 additions & 23 deletions .buildkite/pipelines/security_solution/api_integration.yml

This file was deleted.

Loading

0 comments on commit abb29e8

Please sign in to comment.