Skip to content

Commit 90d0566

Browse files
author
Sébastien Loix
authored
Merge branch 'main' into serverless-chrome/add-panel-to-side-nav
2 parents daeb4ac + 761fa51 commit 90d0566

883 files changed

Lines changed: 16837 additions & 16643 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.buildkite/pipelines/on_merge.yml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -187,18 +187,6 @@ steps:
187187
- exit_status: '*'
188188
limit: 1
189189

190-
- command: .buildkite/scripts/steps/functional/osquery_cypress.sh
191-
label: 'Osquery Cypress Tests'
192-
agents:
193-
queue: n2-4-spot
194-
depends_on: build
195-
timeout_in_minutes: 50
196-
parallelism: 6
197-
retry:
198-
automatic:
199-
- exit_status: '*'
200-
limit: 1
201-
202190
- command: '.buildkite/scripts/steps/functional/on_merge_unsupported_ftrs.sh'
203191
label: Trigger unsupported ftr tests
204192
timeout_in_minutes: 10

.buildkite/pipelines/on_merge_unsupported_ftrs.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,3 +63,15 @@ steps:
6363
limit: 3
6464
- exit_status: '*'
6565
limit: 1
66+
67+
- command: .buildkite/scripts/steps/functional/osquery_cypress.sh
68+
label: 'Osquery Cypress Tests'
69+
agents:
70+
queue: n2-4-spot
71+
depends_on: build
72+
timeout_in_minutes: 50
73+
parallelism: 6
74+
retry:
75+
automatic:
76+
- exit_status: '*'
77+
limit: 1

.buildkite/pipelines/pull_request/base.yml

Lines changed: 0 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -187,20 +187,6 @@ steps:
187187
- exit_status: '*'
188188
limit: 1
189189

190-
- command: .buildkite/scripts/steps/functional/osquery_cypress.sh
191-
label: 'Osquery Cypress Tests'
192-
agents:
193-
queue: n2-4-spot
194-
depends_on: build
195-
timeout_in_minutes: 50
196-
parallelism: 6
197-
retry:
198-
automatic:
199-
- exit_status: '*'
200-
limit: 1
201-
artifact_paths:
202-
- 'target/kibana-osquery/**/*'
203-
204190
- command: .buildkite/scripts/steps/functional/security_solution_burn.sh
205191
label: 'Security Solution Cypress tests, burning changed specs'
206192
agents:
@@ -212,39 +198,6 @@ steps:
212198
automatic: false
213199
soft_fail: true
214200

215-
- command: .buildkite/scripts/steps/code_generation/security_solution_codegen.sh
216-
label: 'Security Solution OpenAPI codegen'
217-
agents:
218-
queue: n2-2-spot
219-
timeout_in_minutes: 60
220-
parallelism: 1
221-
222-
- command: .buildkite/scripts/steps/functional/osquery_cypress_burn.sh
223-
label: 'Osquery Cypress Tests, burning changed specs'
224-
agents:
225-
queue: n2-4-spot
226-
depends_on: build
227-
timeout_in_minutes: 50
228-
soft_fail: true
229-
retry:
230-
automatic: false
231-
artifact_paths:
232-
- 'target/kibana-osquery/**/*'
233-
234-
- command: .buildkite/scripts/steps/functional/security_serverless_osquery.sh
235-
label: 'Serverless Osquery Cypress Tests'
236-
agents:
237-
queue: n2-4-spot
238-
depends_on: build
239-
timeout_in_minutes: 50
240-
parallelism: 6
241-
retry:
242-
automatic:
243-
- exit_status: '*'
244-
limit: 1
245-
artifact_paths:
246-
- 'target/kibana-osquery/**/*'
247-
248201
# status_exception: Native role management is not enabled in this Elasticsearch instance
249202
# - command: .buildkite/scripts/steps/functional/security_serverless_defend_workflows.sh
250203
# label: 'Serverless Security Defend Workflows Cypress Tests'
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
steps:
2+
- command: .buildkite/scripts/steps/functional/osquery_cypress.sh
3+
label: 'Osquery Cypress Tests'
4+
agents:
5+
queue: n2-4-spot
6+
depends_on: build
7+
timeout_in_minutes: 50
8+
parallelism: 6
9+
retry:
10+
automatic:
11+
- exit_status: '*'
12+
limit: 1
13+
artifact_paths:
14+
- "target/kibana-osquery/**/*"
15+
16+
- command: .buildkite/scripts/steps/functional/security_serverless_osquery.sh
17+
label: 'Serverless Osquery Cypress Tests'
18+
agents:
19+
queue: n2-4-spot
20+
depends_on: build
21+
timeout_in_minutes: 50
22+
parallelism: 6
23+
retry:
24+
automatic:
25+
- exit_status: '*'
26+
limit: 1
27+
artifact_paths:
28+
- 'target/kibana-osquery/**/*'
29+
30+
- command: .buildkite/scripts/steps/functional/osquery_cypress_burn.sh
31+
label: 'Osquery Cypress Tests, burning changed specs'
32+
agents:
33+
queue: n2-4-spot
34+
depends_on: build
35+
timeout_in_minutes: 50
36+
soft_fail: true
37+
retry:
38+
automatic: false
39+
artifact_paths:
40+
- 'target/kibana-osquery/**/*'

.buildkite/pipelines/quality-gates/pipeline.tests-production-canary.yaml

Lines changed: 0 additions & 25 deletions
This file was deleted.

.buildkite/pipelines/quality-gates/pipeline.tests-production-noncanary.yaml

Lines changed: 0 additions & 22 deletions
This file was deleted.

.buildkite/pipelines/quality-gates/pipeline.tests-production.yaml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@
22
# Incorporate any necessary additional logic to validate the service's integrity.
33
# A failure in this pipeline build will prevent further progression to the subsequent stage.
44

5-
# DEPRECATION NOTICE:
6-
# PRODUCTION WILL SOON BE SPLIT INTO "CANARY" AND "NONCANARY" AND THIS FILE WILL BE DELETED.
7-
# ENSURE ANY CHANGE MADE TO THIS FILE IS REFLECTED IN THOSE FILES AS WELL.
8-
95
steps:
106
- label: ":pipeline::kibana::seedling: Trigger SLO check"
117
trigger: "serverless-quality-gates" # https://buildkite.com/elastic/serverless-quality-gates
@@ -18,9 +14,14 @@ steps:
1814
soft_fail: true
1915

2016
- label: ":pipeline::rocket::seedling: Trigger control-plane e2e tests"
17+
if: build.env("ENVIRONMENT") == "production-canary"
2118
trigger: "ess-k8s-production-e2e-tests" # https://buildkite.com/elastic/ess-k8s-production-e2e-tests
2219
build:
2320
env:
2421
REGION_ID: aws-us-east-1
2522
NAME_PREFIX: ci_test_kibana-promotion_
2623
message: "${BUILDKITE_MESSAGE} (triggered by pipeline.tests-production.yaml)"
24+
25+
- label: ":cookie: 24h bake time before continuing promotion"
26+
if: build.env("ENVIRONMENT") == "production-canary"
27+
command: "sleep 86400"

.buildkite/scripts/pipelines/pull_request/pipeline.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,14 @@ const uploadPipeline = (pipelineContent: string | object) => {
151151
pipeline.push(getPipeline('.buildkite/pipelines/pull_request/webpack_bundle_analyzer.yml'));
152152
}
153153

154+
if (
155+
((await doAnyChangesMatch([/^x-pack\/plugins\/osquery/, /^x-pack\/test\/osquery_cypress/])) ||
156+
GITHUB_PR_LABELS.includes('ci:all-cypress-suites')) &&
157+
!GITHUB_PR_LABELS.includes('ci:skip-cypress-osquery')
158+
) {
159+
pipeline.push(getPipeline('.buildkite/pipelines/pull_request/osquery_cypress.yml'));
160+
}
161+
154162
if (
155163
(await doAnyChangesMatch([
156164
/\.docnav\.json$/,

.buildkite/scripts/steps/checks.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,4 @@ export DISABLE_BOOTSTRAP_VALIDATION=false
2222
.buildkite/scripts/steps/checks/test_hardening.sh
2323
.buildkite/scripts/steps/checks/ftr_configs.sh
2424
.buildkite/scripts/steps/checks/saved_objects_compat_changes.sh
25+
.buildkite/scripts/steps/code_generation/security_solution_codegen.sh

api_docs/actions.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/actions
88
title: "actions"
99
image: https://source.unsplash.com/400x175/?github
1010
description: API docs for the actions plugin
11-
date: 2023-10-17
11+
date: 2023-10-18
1212
tags: ['contributor', 'dev', 'apidocs', 'kibana', 'actions']
1313
---
1414
import actionsObj from './actions.devdocs.json';

0 commit comments

Comments
 (0)