Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
14 changes: 7 additions & 7 deletions .buildkite/ftr_oblt_serverless_configs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,13 @@ disabled:
- x-pack/test_serverless/functional/test_suites/observability/config.screenshots.ts
- x-pack/test_serverless/functional/test_suites/observability/config.telemetry.ts
# serverless config files that run deployment-agnostic tests
- x-pack/test/api_integration/deployment_agnostic/configs/serverless/oblt.serverless.config.ts
- x-pack/test/api_integration/deployment_agnostic/configs/serverless/oblt.logs_essentials.serverless.config.ts
- x-pack/test/api_integration/deployment_agnostic/configs/serverless/oblt.ai_assistant.serverless.config.ts
- x-pack/test/api_integration/deployment_agnostic/configs/serverless/oblt.apm.serverless.config.ts
- x-pack/test/api_integration/deployment_agnostic/configs/serverless/oblt.synthetics.serverless.config.ts
- x-pack/test/api_integration/deployment_agnostic/configs/serverless/oblt.streams.serverless.config.ts
- x-pack/test/api_integration/deployment_agnostic/feature_flag_configs/serverless/oblt.serverless.config.ts
- x-pack/solutions/observability/test/api_integration_deployment_agnostic/configs/serverless/oblt.serverless.config.ts
- x-pack/solutions/observability/test/api_integration_deployment_agnostic/configs/serverless/oblt.logs_essentials.serverless.config.ts
- x-pack/solutions/observability/test/api_integration_deployment_agnostic/configs/serverless/oblt.ai_assistant.serverless.config.ts
- x-pack/solutions/observability/test/api_integration_deployment_agnostic/configs/serverless/oblt.apm.serverless.config.ts
- x-pack/solutions/observability/test/api_integration_deployment_agnostic/configs/serverless/oblt.synthetics.serverless.config.ts
- x-pack/solutions/observability/test/api_integration_deployment_agnostic/configs/serverless/oblt.streams.serverless.config.ts
- x-pack/solutions/observability/test/api_integration_deployment_agnostic/feature_flag_configs/serverless/oblt.serverless.config.ts

# Serverless tests only run on main
defaultQueue: 'n2-4-spot'
Expand Down
6 changes: 3 additions & 3 deletions .buildkite/ftr_oblt_stateful_configs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,6 @@ enabled:
- x-pack/test/functional/apps/apm/config.ts
- x-pack/test/functional_with_es_ssl/apps/config.ts
# stateful configs that run deployment-agnostic tests
- x-pack/test/api_integration/deployment_agnostic/configs/stateful/oblt.stateful.config.ts
- x-pack/test/api_integration/deployment_agnostic/configs/stateful/oblt.apm.stateful.config.ts
- x-pack/test/api_integration/deployment_agnostic/feature_flag_configs/stateful/oblt.stateful.config.ts
- x-pack/solutions/observability/test/api_integration_deployment_agnostic/configs/stateful/oblt.stateful.config.ts
- x-pack/solutions/observability/test/api_integration_deployment_agnostic/configs/stateful/oblt.apm.stateful.config.ts
- x-pack/solutions/observability/test/api_integration_deployment_agnostic/feature_flag_configs/stateful/oblt.stateful.config.ts
68 changes: 34 additions & 34 deletions .buildkite/pipelines/es_serverless/verify_es_serverless_image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ agents:
machineType: n2-standard-2

steps:
- label: "Annotate runtime parameters"
- label: 'Annotate runtime parameters'
command: .buildkite/scripts/steps/es_serverless/annotate_runtime_parameters.sh

- group: "(:kibana: x :elastic:) Trigger Kibana Serverless suite"
- group: '(:kibana: x :elastic:) Trigger Kibana Serverless suite'
if: "build.env('SKIP_VERIFICATION') != '1' && build.env('SKIP_VERIFICATION') != 'true'"
steps:
- label: "Pre-Build"
- label: 'Pre-Build'
command: .buildkite/scripts/lifecycle/pre_build.sh
key: pre-build
timeout_in_minutes: 10
Expand All @@ -31,7 +31,7 @@ steps:
provider: gcp
machineType: n2-standard-2

- label: "Build Kibana Distribution"
- label: 'Build Kibana Distribution'
command: .buildkite/scripts/steps/build_kibana.sh
agents:
image: family/kibana-ubuntu-2004
Expand All @@ -44,26 +44,26 @@ steps:
timeout_in_minutes: 60
retry:
automatic:
- exit_status: "-1"
- exit_status: '-1'
limit: 3

- label: "Pick Test Group Run Order (FTR + Integration)"
- label: 'Pick Test Group Run Order (FTR + Integration)'
command: .buildkite/scripts/steps/test/pick_test_group_run_order.sh
depends_on: build
timeout_in_minutes: 10
env:
FTR_CONFIGS_SCRIPT: "TEST_ES_SERVERLESS_IMAGE=$ES_SERVERLESS_IMAGE .buildkite/scripts/steps/test/ftr_configs.sh"
JEST_INTEGRATION_SCRIPT: "TEST_ES_SERVERLESS_IMAGE=$ES_SERVERLESS_IMAGE .buildkite/scripts/steps/test/jest_integration.sh"
FTR_CONFIG_PATTERNS: "**/test_serverless/**,**/test/security_solution_api_integration/**/serverless.config.ts"
FTR_EXTRA_ARGS: "$FTR_EXTRA_ARGS"
LIMIT_CONFIG_TYPE: "functional,integration"
FTR_CONFIGS_SCRIPT: 'TEST_ES_SERVERLESS_IMAGE=$ES_SERVERLESS_IMAGE .buildkite/scripts/steps/test/ftr_configs.sh'
JEST_INTEGRATION_SCRIPT: 'TEST_ES_SERVERLESS_IMAGE=$ES_SERVERLESS_IMAGE .buildkite/scripts/steps/test/jest_integration.sh'
FTR_CONFIG_PATTERNS: '**/test_serverless/**,**/test/security_solution_api_integration/**/serverless.config.ts,x-pack/solutions/observability/test/api_integration_deployment_agnostic/configs/serverless/**,x-pack/platform/test/api_integration_deployment_agnostic/configs/serverless/**'
FTR_EXTRA_ARGS: '$FTR_EXTRA_ARGS'
LIMIT_CONFIG_TYPE: 'functional,integration'
retry:
automatic:
- exit_status: "*"
- exit_status: '*'
limit: 1

- command: .buildkite/scripts/steps/functional/security_serverless_entity_analytics.sh
label: "Serverless Entity Analytics - Security Solution Cypress Tests"
label: 'Serverless Entity Analytics - Security Solution Cypress Tests'
if: "build.env('SKIP_CYPRESS') != '1' && build.env('SKIP_CYPRESS') != 'true'"
agents:
image: family/kibana-ubuntu-2004
Expand All @@ -76,11 +76,11 @@ steps:
parallelism: 3
retry:
automatic:
- exit_status: "-1"
- exit_status: '-1'
limit: 1

- command: .buildkite/scripts/steps/functional/security_serverless_explore.sh
label: "Serverless Explore - Security Solution Cypress Tests"
label: 'Serverless Explore - Security Solution Cypress Tests'
if: "build.env('SKIP_CYPRESS') != '1' && build.env('SKIP_CYPRESS') != 'true'"
agents:
image: family/kibana-ubuntu-2004
Expand All @@ -93,11 +93,11 @@ steps:
parallelism: 4
retry:
automatic:
- exit_status: "-1"
- exit_status: '-1'
limit: 1

- command: .buildkite/scripts/steps/functional/security_serverless_investigations.sh
label: "Serverless Investigations - Security Solution Cypress Tests"
label: 'Serverless Investigations - Security Solution Cypress Tests'
if: "build.env('SKIP_CYPRESS') != '1' && build.env('SKIP_CYPRESS') != 'true'"
agents:
image: family/kibana-ubuntu-2004
Expand All @@ -110,11 +110,11 @@ steps:
parallelism: 10
retry:
automatic:
- exit_status: "-1"
- exit_status: '-1'
limit: 1

- command: .buildkite/scripts/steps/functional/security_serverless_rule_management.sh
label: "Serverless Rule Management - Security Solution Cypress Tests"
label: 'Serverless Rule Management - Security Solution Cypress Tests'
if: "build.env('SKIP_CYPRESS') != '1' && build.env('SKIP_CYPRESS') != 'true'"
agents:
image: family/kibana-ubuntu-2004
Expand All @@ -127,11 +127,11 @@ steps:
parallelism: 5
retry:
automatic:
- exit_status: "-1"
- exit_status: '-1'
limit: 1

- command: .buildkite/scripts/steps/functional/security_serverless_rule_management_prebuilt_rules.sh
label: "Serverless Rule Management - Prebuilt Rules - Security Solution Cypress Tests"
label: 'Serverless Rule Management - Prebuilt Rules - Security Solution Cypress Tests'
if: "build.env('SKIP_CYPRESS') != '1' && build.env('SKIP_CYPRESS') != 'true'"
agents:
image: family/kibana-ubuntu-2004
Expand All @@ -144,11 +144,11 @@ steps:
parallelism: 1
retry:
automatic:
- exit_status: "-1"
- exit_status: '-1'
limit: 1

- command: .buildkite/scripts/steps/functional/security_serverless_detection_engine.sh
label: "Serverless Detection Engine - Security Solution Cypress Tests"
label: 'Serverless Detection Engine - Security Solution Cypress Tests'
if: "build.env('SKIP_CYPRESS') != '1' && build.env('SKIP_CYPRESS') != 'true'"
agents:
image: family/kibana-ubuntu-2004
Expand All @@ -161,11 +161,11 @@ steps:
parallelism: 5
retry:
automatic:
- exit_status: "-1"
- exit_status: '-1'
limit: 1

- command: .buildkite/scripts/steps/functional/security_serverless_detection_engine_exceptions.sh
label: "Serverless Detection Engine - Exceptions - Security Solution Cypress Tests"
label: 'Serverless Detection Engine - Exceptions - Security Solution Cypress Tests'
if: "build.env('SKIP_CYPRESS') != '1' && build.env('SKIP_CYPRESS') != 'true'"
agents:
image: family/kibana-ubuntu-2004
Expand All @@ -178,11 +178,11 @@ steps:
parallelism: 4
retry:
automatic:
- exit_status: "-1"
- exit_status: '-1'
limit: 1

- command: .buildkite/scripts/steps/functional/security_serverless_ai_assistant.sh
label: "Serverless AI Assistant - Security Solution Cypress Tests"
label: 'Serverless AI Assistant - Security Solution Cypress Tests'
if: "build.env('SKIP_CYPRESS') != '1' && build.env('SKIP_CYPRESS') != 'true'"
agents:
image: family/kibana-ubuntu-2004
Expand All @@ -195,11 +195,11 @@ steps:
parallelism: 1
retry:
automatic:
- exit_status: "-1"
- exit_status: '-1'
limit: 1

- command: .buildkite/scripts/steps/functional/defend_workflows_serverless.sh
label: "Defend Workflows Cypress Tests on Serverless"
label: 'Defend Workflows Cypress Tests on Serverless'
if: "build.env('SKIP_CYPRESS') != '1' && build.env('SKIP_CYPRESS') != 'true'"
agents:
image: family/kibana-ubuntu-2004
Expand All @@ -212,11 +212,11 @@ steps:
parallelism: 12
retry:
automatic:
- exit_status: "-1"
- exit_status: '-1'
limit: 1

- command: .buildkite/scripts/steps/functional/security_serverless_osquery.sh
label: "Osquery Cypress Tests on Serverless"
label: 'Osquery Cypress Tests on Serverless'
if: "build.env('SKIP_CYPRESS') != '1' && build.env('SKIP_CYPRESS') != 'true'"
agents:
image: family/kibana-ubuntu-2004
Expand All @@ -229,16 +229,16 @@ steps:
parallelism: 7
retry:
automatic:
- exit_status: "-1"
- exit_status: '-1'
limit: 1

- wait: ~

- label: ":arrow_up::elastic::arrow_up: Promote docker image"
- label: ':arrow_up::elastic::arrow_up: Promote docker image'
command: .buildkite/scripts/steps/es_serverless/promote_es_serverless_image.sh $ES_SERVERLESS_IMAGE

- wait: ~

- label: "Post-Build"
- label: 'Post-Build'
command: .buildkite/scripts/lifecycle/post_build.sh
timeout_in_minutes: 10
5 changes: 3 additions & 2 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -652,9 +652,10 @@ module.exports = {
'x-pack/platform/test/*/{tests,test_suites,apis,apps}/**/*',
'x-pack/platform/test/*api_integration*/**/*',
'x-pack/platform/test/*/*config.*ts',
'x-pack/solutions/*/test/**/{tests,test_suites,apis,apps,deployment_agnostic,fixtures}/**/*',
'x-pack/solutions/*/test/**/{tests,test_suites,apis,apps,fixtures}/**/*',
'x-pack/solutions/*/test/*api_integration*/**/*',
'x-pack/solutions/*/test/**/*config.*ts',
'x-pack/test/*/{tests,test_suites,apis,apps,deployment_agnostic}/**/*',
'x-pack/test/*/{tests,test_suites,apis,apps}/**/*',
'x-pack/test/*/*config.*ts',
'x-pack/platform/test/saved_object_api_integration/*/apis/**/*',
'x-pack/platform/test/ui_capabilities/*/tests/**/*',
Expand Down
Loading