Skip to content

Commit d32f9dd

Browse files
committed
Merge remote-tracking branch 'upstream/main' into feature/dataview-state
2 parents d594e09 + 5dba807 commit d32f9dd

617 files changed

Lines changed: 8135 additions & 4669 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/bazel_cache.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,18 @@ steps:
2626
concurrency_group: bazel_macos
2727
concurrency: 1
2828
concurrency_method: eager
29+
retry:
30+
automatic:
31+
- exit_status: '*'
32+
limit: 1
2933
- command: .buildkite/scripts/steps/bazel_cache/bootstrap_mac.sh
3034
label: Bootstrap (MacOS ARM)
3135
priority: $${PRIORITY}
3236
agents:
3337
queue: macos-arm
3438
timeout_in_minutes: 60
39+
retry:
40+
automatic:
41+
- exit_status: '*'
42+
limit: 1
3543
YAML

.buildkite/scripts/bootstrap.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ source .buildkite/scripts/common/setup_bazel.sh
77

88
echo "--- yarn install and bootstrap"
99

10+
BOOTSTRAP_PARAMS=()
11+
if [[ "${BOOTSTRAP_ALWAYS_FORCE_INSTALL:-}" ]]; then
12+
BOOTSTRAP_PARAMS+=(--force-install)
13+
fi
14+
1015
# Use the node_modules that is baked into the agent image, if it exists, as a cache
1116
# But only for agents not mounting the workspace on a local ssd or in memory
1217
# It actually ends up being slower to move all of the tiny files between the disks vs extracting archives from the yarn cache
@@ -15,7 +20,7 @@ if [[ -d ~/.kibana/node_modules && "$(pwd)" != *"/local-ssd/"* && "$(pwd)" != "/
1520
mv ~/.kibana/node_modules ./
1621
fi
1722

18-
if ! yarn kbn bootstrap; then
23+
if ! yarn kbn bootstrap "${BOOTSTRAP_PARAMS[@]}"; then
1924
echo "bootstrap failed, trying again in 15 seconds"
2025
sleep 15
2126

.buildkite/scripts/build_kibana_plugins.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@
33
set -euo pipefail
44

55
echo "--- Build Platform Plugins"
6-
node scripts/build_kibana_platform_plugins --examples --test-plugins
6+
THREADS=$(grep -c ^processor /proc/cpuinfo)
7+
node scripts/build_kibana_platform_plugins --examples --test-plugins --workers "$THREADS" --no-inspect-workers --no-progress

.buildkite/scripts/steps/bazel_cache/bootstrap_mac.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ source .buildkite/scripts/common/util.sh
77
export BAZEL_CACHE_MODE=populate-local-gcs
88
export DISABLE_BOOTSTRAP_VALIDATION=true
99

10+
# Because we're manually deleting node_modules and bazel directories in-between runs, we need to --force-install
11+
export BOOTSTRAP_ALWAYS_FORCE_INSTALL=true
12+
1013
# Clear out bazel cache between runs to make sure that any artifacts that don't exist in the cache are uploaded
1114
rm -rf ~/.bazel-cache
1215

STYLEGUIDE.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
id: kibStyleGuide
33
slug: /kibana-dev-docs/contributing/styleguide
44
title: Style Guide
5-
summary: JavaScript/TypeScript styleguide.
5+
description: JavaScript/TypeScript styleguide.
66
date: 2021-05-06
77
tags: ['kibana', 'onboarding', 'dev', 'styleguide', 'typescript', 'javascript']
88
---

api_docs/actions.mdx

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
11
---
2+
####
3+
#### This document is auto-generated and is meant to be viewed inside our experimental, new docs system.
4+
#### Reach out in #docs-engineering for more info.
5+
####
26
id: kibActionsPluginApi
37
slug: /kibana-dev-docs/api/actions
48
title: "actions"
59
image: https://source.unsplash.com/400x175/?github
6-
summary: API docs for the actions plugin
7-
date: 2022-08-10
10+
description: API docs for the actions plugin
11+
date: 2022-08-11
812
tags: ['contributor', 'dev', 'apidocs', 'kibana', 'actions']
9-
warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info.
1013
---
1114
import actionsObj from './actions.devdocs.json';
1215

api_docs/advanced_settings.mdx

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
11
---
2+
####
3+
#### This document is auto-generated and is meant to be viewed inside our experimental, new docs system.
4+
#### Reach out in #docs-engineering for more info.
5+
####
26
id: kibAdvancedSettingsPluginApi
37
slug: /kibana-dev-docs/api/advancedSettings
48
title: "advancedSettings"
59
image: https://source.unsplash.com/400x175/?github
6-
summary: API docs for the advancedSettings plugin
7-
date: 2022-08-10
10+
description: API docs for the advancedSettings plugin
11+
date: 2022-08-11
812
tags: ['contributor', 'dev', 'apidocs', 'kibana', 'advancedSettings']
9-
warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info.
1013
---
1114
import advancedSettingsObj from './advanced_settings.devdocs.json';
1215

api_docs/aiops.mdx

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
11
---
2+
####
3+
#### This document is auto-generated and is meant to be viewed inside our experimental, new docs system.
4+
#### Reach out in #docs-engineering for more info.
5+
####
26
id: kibAiopsPluginApi
37
slug: /kibana-dev-docs/api/aiops
48
title: "aiops"
59
image: https://source.unsplash.com/400x175/?github
6-
summary: API docs for the aiops plugin
7-
date: 2022-08-10
10+
description: API docs for the aiops plugin
11+
date: 2022-08-11
812
tags: ['contributor', 'dev', 'apidocs', 'kibana', 'aiops']
9-
warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info.
1013
---
1114
import aiopsObj from './aiops.devdocs.json';
1215

api_docs/alerting.mdx

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
11
---
2+
####
3+
#### This document is auto-generated and is meant to be viewed inside our experimental, new docs system.
4+
#### Reach out in #docs-engineering for more info.
5+
####
26
id: kibAlertingPluginApi
37
slug: /kibana-dev-docs/api/alerting
48
title: "alerting"
59
image: https://source.unsplash.com/400x175/?github
6-
summary: API docs for the alerting plugin
7-
date: 2022-08-10
10+
description: API docs for the alerting plugin
11+
date: 2022-08-11
812
tags: ['contributor', 'dev', 'apidocs', 'kibana', 'alerting']
9-
warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info.
1013
---
1114
import alertingObj from './alerting.devdocs.json';
1215

api_docs/apm.mdx

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
11
---
2+
####
3+
#### This document is auto-generated and is meant to be viewed inside our experimental, new docs system.
4+
#### Reach out in #docs-engineering for more info.
5+
####
26
id: kibApmPluginApi
37
slug: /kibana-dev-docs/api/apm
48
title: "apm"
59
image: https://source.unsplash.com/400x175/?github
6-
summary: API docs for the apm plugin
7-
date: 2022-08-10
10+
description: API docs for the apm plugin
11+
date: 2022-08-11
812
tags: ['contributor', 'dev', 'apidocs', 'kibana', 'apm']
9-
warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info.
1013
---
1114
import apmObj from './apm.devdocs.json';
1215

0 commit comments

Comments
 (0)