Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/master' into tgrid-bulk-actions
Browse files Browse the repository at this point in the history
  • Loading branch information
semd committed Jul 29, 2021
2 parents 055aa5b + 0ad10e8 commit 8c39944
Show file tree
Hide file tree
Showing 1,755 changed files with 111,469 additions and 72,169 deletions.
2 changes: 1 addition & 1 deletion .buildkite/scripts/build_kibana.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ set -euo pipefail
export KBN_NP_PLUGINS_BUILT=true

echo "--- Build Kibana Distribution"
node scripts/build --debug --no-oss
node scripts/build --debug

echo "--- Archive Kibana Distribution"
linuxBuild="$(find "$KIBANA_DIR/target" -name 'kibana-*-linux-x86_64.tar.gz')"
Expand Down
2 changes: 1 addition & 1 deletion .buildkite/scripts/common/env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,6 @@ export TEST_KIBANA_HOST=localhost
export TEST_KIBANA_PORT=6101
export TEST_KIBANA_URL="http://elastic:changeme@localhost:6101"
export TEST_ES_URL="http://elastic:changeme@localhost:6102"
export TEST_ES_TRANSPORT_PORT=6103
export TEST_ES_TRANSPORT_PORT=6301-6309
export TEST_CORS_SERVER_PORT=6106
export ALERTING_PROXY_PORT=6105
2 changes: 1 addition & 1 deletion .buildkite/scripts/post_build_kibana.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ if [[ ! "${DISABLE_CI_STATS_SHIPPING:-}" ]]; then
echo "--- Ship Kibana Distribution Metrics to CI Stats"
node scripts/ship_ci_stats \
--metrics target/optimizer_bundle_metrics.json \
--metrics node_modules/@kbn/ui-shared-deps/shared_built_assets/metrics.json
--metrics build/kibana/node_modules/@kbn/ui-shared-deps/shared_built_assets/metrics.json
fi

echo "--- Upload Build Artifacts"
Expand Down
2 changes: 1 addition & 1 deletion .buildkite/scripts/steps/on_merge_ts_refs_api_docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ export BUILD_TS_REFS_DISABLE=false
.buildkite/scripts/bootstrap.sh

echo "--- Build API Docs"
node scripts/build_api_docs
node --max-old-space-size=12000 scripts/build_api_docs
1 change: 0 additions & 1 deletion .ci/Jenkinsfile_baseline_capture
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ kibanaPipeline(timeoutMinutes: 210) {
kibanaPipeline.withCiTaskQueue([parallel: 2]) {
catchErrors {
tasks([
kibanaPipeline.functionalTestProcess('oss-baseline', './test/scripts/jenkins_baseline.sh'),
kibanaPipeline.functionalTestProcess('xpack-baseline', './test/scripts/jenkins_xpack_baseline.sh'),
kibanaPipeline.scriptTask('Check Public API Docs', 'test/scripts/checks/baseline_plugin_public_api_docs.sh'),
])
Expand Down
8 changes: 6 additions & 2 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -895,7 +895,8 @@ module.exports = {
{
files: ['x-pack/plugins/cases/**/*.{js,mjs,ts,tsx}'],
rules: {
'no-duplicate-imports': 'error',
'no-duplicate-imports': 'off',
'@typescript-eslint/no-duplicate-imports': ['error'],
},
},

Expand All @@ -912,6 +913,8 @@ module.exports = {
],
rules: {
'import/no-nodejs-modules': 'error',
'no-duplicate-imports': 'off',
'@typescript-eslint/no-duplicate-imports': ['error'],
'no-restricted-imports': [
'error',
{
Expand Down Expand Up @@ -954,7 +957,7 @@ module.exports = {
'no-continue': 'error',
'no-dupe-keys': 'error',
'no-duplicate-case': 'error',
'no-duplicate-imports': 'error',
'no-duplicate-imports': 'off',
'no-empty-character-class': 'error',
'no-empty-pattern': 'error',
'no-ex-assign': 'error',
Expand Down Expand Up @@ -1025,6 +1028,7 @@ module.exports = {
'require-atomic-updates': 'error',
'symbol-description': 'error',
'vars-on-top': 'error',
'@typescript-eslint/no-duplicate-imports': ['error'],
},
},

Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/backport.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@ jobs:
- name: Install Actions
run: npm install --production --prefix ./actions

- name: Fix Version Label Gaps
uses: ./actions/fix-version-gaps
with:
github_token: ${{secrets.KIBANAMACHINE_TOKEN}}

- name: Run Backport
uses: ./actions/backport
with:
Expand Down
35 changes: 35 additions & 0 deletions .github/workflows/fix-version-gaps.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
on:
pull_request:
branches:
- master
types:
- closed

jobs:
gaps:
name: Fix Version Label Gaps
# This fix also runs as part of the backport action (because backport depends on the labels)
# So we only need to trigger it for merged PRs that also won't be auto-backported
if: |
github.event.pull_request.merged == true
&& !contains(github.event.pull_request.labels.*.name, 'auto-backport')
&& !(
(github.event.action == 'labeled' && github.event.label.name == 'auto-backport')
|| (github.event.action == 'closed')
)
runs-on: ubuntu-latest
steps:
- name: Checkout Actions
uses: actions/checkout@v2
with:
repository: 'elastic/kibana-github-actions'
ref: main
path: ./actions

- name: Install Actions
run: npm install --production --prefix ./actions

- name: Run Fix Gaps
uses: ./actions/fix-version-gaps
with:
github_token: ${{secrets.KIBANAMACHINE_TOKEN}}
7 changes: 5 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ target
*.iml
*.log

# Ignore example plugin builds
/examples/*/build

# Ignore certain functional test runner artifacts
/test/*/failure_debug
/test/*/screenshots/diff
Expand Down Expand Up @@ -76,6 +79,6 @@ report.asciidoc
.yarn-local-mirror

# Bazel
bazel
bazel-*
/bazel
/bazel-*
.bazelrc.user
1 change: 1 addition & 0 deletions .i18nrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
"expressions": "src/plugins/expressions",
"expressionError": "src/plugins/expression_error",
"expressionImage": "src/plugins/expression_image",
"expressionMetric": "src/plugins/expression_metric",
"expressionRepeatImage": "src/plugins/expression_repeat_image",
"expressionRevealImage": "src/plugins/expression_reveal_image",
"expressionShape": "src/plugins/expression_shape",
Expand Down
Loading

0 comments on commit 8c39944

Please sign in to comment.