Skip to content

Commit

Permalink
Merge branch 'master' into systemd/privatetmp
Browse files Browse the repository at this point in the history
  • Loading branch information
kibanamachine authored Oct 1, 2021
2 parents b2435e7 + b6f7a61 commit 0e166e5
Show file tree
Hide file tree
Showing 1,123 changed files with 118,035 additions and 86,753 deletions.
8 changes: 0 additions & 8 deletions .buildkite/pipelines/es_snapshots/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,13 +91,5 @@ steps:
- wait: ~
continue_on_failure: true

- plugins:
- junit-annotate#v1.9.0:
artifacts: target/junit/**/*.xml
job-uuid-file-pattern: '-bk__(.*).xml'

- wait: ~
continue_on_failure: true

- command: .buildkite/scripts/lifecycle/post_build.sh
label: Post-Build
8 changes: 0 additions & 8 deletions .buildkite/pipelines/hourly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -159,13 +159,5 @@ steps:
- wait: ~
continue_on_failure: true

- plugins:
- junit-annotate#v1.9.0:
artifacts: target/junit/**/*.xml
job-uuid-file-pattern: '-bk__(.*).xml'

- wait: ~
continue_on_failure: true

- command: .buildkite/scripts/lifecycle/post_build.sh
label: Post-Build
14 changes: 14 additions & 0 deletions .buildkite/scripts/lifecycle/annotate_test_failures.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
const { TestFailures } = require('kibana-buildkite-library');

(async () => {
try {
await TestFailures.annotateTestFailures();
} catch (ex) {
console.error('Annotate test failures error', ex.message);
if (ex.response) {
console.error('HTTP Error Response Status', ex.response.status);
console.error('HTTP Error Response Body', ex.response.data);
}
process.exit(1);
}
})();
5 changes: 5 additions & 0 deletions .buildkite/scripts/lifecycle/post_command.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,9 @@ if [[ "$IS_TEST_EXECUTION_STEP" == "true" ]]; then
buildkite-agent artifact upload '.es/**/*.hprof'

node scripts/report_failed_tests --build-url="${BUILDKITE_BUILD_URL}#${BUILDKITE_JOB_ID}" 'target/junit/**/*.xml'

if [[ -d 'target/test_failures' ]]; then
buildkite-agent artifact upload 'target/test_failures/**/*'
node .buildkite/scripts/lifecycle/annotate_test_failures.js
fi
fi
27 changes: 27 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -930,6 +930,15 @@ module.exports = {
'@typescript-eslint/no-explicit-any': 'error',
'@typescript-eslint/no-useless-constructor': 'error',
'@typescript-eslint/unified-signatures': 'error',
'no-restricted-imports': [
'error',
{
// prevents code from importing files that contain the name "legacy" within their name. This is a mechanism
// to help deprecation and prevent accidental re-use/continued use of code we plan on removing. If you are
// finding yourself turning this off a lot for "new code" consider renaming the file and functions if it is has valid uses.
patterns: ['*legacy*'],
},
],
},
},
{
Expand Down Expand Up @@ -1192,6 +1201,15 @@ module.exports = {
'no-template-curly-in-string': 'error',
'sort-keys': 'error',
'prefer-destructuring': 'error',
'no-restricted-imports': [
'error',
{
// prevents code from importing files that contain the name "legacy" within their name. This is a mechanism
// to help deprecation and prevent accidental re-use/continued use of code we plan on removing. If you are
// finding yourself turning this off a lot for "new code" consider renaming the file and functions if it has valid uses.
patterns: ['*legacy*'],
},
],
},
},
/**
Expand Down Expand Up @@ -1304,6 +1322,15 @@ module.exports = {
'no-template-curly-in-string': 'error',
'sort-keys': 'error',
'prefer-destructuring': 'error',
'no-restricted-imports': [
'error',
{
// prevents code from importing files that contain the name "legacy" within their name. This is a mechanism
// to help deprecation and prevent accidental re-use/continued use of code we plan on removing. If you are
// finding yourself turning this off a lot for "new code" consider renaming the file and functions if it has valid uses.
patterns: ['*legacy*'],
},
],
},
},
/**
Expand Down
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

# Tech leads
/dev_docs @elastic/kibana-tech-leads
/src/dev/license_checker/config.ts @elastic/kibana-tech-leads
/packages/kbn-docs-utils/ @elastic/kibana-tech-leads @elastic/kibana-operations

# Virtual teams
Expand Down
42 changes: 41 additions & 1 deletion api_docs/actions.json
Original file line number Diff line number Diff line change
Expand Up @@ -580,6 +580,20 @@
],
"path": "x-pack/plugins/actions/server/types.ts",
"deprecated": false
},
{
"parentPluginId": "actions",
"id": "def-server.ActionTypeExecutorOptions.taskInfo",
"type": "Object",
"tags": [],
"label": "taskInfo",
"description": [],
"signature": [
"TaskInfo",
" | undefined"
],
"path": "x-pack/plugins/actions/server/types.ts",
"deprecated": false
}
],
"initialIsOpen": false
Expand Down Expand Up @@ -1765,8 +1779,34 @@
"initialIsOpen": false
}
],
"enums": [],
"enums": [
{
"parentPluginId": "actions",
"id": "def-common.AdditionalEmailServices",
"type": "Enum",
"tags": [],
"label": "AdditionalEmailServices",
"description": [],
"path": "x-pack/plugins/actions/common/index.ts",
"deprecated": false,
"initialIsOpen": false
}
],
"misc": [
{
"parentPluginId": "actions",
"id": "def-common.ACTIONS_FEATURE_ID",
"type": "string",
"tags": [],
"label": "ACTIONS_FEATURE_ID",
"description": [],
"signature": [
"\"actions\""
],
"path": "x-pack/plugins/actions/common/index.ts",
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "actions",
"id": "def-common.ALERT_HISTORY_PREFIX",
Expand Down
5 changes: 4 additions & 1 deletion api_docs/actions.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Contact [Kibana Alerting](https://github.com/orgs/elastic/teams/kibana-alerting-

| Public API count | Any count | Items lacking comments | Missing exports |
|-------------------|-----------|------------------------|-----------------|
| 122 | 0 | 122 | 7 |
| 125 | 0 | 125 | 8 |

## Server

Expand All @@ -45,6 +45,9 @@ Contact [Kibana Alerting](https://github.com/orgs/elastic/teams/kibana-alerting-
### Interfaces
<DocDefinitionList data={actionsObj.common.interfaces}/>

### Enums
<DocDefinitionList data={actionsObj.common.enums}/>

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

Loading

0 comments on commit 0e166e5

Please sign in to comment.