-
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.
[8.14] [Security Solution] Adds serverlessQA tag to the API tests (#1…
…80773) (#181468) # Backport This will backport the following commits from `main` to `8.14`: - [[Security Solution] Adds serverlessQA tag to the API tests (#180773)](#180773) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Gloria Hornero","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-04-23T16:21:13Z","message":"[Security Solution] Adds serverlessQA tag to the API tests (#180773)\n\nContinues #179737 effort we are\r\naligning the tags on Cypress and API to have a unified experience.\r\n\r\n## Summary\r\n\r\nWe want to start integrating our Cypress tests with the serverless\r\nKibana quality gate. However, not all the teams feel comfortable\r\nenabling all the tests, to facilitate the effort of enabling tests in\r\nthe quality gate we are adding the `@serverlessQA` tag, now on API tests\r\nas well.\r\n\r\nWe use tags to select which tests we want to execute on each environment\r\nand pipeline.\r\n\r\n`ess` - runs in ESS env\r\n`serverless` - runs in serverless env and periodic pipeline (failures\r\ndon't block release)\r\n`serverlessQA` - runs in kibana release process (failures block release)\r\n`skipInEss` - skipped for ESS env\r\n`skipInServerless` - skipped for all serverless related environments\r\n`skipInServerlessMKI` - skipped for MKI environments\r\n\r\n### Description\r\n\r\n**Tests tagged as `@serverless`**\r\n\r\nAll the tests tagged as `@serverless` will be executed as part of the PR\r\nvalidation process using the serverless FTR environment (not a real\r\none). That tests will be executed as well as part of the periodic\r\npipeline using a real serverless project. QA environment is used to do\r\nso using the latest available commit in main at the time of the\r\nexecution.\r\n\r\n**Tests tagged as `@serverlessQA`**\r\n\r\nAll the tests tagged as `@serverlessQA` will be executed as part of the\r\nkibana release process using a real serverless project with the latest\r\nimage available in the QA environment\r\n\r\n**Tests tagged as `@ess`**\r\n\r\nAll the tests tagged as `@ess` will be executed as part of the PR\r\nvalidation process using an on-prem ESS environment.\r\n\r\n**Tests tagged as `@skipInServerless`**\r\n\r\nAll the tests tagged as `@skipInServerless` will be excluded from the PR\r\nvalidation process using the serverless FTR environment, the periodic\r\npipeline and kibana release process for Serverless.\r\n\r\n**Tests tagged as `@skipInEss`**\r\n\r\nAll the tests tagged as `skipInEss` will be excluded from the PR\r\nvalidation process using an on-prem ESS environment.\r\n\r\n---------\r\n\r\nCo-authored-by: Ryland Herrick <[email protected]>","sha":"c351e14e83552262a25488104d207ce70e1d0b47","branchLabelMapping":{"^v8.15.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team: SecuritySolution","v8.14.0","v8.15.0"],"title":"[Security Solution] Adds serverlessQA tag to the API tests","number":180773,"url":"https://github.com/elastic/kibana/pull/180773","mergeCommit":{"message":"[Security Solution] Adds serverlessQA tag to the API tests (#180773)\n\nContinues #179737 effort we are\r\naligning the tags on Cypress and API to have a unified experience.\r\n\r\n## Summary\r\n\r\nWe want to start integrating our Cypress tests with the serverless\r\nKibana quality gate. However, not all the teams feel comfortable\r\nenabling all the tests, to facilitate the effort of enabling tests in\r\nthe quality gate we are adding the `@serverlessQA` tag, now on API tests\r\nas well.\r\n\r\nWe use tags to select which tests we want to execute on each environment\r\nand pipeline.\r\n\r\n`ess` - runs in ESS env\r\n`serverless` - runs in serverless env and periodic pipeline (failures\r\ndon't block release)\r\n`serverlessQA` - runs in kibana release process (failures block release)\r\n`skipInEss` - skipped for ESS env\r\n`skipInServerless` - skipped for all serverless related environments\r\n`skipInServerlessMKI` - skipped for MKI environments\r\n\r\n### Description\r\n\r\n**Tests tagged as `@serverless`**\r\n\r\nAll the tests tagged as `@serverless` will be executed as part of the PR\r\nvalidation process using the serverless FTR environment (not a real\r\none). That tests will be executed as well as part of the periodic\r\npipeline using a real serverless project. QA environment is used to do\r\nso using the latest available commit in main at the time of the\r\nexecution.\r\n\r\n**Tests tagged as `@serverlessQA`**\r\n\r\nAll the tests tagged as `@serverlessQA` will be executed as part of the\r\nkibana release process using a real serverless project with the latest\r\nimage available in the QA environment\r\n\r\n**Tests tagged as `@ess`**\r\n\r\nAll the tests tagged as `@ess` will be executed as part of the PR\r\nvalidation process using an on-prem ESS environment.\r\n\r\n**Tests tagged as `@skipInServerless`**\r\n\r\nAll the tests tagged as `@skipInServerless` will be excluded from the PR\r\nvalidation process using the serverless FTR environment, the periodic\r\npipeline and kibana release process for Serverless.\r\n\r\n**Tests tagged as `@skipInEss`**\r\n\r\nAll the tests tagged as `skipInEss` will be excluded from the PR\r\nvalidation process using an on-prem ESS environment.\r\n\r\n---------\r\n\r\nCo-authored-by: Ryland Herrick <[email protected]>","sha":"c351e14e83552262a25488104d207ce70e1d0b47"}},"sourceBranch":"main","suggestedTargetBranches":["8.14"],"targetPullRequestStates":[{"branch":"8.14","label":"v8.14.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.15.0","branchLabelMappingKey":"^v8.15.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/180773","number":180773,"mergeCommit":{"message":"[Security Solution] Adds serverlessQA tag to the API tests (#180773)\n\nContinues #179737 effort we are\r\naligning the tags on Cypress and API to have a unified experience.\r\n\r\n## Summary\r\n\r\nWe want to start integrating our Cypress tests with the serverless\r\nKibana quality gate. However, not all the teams feel comfortable\r\nenabling all the tests, to facilitate the effort of enabling tests in\r\nthe quality gate we are adding the `@serverlessQA` tag, now on API tests\r\nas well.\r\n\r\nWe use tags to select which tests we want to execute on each environment\r\nand pipeline.\r\n\r\n`ess` - runs in ESS env\r\n`serverless` - runs in serverless env and periodic pipeline (failures\r\ndon't block release)\r\n`serverlessQA` - runs in kibana release process (failures block release)\r\n`skipInEss` - skipped for ESS env\r\n`skipInServerless` - skipped for all serverless related environments\r\n`skipInServerlessMKI` - skipped for MKI environments\r\n\r\n### Description\r\n\r\n**Tests tagged as `@serverless`**\r\n\r\nAll the tests tagged as `@serverless` will be executed as part of the PR\r\nvalidation process using the serverless FTR environment (not a real\r\none). That tests will be executed as well as part of the periodic\r\npipeline using a real serverless project. QA environment is used to do\r\nso using the latest available commit in main at the time of the\r\nexecution.\r\n\r\n**Tests tagged as `@serverlessQA`**\r\n\r\nAll the tests tagged as `@serverlessQA` will be executed as part of the\r\nkibana release process using a real serverless project with the latest\r\nimage available in the QA environment\r\n\r\n**Tests tagged as `@ess`**\r\n\r\nAll the tests tagged as `@ess` will be executed as part of the PR\r\nvalidation process using an on-prem ESS environment.\r\n\r\n**Tests tagged as `@skipInServerless`**\r\n\r\nAll the tests tagged as `@skipInServerless` will be excluded from the PR\r\nvalidation process using the serverless FTR environment, the periodic\r\npipeline and kibana release process for Serverless.\r\n\r\n**Tests tagged as `@skipInEss`**\r\n\r\nAll the tests tagged as `skipInEss` will be excluded from the PR\r\nvalidation process using an on-prem ESS environment.\r\n\r\n---------\r\n\r\nCo-authored-by: Ryland Herrick <[email protected]>","sha":"c351e14e83552262a25488104d207ce70e1d0b47"}}]}] BACKPORT--> Co-authored-by: Gloria Hornero <[email protected]>
- Loading branch information
1 parent
4faf826
commit eb3bd52
Showing
89 changed files
with
630 additions
and
188 deletions.
There are no files selected for viewing
389 changes: 389 additions & 0 deletions
389
.buildkite/pipelines/security_solution/api_integration_serverless_release.yml
Large diffs are not rendered by default.
Oops, something went wrong.
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
114 changes: 76 additions & 38 deletions
114
x-pack/test/security_solution_api_integration/package.json
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
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
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
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.