Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/main' into feature/dataview-state
Browse files Browse the repository at this point in the history
  • Loading branch information
dej611 committed Aug 11, 2022
2 parents d594e09 + 5dba807 commit d32f9dd
Show file tree
Hide file tree
Showing 617 changed files with 8,135 additions and 4,669 deletions.
8 changes: 8 additions & 0 deletions .buildkite/pipelines/bazel_cache.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,18 @@ steps:
concurrency_group: bazel_macos
concurrency: 1
concurrency_method: eager
retry:
automatic:
- exit_status: '*'
limit: 1
- command: .buildkite/scripts/steps/bazel_cache/bootstrap_mac.sh
label: Bootstrap (MacOS ARM)
priority: $${PRIORITY}
agents:
queue: macos-arm
timeout_in_minutes: 60
retry:
automatic:
- exit_status: '*'
limit: 1
YAML
7 changes: 6 additions & 1 deletion .buildkite/scripts/bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ source .buildkite/scripts/common/setup_bazel.sh

echo "--- yarn install and bootstrap"

BOOTSTRAP_PARAMS=()
if [[ "${BOOTSTRAP_ALWAYS_FORCE_INSTALL:-}" ]]; then
BOOTSTRAP_PARAMS+=(--force-install)
fi

# Use the node_modules that is baked into the agent image, if it exists, as a cache
# But only for agents not mounting the workspace on a local ssd or in memory
# It actually ends up being slower to move all of the tiny files between the disks vs extracting archives from the yarn cache
Expand All @@ -15,7 +20,7 @@ if [[ -d ~/.kibana/node_modules && "$(pwd)" != *"/local-ssd/"* && "$(pwd)" != "/
mv ~/.kibana/node_modules ./
fi

if ! yarn kbn bootstrap; then
if ! yarn kbn bootstrap "${BOOTSTRAP_PARAMS[@]}"; then
echo "bootstrap failed, trying again in 15 seconds"
sleep 15

Expand Down
3 changes: 2 additions & 1 deletion .buildkite/scripts/build_kibana_plugins.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@
set -euo pipefail

echo "--- Build Platform Plugins"
node scripts/build_kibana_platform_plugins --examples --test-plugins
THREADS=$(grep -c ^processor /proc/cpuinfo)
node scripts/build_kibana_platform_plugins --examples --test-plugins --workers "$THREADS" --no-inspect-workers --no-progress
3 changes: 3 additions & 0 deletions .buildkite/scripts/steps/bazel_cache/bootstrap_mac.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ source .buildkite/scripts/common/util.sh
export BAZEL_CACHE_MODE=populate-local-gcs
export DISABLE_BOOTSTRAP_VALIDATION=true

# Because we're manually deleting node_modules and bazel directories in-between runs, we need to --force-install
export BOOTSTRAP_ALWAYS_FORCE_INSTALL=true

# Clear out bazel cache between runs to make sure that any artifacts that don't exist in the cache are uploaded
rm -rf ~/.bazel-cache

Expand Down
2 changes: 1 addition & 1 deletion STYLEGUIDE.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
id: kibStyleGuide
slug: /kibana-dev-docs/contributing/styleguide
title: Style Guide
summary: JavaScript/TypeScript styleguide.
description: JavaScript/TypeScript styleguide.
date: 2021-05-06
tags: ['kibana', 'onboarding', 'dev', 'styleguide', 'typescript', 'javascript']
---
Expand Down
9 changes: 6 additions & 3 deletions api_docs/actions.mdx
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
---
####
#### 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.
####
id: kibActionsPluginApi
slug: /kibana-dev-docs/api/actions
title: "actions"
image: https://source.unsplash.com/400x175/?github
summary: API docs for the actions plugin
date: 2022-08-10
description: API docs for the actions plugin
date: 2022-08-11
tags: ['contributor', 'dev', 'apidocs', 'kibana', 'actions']
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.
---
import actionsObj from './actions.devdocs.json';

Expand Down
9 changes: 6 additions & 3 deletions api_docs/advanced_settings.mdx
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
---
####
#### 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.
####
id: kibAdvancedSettingsPluginApi
slug: /kibana-dev-docs/api/advancedSettings
title: "advancedSettings"
image: https://source.unsplash.com/400x175/?github
summary: API docs for the advancedSettings plugin
date: 2022-08-10
description: API docs for the advancedSettings plugin
date: 2022-08-11
tags: ['contributor', 'dev', 'apidocs', 'kibana', 'advancedSettings']
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.
---
import advancedSettingsObj from './advanced_settings.devdocs.json';

Expand Down
9 changes: 6 additions & 3 deletions api_docs/aiops.mdx
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
---
####
#### 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.
####
id: kibAiopsPluginApi
slug: /kibana-dev-docs/api/aiops
title: "aiops"
image: https://source.unsplash.com/400x175/?github
summary: API docs for the aiops plugin
date: 2022-08-10
description: API docs for the aiops plugin
date: 2022-08-11
tags: ['contributor', 'dev', 'apidocs', 'kibana', 'aiops']
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.
---
import aiopsObj from './aiops.devdocs.json';

Expand Down
9 changes: 6 additions & 3 deletions api_docs/alerting.mdx
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
---
####
#### 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.
####
id: kibAlertingPluginApi
slug: /kibana-dev-docs/api/alerting
title: "alerting"
image: https://source.unsplash.com/400x175/?github
summary: API docs for the alerting plugin
date: 2022-08-10
description: API docs for the alerting plugin
date: 2022-08-11
tags: ['contributor', 'dev', 'apidocs', 'kibana', 'alerting']
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.
---
import alertingObj from './alerting.devdocs.json';

Expand Down
9 changes: 6 additions & 3 deletions api_docs/apm.mdx
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
---
####
#### 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.
####
id: kibApmPluginApi
slug: /kibana-dev-docs/api/apm
title: "apm"
image: https://source.unsplash.com/400x175/?github
summary: API docs for the apm plugin
date: 2022-08-10
description: API docs for the apm plugin
date: 2022-08-11
tags: ['contributor', 'dev', 'apidocs', 'kibana', 'apm']
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.
---
import apmObj from './apm.devdocs.json';

Expand Down
9 changes: 6 additions & 3 deletions api_docs/banners.mdx
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
---
####
#### 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.
####
id: kibBannersPluginApi
slug: /kibana-dev-docs/api/banners
title: "banners"
image: https://source.unsplash.com/400x175/?github
summary: API docs for the banners plugin
date: 2022-08-10
description: API docs for the banners plugin
date: 2022-08-11
tags: ['contributor', 'dev', 'apidocs', 'kibana', 'banners']
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.
---
import bannersObj from './banners.devdocs.json';

Expand Down
9 changes: 6 additions & 3 deletions api_docs/bfetch.mdx
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
---
####
#### 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.
####
id: kibBfetchPluginApi
slug: /kibana-dev-docs/api/bfetch
title: "bfetch"
image: https://source.unsplash.com/400x175/?github
summary: API docs for the bfetch plugin
date: 2022-08-10
description: API docs for the bfetch plugin
date: 2022-08-11
tags: ['contributor', 'dev', 'apidocs', 'kibana', 'bfetch']
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.
---
import bfetchObj from './bfetch.devdocs.json';

Expand Down
9 changes: 6 additions & 3 deletions api_docs/canvas.mdx
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
---
####
#### 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.
####
id: kibCanvasPluginApi
slug: /kibana-dev-docs/api/canvas
title: "canvas"
image: https://source.unsplash.com/400x175/?github
summary: API docs for the canvas plugin
date: 2022-08-10
description: API docs for the canvas plugin
date: 2022-08-11
tags: ['contributor', 'dev', 'apidocs', 'kibana', 'canvas']
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.
---
import canvasObj from './canvas.devdocs.json';

Expand Down
9 changes: 6 additions & 3 deletions api_docs/cases.mdx
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
---
####
#### 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.
####
id: kibCasesPluginApi
slug: /kibana-dev-docs/api/cases
title: "cases"
image: https://source.unsplash.com/400x175/?github
summary: API docs for the cases plugin
date: 2022-08-10
description: API docs for the cases plugin
date: 2022-08-11
tags: ['contributor', 'dev', 'apidocs', 'kibana', 'cases']
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.
---
import casesObj from './cases.devdocs.json';

Expand Down
9 changes: 6 additions & 3 deletions api_docs/charts.mdx
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
---
####
#### 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.
####
id: kibChartsPluginApi
slug: /kibana-dev-docs/api/charts
title: "charts"
image: https://source.unsplash.com/400x175/?github
summary: API docs for the charts plugin
date: 2022-08-10
description: API docs for the charts plugin
date: 2022-08-11
tags: ['contributor', 'dev', 'apidocs', 'kibana', 'charts']
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.
---
import chartsObj from './charts.devdocs.json';

Expand Down
9 changes: 6 additions & 3 deletions api_docs/cloud.mdx
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
---
####
#### 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.
####
id: kibCloudPluginApi
slug: /kibana-dev-docs/api/cloud
title: "cloud"
image: https://source.unsplash.com/400x175/?github
summary: API docs for the cloud plugin
date: 2022-08-10
description: API docs for the cloud plugin
date: 2022-08-11
tags: ['contributor', 'dev', 'apidocs', 'kibana', 'cloud']
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.
---
import cloudObj from './cloud.devdocs.json';

Expand Down
9 changes: 6 additions & 3 deletions api_docs/cloud_security_posture.mdx
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
---
####
#### 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.
####
id: kibCloudSecurityPosturePluginApi
slug: /kibana-dev-docs/api/cloudSecurityPosture
title: "cloudSecurityPosture"
image: https://source.unsplash.com/400x175/?github
summary: API docs for the cloudSecurityPosture plugin
date: 2022-08-10
description: API docs for the cloudSecurityPosture plugin
date: 2022-08-11
tags: ['contributor', 'dev', 'apidocs', 'kibana', 'cloudSecurityPosture']
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.
---
import cloudSecurityPostureObj from './cloud_security_posture.devdocs.json';

Expand Down
9 changes: 6 additions & 3 deletions api_docs/console.mdx
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
---
####
#### 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.
####
id: kibConsolePluginApi
slug: /kibana-dev-docs/api/console
title: "console"
image: https://source.unsplash.com/400x175/?github
summary: API docs for the console plugin
date: 2022-08-10
description: API docs for the console plugin
date: 2022-08-11
tags: ['contributor', 'dev', 'apidocs', 'kibana', 'console']
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.
---
import consoleObj from './console.devdocs.json';

Expand Down
9 changes: 6 additions & 3 deletions api_docs/controls.mdx
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
---
####
#### 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.
####
id: kibControlsPluginApi
slug: /kibana-dev-docs/api/controls
title: "controls"
image: https://source.unsplash.com/400x175/?github
summary: API docs for the controls plugin
date: 2022-08-10
description: API docs for the controls plugin
date: 2022-08-11
tags: ['contributor', 'dev', 'apidocs', 'kibana', 'controls']
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.
---
import controlsObj from './controls.devdocs.json';

Expand Down
9 changes: 6 additions & 3 deletions api_docs/core.mdx
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
---
####
#### 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.
####
id: kibCorePluginApi
slug: /kibana-dev-docs/api/core
title: "core"
image: https://source.unsplash.com/400x175/?github
summary: API docs for the core plugin
date: 2022-08-10
description: API docs for the core plugin
date: 2022-08-11
tags: ['contributor', 'dev', 'apidocs', 'kibana', 'core']
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.
---
import coreObj from './core.devdocs.json';

Expand Down
9 changes: 6 additions & 3 deletions api_docs/core_application.mdx
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
---
####
#### 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.
####
id: kibCoreApplicationPluginApi
slug: /kibana-dev-docs/api/core-application
title: "core.application"
image: https://source.unsplash.com/400x175/?github
summary: API docs for the core.application plugin
date: 2022-08-10
description: API docs for the core.application plugin
date: 2022-08-11
tags: ['contributor', 'dev', 'apidocs', 'kibana', 'core.application']
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.
---
import coreApplicationObj from './core_application.devdocs.json';

Expand Down
9 changes: 6 additions & 3 deletions api_docs/core_chrome.mdx
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
---
####
#### 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.
####
id: kibCoreChromePluginApi
slug: /kibana-dev-docs/api/core-chrome
title: "core.chrome"
image: https://source.unsplash.com/400x175/?github
summary: API docs for the core.chrome plugin
date: 2022-08-10
description: API docs for the core.chrome plugin
date: 2022-08-11
tags: ['contributor', 'dev', 'apidocs', 'kibana', 'core.chrome']
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.
---
import coreChromeObj from './core_chrome.devdocs.json';

Expand Down
Loading

0 comments on commit d32f9dd

Please sign in to comment.