Skip to content

Commit

Permalink
Merge branch 'main' into refactor-controls-services_2022-08-10
Browse files Browse the repository at this point in the history
  • Loading branch information
Heenawter authored Aug 29, 2022
2 parents d7486ea + a97232c commit 4fcba9b
Show file tree
Hide file tree
Showing 1,142 changed files with 25,110 additions and 7,778 deletions.
2 changes: 2 additions & 0 deletions .buildkite/pipelines/performance/daily.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,15 @@ steps:
agents:
queue: c2-16
key: build
if: "build.env('KIBANA_BUILD_ID') == null || build.env('KIBANA_BUILD_ID') == ''"

- label: ':muscle: Performance Tests with Playwright config'
command: .buildkite/scripts/steps/functional/performance_playwright.sh
agents:
queue: kb-static-ubuntu
depends_on: build
key: tests
timeout_in_minutes: 60

- label: ':shipit: Performance Tests dataset extraction for scalability benchmarking'
command: .buildkite/scripts/steps/functional/scalability_dataset_extraction.sh
Expand Down
1 change: 1 addition & 0 deletions .buildkite/scripts/steps/cloud/build_and_deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -134,3 +134,4 @@ cat << EOF | buildkite-agent annotate --style "info" --context cloud
EOF

buildkite-agent meta-data set pr_comment:deploy_cloud:head "* [Cloud Deployment](${CLOUD_DEPLOYMENT_KIBANA_URL})"
buildkite-agent meta-data set pr_comment:early_comment_job_id "$BUILDKITE_JOB_ID"
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@ source .buildkite/scripts/common/util.sh
USER_FROM_VAULT="$(retry 5 5 vault read -field=username secret/kibana-issues/dev/apm_parser_performance)"
PASS_FROM_VAULT="$(retry 5 5 vault read -field=password secret/kibana-issues/dev/apm_parser_performance)"
ES_SERVER_URL="https://kibana-ops-e2e-perf.es.us-central1.gcp.cloud.es.io:9243"
BUILD_ID=${BUILDKITE_BUILD_ID}
BUILD_ID="${BUILDKITE_BUILD_ID}"
GCS_BUCKET="gs://kibana-performance/scalability-tests"
OUTPUT_REL="target/scalability_tests/${BUILD_ID}"
OUTPUT_DIR="${KIBANA_DIR}/${OUTPUT_REL}"

.buildkite/scripts/bootstrap.sh

Expand All @@ -28,16 +30,27 @@ for i in "${scalabilityJourneys[@]}"; do
--without-static-resources
done

echo "--- Upload Kibana build, plugins and scalability traces to the public bucket"
mkdir "${BUILD_ID}"
# Archive json files with traces and upload as build artifacts
tar -czf "${BUILD_ID}/scalability_traces.tar.gz" -C target scalability_traces
buildkite-agent artifact upload "${BUILD_ID}/scalability_traces.tar.gz"
# Upload Kibana build, plugins, commit sha and traces to the bucket
download_artifact kibana-default.tar.gz ./"${BUILD_ID}"
download_artifact kibana-default-plugins.tar.gz ./"${BUILD_ID}"
echo "${BUILDKITE_COMMIT}" > "${BUILD_ID}/KIBANA_COMMIT_HASH"
echo "--- Creating scalability dataset in ${OUTPUT_REL}"
mkdir -p "${OUTPUT_DIR}"

echo "--- Archiving scalability trace and uploading as build artifact"
tar -czf "${OUTPUT_DIR}/scalability_traces.tar.gz" -C target scalability_traces
buildkite-agent artifact upload "${OUTPUT_DIR}/scalability_traces.tar.gz"

echo "--- Downloading Kibana artifacts used in tests"
download_artifact kibana-default.tar.gz "${OUTPUT_DIR}/" --build "${KIBANA_BUILD_ID:-$BUILDKITE_BUILD_ID}"
download_artifact kibana-default-plugins.tar.gz "${OUTPUT_DIR}/" --build "${KIBANA_BUILD_ID:-$BUILDKITE_BUILD_ID}"

echo "--- Adding commit info"
echo "${BUILDKITE_COMMIT}" > "${OUTPUT_DIR}/KIBANA_COMMIT_HASH"

echo "--- Uploading ${OUTPUT_REL} dir to ${GCS_BUCKET}"
cd "${OUTPUT_DIR}/.."
gsutil -m cp -r "${BUILD_ID}" "${GCS_BUCKET}"
echo "--- Update reference to the latest CI build"
cd -

echo "--- Promoting '${BUILD_ID}' dataset to LATEST"
cd "${OUTPUT_DIR}/.."
echo "${BUILD_ID}" > LATEST
gsutil cp LATEST "${GCS_BUCKET}"
cd -
1 change: 1 addition & 0 deletions .buildkite/scripts/steps/storybooks/build_and_upload.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ const STORYBOOKS = [
'expression_reveal_image',
'expression_shape',
'expression_tagcloud',
'files',
'fleet',
'home',
'infra',
Expand Down
71 changes: 71 additions & 0 deletions api_docs/actions.devdocs.json
Original file line number Diff line number Diff line change
Expand Up @@ -2570,6 +2570,37 @@
"returnComment": [],
"initialIsOpen": false
},
{
"parentPluginId": "actions",
"id": "def-common.getConnectorCompatibility",
"type": "Function",
"tags": [],
"label": "getConnectorCompatibility",
"description": [],
"signature": [
"(featureIds: string[] | undefined) => string[]"
],
"path": "x-pack/plugins/actions/common/connector_feature_config.ts",
"deprecated": false,
"children": [
{
"parentPluginId": "actions",
"id": "def-common.getConnectorCompatibility.$1",
"type": "Array",
"tags": [],
"label": "featureIds",
"description": [],
"signature": [
"string[] | undefined"
],
"path": "x-pack/plugins/actions/common/connector_feature_config.ts",
"deprecated": false,
"isRequired": false
}
],
"returnComment": [],
"initialIsOpen": false
},
{
"parentPluginId": "actions",
"id": "def-common.getConnectorFeatureName",
Expand Down Expand Up @@ -3751,6 +3782,16 @@
"description": [],
"path": "x-pack/plugins/actions/common/connector_feature_config.ts",
"deprecated": false
},
{
"parentPluginId": "actions",
"id": "def-common.AlertingConnectorFeature.compatibility",
"type": "string",
"tags": [],
"label": "compatibility",
"description": [],
"path": "x-pack/plugins/actions/common/connector_feature_config.ts",
"deprecated": false
}
],
"initialIsOpen": false
Expand Down Expand Up @@ -3784,6 +3825,16 @@
"description": [],
"path": "x-pack/plugins/actions/common/connector_feature_config.ts",
"deprecated": false
},
{
"parentPluginId": "actions",
"id": "def-common.CasesConnectorFeature.compatibility",
"type": "string",
"tags": [],
"label": "compatibility",
"description": [],
"path": "x-pack/plugins/actions/common/connector_feature_config.ts",
"deprecated": false
}
],
"initialIsOpen": false
Expand Down Expand Up @@ -3831,6 +3882,16 @@
"description": [],
"path": "x-pack/plugins/actions/common/connector_feature_config.ts",
"deprecated": false
},
{
"parentPluginId": "actions",
"id": "def-common.SecuritySolutionFeature.compatibility",
"type": "string",
"tags": [],
"label": "compatibility",
"description": [],
"path": "x-pack/plugins/actions/common/connector_feature_config.ts",
"deprecated": false
}
],
"initialIsOpen": false
Expand Down Expand Up @@ -4092,6 +4153,16 @@
"description": [],
"path": "x-pack/plugins/actions/common/connector_feature_config.ts",
"deprecated": false
},
{
"parentPluginId": "actions",
"id": "def-common.UptimeConnectorFeature.compatibility",
"type": "string",
"tags": [],
"label": "compatibility",
"description": [],
"path": "x-pack/plugins/actions/common/connector_feature_config.ts",
"deprecated": false
}
],
"initialIsOpen": false
Expand Down
4 changes: 2 additions & 2 deletions api_docs/actions.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/actions
title: "actions"
image: https://source.unsplash.com/400x175/?github
description: API docs for the actions plugin
date: 2022-08-25
date: 2022-08-29
tags: ['contributor', 'dev', 'apidocs', 'kibana', 'actions']
---
import actionsObj from './actions.devdocs.json';
Expand All @@ -21,7 +21,7 @@ Contact [Response Ops](https://github.com/orgs/elastic/teams/response-ops) for q

| Public API count | Any count | Items lacking comments | Missing exports |
|-------------------|-----------|------------------------|-----------------|
| 266 | 0 | 261 | 19 |
| 272 | 0 | 267 | 19 |

## Client

Expand Down
2 changes: 1 addition & 1 deletion api_docs/advanced_settings.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/advancedSettings
title: "advancedSettings"
image: https://source.unsplash.com/400x175/?github
description: API docs for the advancedSettings plugin
date: 2022-08-25
date: 2022-08-29
tags: ['contributor', 'dev', 'apidocs', 'kibana', 'advancedSettings']
---
import advancedSettingsObj from './advanced_settings.devdocs.json';
Expand Down
2 changes: 1 addition & 1 deletion api_docs/aiops.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/aiops
title: "aiops"
image: https://source.unsplash.com/400x175/?github
description: API docs for the aiops plugin
date: 2022-08-25
date: 2022-08-29
tags: ['contributor', 'dev', 'apidocs', 'kibana', 'aiops']
---
import aiopsObj from './aiops.devdocs.json';
Expand Down
2 changes: 1 addition & 1 deletion api_docs/alerting.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/alerting
title: "alerting"
image: https://source.unsplash.com/400x175/?github
description: API docs for the alerting plugin
date: 2022-08-25
date: 2022-08-29
tags: ['contributor', 'dev', 'apidocs', 'kibana', 'alerting']
---
import alertingObj from './alerting.devdocs.json';
Expand Down
4 changes: 0 additions & 4 deletions api_docs/apm.devdocs.json
Original file line number Diff line number Diff line change
Expand Up @@ -1050,10 +1050,6 @@
"LiteralC",
"<",
"PrivilegeType",
".SOURCEMAP>, ",
"LiteralC",
"<",
"PrivilegeType",
".EVENT>, ",
"LiteralC",
"<",
Expand Down
2 changes: 1 addition & 1 deletion api_docs/apm.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/apm
title: "apm"
image: https://source.unsplash.com/400x175/?github
description: API docs for the apm plugin
date: 2022-08-25
date: 2022-08-29
tags: ['contributor', 'dev', 'apidocs', 'kibana', 'apm']
---
import apmObj from './apm.devdocs.json';
Expand Down
2 changes: 1 addition & 1 deletion api_docs/banners.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/banners
title: "banners"
image: https://source.unsplash.com/400x175/?github
description: API docs for the banners plugin
date: 2022-08-25
date: 2022-08-29
tags: ['contributor', 'dev', 'apidocs', 'kibana', 'banners']
---
import bannersObj from './banners.devdocs.json';
Expand Down
2 changes: 1 addition & 1 deletion api_docs/bfetch.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/bfetch
title: "bfetch"
image: https://source.unsplash.com/400x175/?github
description: API docs for the bfetch plugin
date: 2022-08-25
date: 2022-08-29
tags: ['contributor', 'dev', 'apidocs', 'kibana', 'bfetch']
---
import bfetchObj from './bfetch.devdocs.json';
Expand Down
2 changes: 1 addition & 1 deletion api_docs/canvas.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/canvas
title: "canvas"
image: https://source.unsplash.com/400x175/?github
description: API docs for the canvas plugin
date: 2022-08-25
date: 2022-08-29
tags: ['contributor', 'dev', 'apidocs', 'kibana', 'canvas']
---
import canvasObj from './canvas.devdocs.json';
Expand Down
49 changes: 46 additions & 3 deletions api_docs/cases.devdocs.json
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,13 @@
"<object, unknown>, plugins: ",
"CasesPluginSetup",
") => ",
"CasesUiSetup"
{
"pluginId": "cases",
"scope": "public",
"docId": "kibCasesPluginApi",
"section": "def-public.CasesUiSetup",
"text": "CasesUiSetup"
}
],
"path": "x-pack/plugins/cases/public/plugin.ts",
"deprecated": false,
Expand Down Expand Up @@ -442,7 +448,34 @@
"initialIsOpen": false
}
],
"interfaces": [],
"interfaces": [
{
"parentPluginId": "cases",
"id": "def-public.CasesUiSetup",
"type": "Interface",
"tags": [],
"label": "CasesUiSetup",
"description": [],
"path": "x-pack/plugins/cases/public/types.ts",
"deprecated": false,
"children": [
{
"parentPluginId": "cases",
"id": "def-public.CasesUiSetup.attachmentFramework",
"type": "Object",
"tags": [],
"label": "attachmentFramework",
"description": [],
"signature": [
"AttachmentFramework"
],
"path": "x-pack/plugins/cases/public/types.ts",
"deprecated": false
}
],
"initialIsOpen": false
}
],
"enums": [],
"misc": [
{
Expand Down Expand Up @@ -689,7 +722,17 @@
"section": "def-common.CommentType",
"text": "CommentType"
},
".alert; alertId: string | string[]; index: string | string[]; rule: { id: string | null; name: string | null; }; owner: string; }"
".alert; alertId: string | string[]; index: string | string[]; rule: { id: string | null; name: string | null; }; owner: string; } | { type: ",
{
"pluginId": "cases",
"scope": "common",
"docId": "kibCasesPluginApi",
"section": "def-common.CommentType",
"text": "CommentType"
},
".persistableState; owner: string; persistableStateAttachmentTypeId: string; persistableStateAttachmentState: { [x: string]: ",
"JsonValue",
"; }; }"
],
"path": "x-pack/plugins/cases/public/types.ts",
"deprecated": false,
Expand Down
7 changes: 5 additions & 2 deletions api_docs/cases.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/cases
title: "cases"
image: https://source.unsplash.com/400x175/?github
description: API docs for the cases plugin
date: 2022-08-25
date: 2022-08-29
tags: ['contributor', 'dev', 'apidocs', 'kibana', 'cases']
---
import casesObj from './cases.devdocs.json';
Expand All @@ -21,7 +21,7 @@ Contact [ResponseOps](https://github.com/orgs/elastic/teams/response-ops) for qu

| Public API count | Any count | Items lacking comments | Missing exports |
|-------------------|-----------|------------------------|-----------------|
| 82 | 0 | 66 | 29 |
| 84 | 0 | 68 | 29 |

## Client

Expand All @@ -37,6 +37,9 @@ Contact [ResponseOps](https://github.com/orgs/elastic/teams/response-ops) for qu
### Classes
<DocDefinitionList data={casesObj.client.classes}/>

### Interfaces
<DocDefinitionList data={casesObj.client.interfaces}/>

### Consts, variables and types
<DocDefinitionList data={casesObj.client.misc}/>

Expand Down
2 changes: 1 addition & 1 deletion api_docs/charts.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/charts
title: "charts"
image: https://source.unsplash.com/400x175/?github
description: API docs for the charts plugin
date: 2022-08-25
date: 2022-08-29
tags: ['contributor', 'dev', 'apidocs', 'kibana', 'charts']
---
import chartsObj from './charts.devdocs.json';
Expand Down
2 changes: 1 addition & 1 deletion api_docs/cloud.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/cloud
title: "cloud"
image: https://source.unsplash.com/400x175/?github
description: API docs for the cloud plugin
date: 2022-08-25
date: 2022-08-29
tags: ['contributor', 'dev', 'apidocs', 'kibana', 'cloud']
---
import cloudObj from './cloud.devdocs.json';
Expand Down
Loading

0 comments on commit 4fcba9b

Please sign in to comment.