mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 01:13:23 -04:00
[security_solution] Update serverless buildkite pipeline (#164155)
## Summary Align buildkite pipelines between ess and serverless
This commit is contained in:
parent
c822993c14
commit
aaedb2d449
9 changed files with 105 additions and 39 deletions
|
@ -13,6 +13,34 @@ steps:
|
|||
artifact_paths:
|
||||
- "target/kibana-security-solution/**/*"
|
||||
|
||||
- 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: 2
|
||||
retry:
|
||||
automatic:
|
||||
- exit_status: '*'
|
||||
limit: 1
|
||||
artifact_paths:
|
||||
- "target/kibana-security-solution/**/*"
|
||||
|
||||
- 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: 120
|
||||
parallelism: 4
|
||||
retry:
|
||||
automatic:
|
||||
- exit_status: '*'
|
||||
limit: 1
|
||||
artifact_paths:
|
||||
- "target/kibana-security-solution/**/*"
|
||||
|
||||
- command: .buildkite/scripts/steps/functional/security_solution_burn.sh
|
||||
label: 'Security Solution Cypress tests, burning changed specs'
|
||||
agents:
|
||||
|
@ -22,4 +50,4 @@ steps:
|
|||
parallelism: 1
|
||||
soft_fail: true
|
||||
artifact_paths:
|
||||
- "target/kibana-security-solution/**/*"
|
||||
- "target/kibana-security-solution/**/*"
|
||||
|
|
|
@ -1,14 +0,0 @@
|
|||
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: 2
|
||||
retry:
|
||||
automatic:
|
||||
- exit_status: '*'
|
||||
limit: 1
|
||||
artifact_paths:
|
||||
- "target/kibana-security-solution/**/*"
|
|
@ -1,14 +0,0 @@
|
|||
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: 120
|
||||
parallelism: 4
|
||||
retry:
|
||||
automatic:
|
||||
- exit_status: '*'
|
||||
limit: 1
|
||||
artifact_paths:
|
||||
- "target/kibana-security-solution/**/*"
|
|
@ -66,11 +66,66 @@ steps:
|
|||
queue: n2-4-spot
|
||||
depends_on: build
|
||||
timeout_in_minutes: 40
|
||||
parallelism: 12
|
||||
retry:
|
||||
automatic:
|
||||
- exit_status: '-1'
|
||||
limit: 3
|
||||
- exit_status: '*'
|
||||
limit: 1
|
||||
artifact_paths:
|
||||
- "target/kibana-security-serverless/**/*"
|
||||
- "target/kibana-security-serverless/**/*"
|
||||
|
||||
- command: .buildkite/scripts/steps/functional/security_serverless.sh
|
||||
label: 'Explore - Security Solution Cypress Tests'
|
||||
agents:
|
||||
queue: n2-4-spot
|
||||
depends_on: build
|
||||
timeout_in_minutes: 40
|
||||
parallelism: 12
|
||||
retry:
|
||||
automatic:
|
||||
- exit_status: '*'
|
||||
limit: 1
|
||||
artifact_paths:
|
||||
- "target/kibana-security-serverless/**/*"
|
||||
|
||||
- command: .buildkite/scripts/steps/functional/security_serverless.sh
|
||||
label: 'Serverless Security Cypress Tests'
|
||||
agents:
|
||||
queue: n2-4-spot
|
||||
depends_on: build
|
||||
timeout_in_minutes: 40
|
||||
parallelism: 12
|
||||
retry:
|
||||
automatic:
|
||||
- exit_status: '*'
|
||||
limit: 1
|
||||
artifact_paths:
|
||||
- "target/kibana-security-serverless/**/*"
|
||||
|
||||
- command: .buildkite/scripts/steps/functional/security_serverless_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
|
||||
artifact_paths:
|
||||
- "target/kibana-security-serverless/**/*"
|
||||
|
||||
- command: .buildkite/scripts/steps/functional/security_serverless_investigations.sh
|
||||
label: 'Investigations - Security Solution Cypress Tests'
|
||||
agents:
|
||||
queue: n2-4-spot
|
||||
depends_on: build
|
||||
timeout_in_minutes: 120
|
||||
parallelism: 6
|
||||
retry:
|
||||
automatic:
|
||||
- exit_status: '*'
|
||||
limit: 1
|
||||
artifact_paths:
|
||||
- "target/kibana-security-serverless/**/*"
|
||||
|
|
|
@ -75,10 +75,6 @@ const uploadPipeline = (pipelineContent: string | object) => {
|
|||
GITHUB_PR_LABELS.includes('ci:all-cypress-suites')
|
||||
) {
|
||||
pipeline.push(getPipeline('.buildkite/pipelines/pull_request/security_solution.yml'));
|
||||
pipeline.push(
|
||||
getPipeline('.buildkite/pipelines/pull_request/security_solution_investigations.yml'),
|
||||
getPipeline('.buildkite/pipelines/pull_request/security_solution_explore.yml')
|
||||
);
|
||||
pipeline.push(getPipeline('.buildkite/pipelines/pull_request/defend_workflows.yml'));
|
||||
pipeline.push(getPipeline('.buildkite/pipelines/pull_request/osquery_cypress.yml'));
|
||||
}
|
||||
|
|
|
@ -8,6 +8,6 @@ source .buildkite/scripts/steps/functional/common_cypress.sh
|
|||
export JOB=kibana-serverless-security-cypress
|
||||
export KIBANA_INSTALL_DIR=${KIBANA_BUILD_LOCATION}
|
||||
|
||||
echo "--- Security Serverless Cypress"
|
||||
echo "--- Security Serverless Cypress Tests"
|
||||
|
||||
yarn --cwd x-pack/test/security_solution_cypress cypress:run:serverless
|
||||
|
|
15
.buildkite/scripts/steps/functional/security_serverless_burn.sh
Executable file
15
.buildkite/scripts/steps/functional/security_serverless_burn.sh
Executable file
|
@ -0,0 +1,15 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
source .buildkite/scripts/steps/functional/common.sh
|
||||
source .buildkite/scripts/steps/functional/common_cypress.sh
|
||||
|
||||
export JOB=kibana-security-solution-chrome
|
||||
export KIBANA_INSTALL_DIR=${KIBANA_BUILD_LOCATION}
|
||||
|
||||
buildkite-agent meta-data set "${BUILDKITE_JOB_ID}_is_test_execution_step" 'false'
|
||||
|
||||
echo "--- Security Solution Cypress tests, burning changed specs (Chrome)"
|
||||
|
||||
yarn --cwd x-pack/test/security_solution_cypress cypress:changed-specs-only:serverless
|
|
@ -8,6 +8,6 @@ source .buildkite/scripts/steps/functional/common_cypress.sh
|
|||
export JOB=kibana-security-solution-chrome
|
||||
export KIBANA_INSTALL_DIR=${KIBANA_BUILD_LOCATION}
|
||||
|
||||
echo "--- Explore Cypress Tests on Serverless"
|
||||
echo "--- Explore - Security Solution Cypress Tests"
|
||||
|
||||
yarn --cwd x-pack/test/security_solution_cypress cypress:explore:run:serverless
|
||||
|
|
|
@ -8,6 +8,6 @@ source .buildkite/scripts/steps/functional/common_cypress.sh
|
|||
export JOB=kibana-security-solution-chrome
|
||||
export KIBANA_INSTALL_DIR=${KIBANA_BUILD_LOCATION}
|
||||
|
||||
echo "--- Investigations Cypress Tests on Security Solution"
|
||||
echo "--- Investigations - Security Solution Cypress Tests"
|
||||
|
||||
yarn --cwd x-pack/test/security_solution_cypress cypress:investigations:run:ess
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue