Skip to content

Commit

Permalink
Merge branch 'main' into fix/navigate-to-canvas-flakiness
Browse files Browse the repository at this point in the history
  • Loading branch information
cqliu1 authored Sep 1, 2023
2 parents f2c78b2 + e52dd71 commit bf7edbb
Show file tree
Hide file tree
Showing 938 changed files with 17,571 additions and 5,943 deletions.
5 changes: 5 additions & 0 deletions .buildkite/scripts/lifecycle/pre_command.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

set -euo pipefail

if [[ "$BUILDKITE_COMMAND" =~ ^"buildkite-agent pipeline upload" ]]; then
echo "Skipped pre-command when running the Upload pipeline"
exit 0
fi

source .buildkite/scripts/common/util.sh

echo '--- Setup environment vars'
Expand Down
6 changes: 4 additions & 2 deletions .buildkite/scripts/steps/artifacts/docker_image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -98,12 +98,14 @@ steps:
- label: ":argo: Update kibana image tag for kibana-controller using gpctl"
async: true
branches: main
trigger: gpctl-promote
trigger: gpctl-promote-with-e2e-tests
build:
env:
SERVICE_COMMIT_HASH: "$GIT_ABBREV_COMMIT"
SERVICE: kibana-controller
NAMESPACE: kibana-ci
IMAGE_NAME: kibana-serverless
REMOTE_SERVICE_CONFIG: https://raw.githubusercontent.com/elastic/serverless-gitops/main/gen/gpctl/kibana/dev.yaml
EOF

else
Expand Down
4 changes: 4 additions & 0 deletions .buildkite/scripts/steps/test/jest_integration.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,9 @@ is_test_execution_step

.buildkite/scripts/bootstrap.sh

echo '--- Docker login'
echo "$KIBANA_DOCKER_PASSWORD" | docker login -u "$KIBANA_DOCKER_USERNAME" --password-stdin docker.elastic.co
trap 'docker logout docker.elastic.co' EXIT

echo '--- Jest Integration Tests'
.buildkite/scripts/steps/test/jest_parallel.sh jest.integration.config.js
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -545,6 +545,7 @@ packages/kbn-plugin-helpers @elastic/kibana-operations
examples/portable_dashboards_example @elastic/kibana-presentation
examples/preboot_example @elastic/kibana-security @elastic/kibana-core
src/plugins/presentation_util @elastic/kibana-presentation
x-pack/plugins/profiling_data_access @elastic/profiling-ui
x-pack/plugins/profiling @elastic/profiling-ui
x-pack/packages/kbn-random-sampling @elastic/kibana-visualizations
packages/kbn-react-field @elastic/kibana-data-discovery
Expand Down
10 changes: 9 additions & 1 deletion .github/workflows/create-deploy-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,10 @@ jobs:
"type": "mrkdwn",
"text": "*Workflow run:*\n<https://github.com/elastic/kibana/actions/runs/${{ github.run_id }}|${{ github.run_id }}>"
},
{
"type": "mrkdwn",
"text": "*Commit:*\n<https://github.com/elastic/kibana/commit/${{ env.COMMIT }}|${{ env.COMMIT }}>"
},
{
"type": "mrkdwn",
"text": "*Git tag:*\n<https://github.com/elastic/kibana/releases/tag/${{ env.TAG_NAME }}|${{ env.TAG_NAME }}>"
Expand All @@ -103,7 +107,7 @@ jobs:
"type": "section",
"text": {
"type": "mrkdwn",
"text": "*Useful links:*\n\n • <https://docs.google.com/document/d/1c2LzojDh1wawjeMsKh4D_L2jpVJALhxukkmmL-TUbrs/edit#heading=h.50173f90utwr|Release process playbook>\n • <https://buildkite.com/elastic/kibana-tests/builds?branch=run-kibana-quality-gate-suites|QA Quality Gate pipeline>"
"text": "*Useful links:*\n\n • <https://docs.google.com/document/d/1c2LzojDh1wawjeMsKh4D_L2jpVJALhxukkmmL-TUbrs/edit#heading=h.50173f90utwr|Release process playbook>\n • <https://example.com|QA Quality Gate pipeline>"
}
},
{
Expand Down Expand Up @@ -162,6 +166,10 @@ jobs:
{
"type": "mrkdwn",
"text": "*Workflow run:*\n<https://github.com/elastic/kibana/actions/runs/${{ github.run_id }}|${{ github.run_id }}>"
},
{
"type": "mrkdwn",
"text": "*Commit:*\n<https://github.com/elastic/kibana/commit/${{ env.COMMIT }}|${{ env.COMMIT }}>"
}
]
},
Expand Down
2 changes: 1 addition & 1 deletion 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: 2023-08-31
date: 2023-09-01
tags: ['contributor', 'dev', 'apidocs', 'kibana', 'actions']
---
import actionsObj from './actions.devdocs.json';
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: 2023-08-31
date: 2023-09-01
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: 2023-08-31
date: 2023-09-01
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: 2023-08-31
date: 2023-09-01
tags: ['contributor', 'dev', 'apidocs', 'kibana', 'alerting']
---
import alertingObj from './alerting.devdocs.json';
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: 2023-08-31
date: 2023-09-01
tags: ['contributor', 'dev', 'apidocs', 'kibana', 'apm']
---
import apmObj from './apm.devdocs.json';
Expand Down
2 changes: 1 addition & 1 deletion api_docs/apm_data_access.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/apmDataAccess
title: "apmDataAccess"
image: https://source.unsplash.com/400x175/?github
description: API docs for the apmDataAccess plugin
date: 2023-08-31
date: 2023-09-01
tags: ['contributor', 'dev', 'apidocs', 'kibana', 'apmDataAccess']
---
import apmDataAccessObj from './apm_data_access.devdocs.json';
Expand Down
2 changes: 1 addition & 1 deletion api_docs/asset_manager.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/assetManager
title: "assetManager"
image: https://source.unsplash.com/400x175/?github
description: API docs for the assetManager plugin
date: 2023-08-31
date: 2023-09-01
tags: ['contributor', 'dev', 'apidocs', 'kibana', 'assetManager']
---
import assetManagerObj from './asset_manager.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: 2023-08-31
date: 2023-09-01
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: 2023-08-31
date: 2023-09-01
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: 2023-08-31
date: 2023-09-01
tags: ['contributor', 'dev', 'apidocs', 'kibana', 'canvas']
---
import canvasObj from './canvas.devdocs.json';
Expand Down
162 changes: 160 additions & 2 deletions api_docs/cases.devdocs.json
Original file line number Diff line number Diff line change
Expand Up @@ -1091,7 +1091,14 @@
"\nReturn the UI capabilities for each type of operation. These strings must match the values defined in the UI\nhere: x-pack/plugins/cases/public/client/helpers/capabilities.ts"
],
"signature": [
"() => { all: readonly [\"create_cases\", \"read_cases\", \"update_cases\", \"push_cases\", \"cases_connectors\"]; read: readonly [\"read_cases\", \"cases_connectors\"]; delete: readonly [\"delete_cases\"]; }"
"() => ",
{
"pluginId": "cases",
"scope": "common",
"docId": "kibCasesPluginApi",
"section": "def-common.CasesUiCapabilities",
"text": "CasesUiCapabilities"
}
],
"path": "x-pack/plugins/cases/common/utils/capabilities.ts",
"deprecated": false,
Expand All @@ -1108,7 +1115,14 @@
"label": "getApiTags",
"description": [],
"signature": [
"(owner: \"cases\" | \"observability\" | \"securitySolution\") => { all: readonly [\"casesSuggestUserProfiles\", \"bulkGetUserProfiles\", \"casesGetConnectorsConfigure\", string, string]; read: readonly [\"casesSuggestUserProfiles\", \"bulkGetUserProfiles\", \"casesGetConnectorsConfigure\", string]; delete: readonly [string]; }"
"(owner: \"cases\" | \"observability\" | \"securitySolution\") => ",
{
"pluginId": "cases",
"scope": "common",
"docId": "kibCasesPluginApi",
"section": "def-common.CasesApiTags",
"text": "CasesApiTags"
}
],
"path": "x-pack/plugins/cases/common/utils/api_tags.ts",
"deprecated": false,
Expand Down Expand Up @@ -1236,6 +1250,62 @@
}
],
"interfaces": [
{
"parentPluginId": "cases",
"id": "def-common.CasesApiTags",
"type": "Interface",
"tags": [],
"label": "CasesApiTags",
"description": [],
"path": "x-pack/plugins/cases/common/utils/api_tags.ts",
"deprecated": false,
"trackAdoption": false,
"children": [
{
"parentPluginId": "cases",
"id": "def-common.CasesApiTags.all",
"type": "Object",
"tags": [],
"label": "all",
"description": [],
"signature": [
"readonly string[]"
],
"path": "x-pack/plugins/cases/common/utils/api_tags.ts",
"deprecated": false,
"trackAdoption": false
},
{
"parentPluginId": "cases",
"id": "def-common.CasesApiTags.read",
"type": "Object",
"tags": [],
"label": "read",
"description": [],
"signature": [
"readonly string[]"
],
"path": "x-pack/plugins/cases/common/utils/api_tags.ts",
"deprecated": false,
"trackAdoption": false
},
{
"parentPluginId": "cases",
"id": "def-common.CasesApiTags.delete",
"type": "Object",
"tags": [],
"label": "delete",
"description": [],
"signature": [
"readonly string[]"
],
"path": "x-pack/plugins/cases/common/utils/api_tags.ts",
"deprecated": false,
"trackAdoption": false
}
],
"initialIsOpen": false
},
{
"parentPluginId": "cases",
"id": "def-common.CasesPermissions",
Expand Down Expand Up @@ -1327,6 +1397,62 @@
],
"initialIsOpen": false
},
{
"parentPluginId": "cases",
"id": "def-common.CasesUiCapabilities",
"type": "Interface",
"tags": [],
"label": "CasesUiCapabilities",
"description": [],
"path": "x-pack/plugins/cases/common/utils/capabilities.ts",
"deprecated": false,
"trackAdoption": false,
"children": [
{
"parentPluginId": "cases",
"id": "def-common.CasesUiCapabilities.all",
"type": "Object",
"tags": [],
"label": "all",
"description": [],
"signature": [
"readonly string[]"
],
"path": "x-pack/plugins/cases/common/utils/capabilities.ts",
"deprecated": false,
"trackAdoption": false
},
{
"parentPluginId": "cases",
"id": "def-common.CasesUiCapabilities.read",
"type": "Object",
"tags": [],
"label": "read",
"description": [],
"signature": [
"readonly string[]"
],
"path": "x-pack/plugins/cases/common/utils/capabilities.ts",
"deprecated": false,
"trackAdoption": false
},
{
"parentPluginId": "cases",
"id": "def-common.CasesUiCapabilities.delete",
"type": "Object",
"tags": [],
"label": "delete",
"description": [],
"signature": [
"readonly string[]"
],
"path": "x-pack/plugins/cases/common/utils/capabilities.ts",
"deprecated": false,
"trackAdoption": false
}
],
"initialIsOpen": false
},
{
"parentPluginId": "cases",
"id": "def-common.Ecs",
Expand Down Expand Up @@ -2031,6 +2157,21 @@
"trackAdoption": false,
"initialIsOpen": false
},
{
"parentPluginId": "cases",
"id": "def-common.CASES_CONNECTORS_CAPABILITY",
"type": "string",
"tags": [],
"label": "CASES_CONNECTORS_CAPABILITY",
"description": [],
"signature": [
"\"cases_connectors\""
],
"path": "x-pack/plugins/cases/common/constants/index.ts",
"deprecated": false,
"trackAdoption": false,
"initialIsOpen": false
},
{
"parentPluginId": "cases",
"id": "def-common.CASES_URL",
Expand Down Expand Up @@ -2651,6 +2792,23 @@
"trackAdoption": false,
"initialIsOpen": false
},
{
"parentPluginId": "cases",
"id": "def-common.GET_CONNECTORS_CONFIGURE_API_TAG",
"type": "string",
"tags": [],
"label": "GET_CONNECTORS_CONFIGURE_API_TAG",
"description": [
"\nThis tag is registered for the connectors (configure) get API"
],
"signature": [
"\"casesGetConnectorsConfigure\""
],
"path": "x-pack/plugins/cases/common/constants/index.ts",
"deprecated": false,
"trackAdoption": false,
"initialIsOpen": false
},
{
"parentPluginId": "cases",
"id": "def-common.GetRelatedCasesByAlertResponse",
Expand Down
4 changes: 2 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: 2023-08-31
date: 2023-09-01
tags: ['contributor', 'dev', 'apidocs', 'kibana', 'cases']
---
import casesObj from './cases.devdocs.json';
Expand All @@ -21,7 +21,7 @@ Contact [@elastic/response-ops](https://github.com/orgs/elastic/teams/response-o

| Public API count | Any count | Items lacking comments | Missing exports |
|-------------------|-----------|------------------------|-----------------|
| 94 | 0 | 75 | 27 |
| 104 | 0 | 84 | 27 |

## Client

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: 2023-08-31
date: 2023-09-01
tags: ['contributor', 'dev', 'apidocs', 'kibana', 'charts']
---
import chartsObj from './charts.devdocs.json';
Expand Down
Loading

0 comments on commit bf7edbb

Please sign in to comment.