-
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][Serverless] FTR API Integration tests - Refactoring - Issu…
…e fixing (#182245) ## Summary This PR is addressing the following issues: - The pipelines defined in `.buildkite/pipeline-resource-definitions/security-solution-quality-gate/` folder were skipping intermediate builds. We need to be able to run more than one build in the same time for these pipelines. - As part of the refactoring / optimization of the `.buildkite/scripts/pipelines/security_solution_quality_gate/api_integration/api-integration-tests.sh` script, it now executes a TS script in order to handle the projects for serverless and execute the yarn script provided. - As part of this refactoring, the methods and worfklow defined in the `x-pack/plugins/security_solution/scripts/run_cypress/parallel_serverless.ts` is now followed in order to reduce code duplication and maintenance. - Fixed an issue in `x-pack/test/security_solution_api_integration/scripts/index.js`. This issue was causing false green test executions in buildkite. The exit code was not actually returned from the child process so the exit code of this script was 0, even though the child process (test execution) was failing giving back an exit code 1. - Parameterized `.buildkite/pipelines/security_solution/api_integration.yml` to be running the correct test suite (release or periodic) depending on whether the environment variable `QUALITY_GATE=1` is passed or not. The last bullet was misleading the test results interpretation, reading as successful test runtime scripts which had one or more test failures. E.g: [Buildkite Test Execution being green with failing tests.](https://buildkite.com/elastic/kibana-serverless-security-solution-quality-gate-api-integration/builds/307#018f3409-c062-4edf-9663-3ba785823a6c/294-757) --------- Co-authored-by: kibanamachine <[email protected]>
- Loading branch information
1 parent
9e2bdc8
commit 75c7f11
Showing
19 changed files
with
980 additions
and
750 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
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
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
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
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
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
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
Oops, something went wrong.