Commit graph

229 commits

Author SHA1 Message Date
Tiago Costa
2331e588e5
chore(NA): use new and more performant BuildBuddy servers (#130350) (#130440)
* chore(NA): use new and more performant BuildBuddy servers

* chore(NA): simple upgrade mechanism for new remote address servers

* docs(NA): missing note for future removal

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit 48ca660c50)

# Conflicts:
#	packages/kbn-pm/dist/index.js
2022-04-17 19:52:59 -07:00
Kibana Machine
e810a1cc4c
[ci-stats-reporter] prevent Request body larger than maxBodyLength limit error (#128840) (#128845)
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit db7db0e4ca)

Co-authored-by: Spencer <spencer@elastic.co>
2022-03-29 18:25:43 -07:00
Tiago Costa
43c67cfe08
fix(NA): use a single step for yarn kbn bootstrap (#128657) (#128673)
* fix(NA): use a single step for yarn kbn bootstrap

* chore(NA): additional error message to warn around new integration

* chore(NA): additional error message to warn around new integration

(cherry picked from commit 7f4735f4d3)

# Conflicts:
#	packages/kbn-pm/dist/index.js
2022-03-29 02:11:57 +01:00
Tiago Costa
08e659e8d5
chore(NA): run force-install automatically when .yarn-integrity file is missing (#128631) (#128641)
(cherry picked from commit e60a95f347)

# Conflicts:
#	packages/kbn-pm/dist/index.js
2022-03-28 15:54:41 +01:00
Tiago Costa
fa802559b0
chore(NA): redesign integration between bazel node_modules management and yarn kbn commands (#114048) (#128618)
* chore(NA): redesign integration between bazel node_modules management and yarn kbn commands

* fix(NA): remove .yarn-integrity on force install

* fix(NA): include clean on force install

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit 32eb83cfd2)

# Conflicts:
#	packages/kbn-pm/dist/index.js
#	packages/kbn-pm/src/commands/bootstrap.ts
2022-03-28 15:42:57 +01:00
Thomas Watson
98fa4a6513
Bump minimist from v1.2.5 to v1.2.6 (#128348) (#128373)
(cherry picked from commit 36c614ab0b)

# Conflicts:
#	package.json
2022-03-23 08:16:42 -07:00
Spencer
55aa9f4311
fix(NA): propagation of env vars on forced yarn installs (#128021) (#128032)
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit 6e52d0dbef)

# Conflicts:
#	packages/kbn-pm/dist/index.js
#	packages/kbn-pm/src/commands/bootstrap.ts

Co-authored-by: Tiago Costa <tiago.costa@elastic.co>
2022-03-17 19:33:53 -07:00
Spencer
767996499b
Update babel (main) (#126871) (#127486)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Spencer <spencer@elastic.co>
(cherry picked from commit 015be5f40a)

# Conflicts:
#	packages/kbn-pm/dist/index.js

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-03-10 10:55:35 -07:00
Spencer
13ac0056a5
[8.1] [kbn/generate] add basic package generator (#127095) (#127240)
* [kbn/generate] add basic package generator (#127095)

(cherry picked from commit ad0eb60772)

# Conflicts:
#	packages/BUILD.bazel
#	packages/kbn-pm/dist/index.js
#	packages/kbn-type-summarizer/src/lib/bazel_cli_config.ts

* regenerate packages/BUILD.bazel file
2022-03-09 01:14:35 -07:00
Spencer
1fc5a7d3fc
[8.1] [yarn] download prebuilt artifacts for re2 and node-sass from custom mirrors (#126820) (#126855)
* [yarn] download prebuilt artifacts for re2 and node-sass from custom mirrors (#126820)

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit c509fda3fb)

# Conflicts:
#	yarn.lock

* update kbn/pm dist
2022-03-03 16:24:55 -07:00
Robert Oskamp
bae60fea92
[8.1] FTR support mocha dry run (#125915) (#126234)
* FTR support mocha dry run (#125915)

This PR adds support for the mocha CLI flag `--dry-run` in our functional test execution.

(cherry picked from commit b7db60a250)

# Conflicts:
#	yarn.lock

* Rebuild @kbn/pm

* Rebuild @kbn/pm part 2

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-02-23 08:34:51 -07:00
Thomas Watson
f105fe5754
Bump packages (#126119) (#126121)
* url-parse 1.5.3 -> 1.5.9
* follow-redirects 1.y.z -> 1.14.9

(cherry picked from commit 623c7f8b53)

# Conflicts:
#	yarn.lock

Co-authored-by: Joe Portner <5295965+jportner@users.noreply.github.com>
2022-02-22 02:47:14 -07:00
Kibana Machine
cc4e2571f1
Remove ts refs build from bootstrap (#126005) (#126009)
* Revert "Revert "Remove ts refs build from bootstrap (#125314)""

This reverts commit 8757e965fc.

* build ts refs cache if enabled

(cherry picked from commit 854e8a6b61)

Co-authored-by: Jonathan Budzenski <jon@elastic.co>
2022-02-17 18:36:17 -07:00
Kibana Machine
4f76e5bbc3
[ci-stats] add Client class for accessing test group stats (#125164) (#125587)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit 48e8a84c8c)

Co-authored-by: Spencer <spencer@elastic.co>
2022-02-14 16:03:47 -07:00
Kibana Machine
afeb2407e9
[kbn-pm] Add trailing newline in package.json (#125320) (#125330)
(cherry picked from commit 643e4392b0)

Co-authored-by: Tyler Smalley <tyler.smalley@elastic.co>
2022-02-10 18:58:13 -07:00
Kibana Machine
e21bebd70d
[ci-stats] send test results to ci-stats service (#123740) (#124634)
* [ci-stats] send test results to ci-stats service

* move export to export type

(cherry picked from commit cc0380a461)

Co-authored-by: Spencer <email@spalger.com>
2022-02-03 18:34:57 -07:00
renovate[bot]
1a2deba3cb
Update babel (main) (#124072)
* Update babel

* update kbn/pm dist

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: spalger <spencer@elastic.co>
2022-01-31 22:48:49 -05:00
Brian Seeders
70c2b8b98e
Move bazel remote cache token to a space that more employees have access to (#123402) 2022-01-19 13:40:07 -07:00
Brian Seeders
e39faea65d
[bazel] Setup remote cache settings on bootstrap (#121445) 2022-01-18 14:56:16 -05:00
Rudolf Meijering
1a6a9ae438
Surfacing deprecations with rich context from ES warning header (#120044)
* First stab at surfacing deprecations from warning header

* Log deprecations with error level but disable logger context by default

* Don't filter out error logs from ProcRunner

* Another try at not having messages ignored on CI

* Log deprecation logs with warn not info

* Tests

* Let write() do it's writing

* Commit pre-built @kbn/pm package

* Second try to commit pre-built @kbn/pm package

* Enable deprecation logger for jest_integration even though logs aren't interleaved

* Apply suggestions from code review

Co-authored-by: Luke Elmers <lukeelmers@gmail.com>

* deprecations logger: warn for kibana and debug for users

* Refactor split query and deprecation logger out of configure_client

* Unit test for tooling_log_text_writer

* Fix TS

* Use event.meta.request.params.headers to include Client constructor headers

* Fix tests

* Ignore deprecation warnings not from Elasticsearch

* Log on info level

* Log in JSON so that entire deprecation message is on one line

* commit built kbn-pm package

Co-authored-by: Luke Elmers <lukeelmers@gmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-12-08 18:32:44 +01:00
Tyler Smalley
92a8636f0f
Upgrade Typescript to 4.3.5 (#104470)
Co-authored-by: Mikhail Shustov <restrry@gmail.com>
Co-authored-by: Dario Gieselaar <dario.gieselaar@elastic.co>
Co-authored-by: CJ Cenizal <cj@cenizal.com>
Co-authored-by: Justin Kambic <justin.kambic@elastic.co>
Co-authored-by: Stratoula Kalafateli <efstratia.kalafateli@elastic.co>
Co-authored-by: Jean-Louis Leysens <jloleysens@gmail.com>
Co-authored-by: Kyle Pollich <kpollich1@gmail.com>
Co-authored-by: Xavier Mouligneau <189600+XavierM@users.noreply.github.com>
Co-authored-by: Kevin Qualters <kevin.qualters@elastic.co>
Co-authored-by: Candace Park <candace.park@elastic.co>
Co-authored-by: Brian Seeders <brian.seeders@elastic.co>
Co-authored-by: spalger <spencer@elastic.co>
2021-12-02 16:27:41 -08:00
Spencer
96ec161569
[kbn/pm] sort package.json in bootstrap (#118805) 2021-11-16 16:41:59 -07:00
renovate[bot]
10c5318c3d
Update babel (main) (#118741)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: spalger <spencer@elastic.co>
2021-11-16 16:38:45 -07:00
Spencer
62f7c9da0f
Better support M1 users (#117766)
Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-11-08 22:47:52 +00:00
Spencer
4385ac4d83
[eslint] enable type-specific lint rules (#114184)
* [eslint] enable type-specific lint rules

* autofix violations

* duplicate eslint-disable to new export statement

Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-11-03 16:56:17 -06:00
Jonathan Budzenski
491ccc0d55
[yarn.lock] Resolve micromatch to 4.0.4 (#115132) 2021-10-20 17:53:37 -05:00
Spencer
eeed2ca6ae
[ci] filter out proc-runner logs from stdout on CI (#114568)
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-10-13 11:03:04 -05:00
Tyler Smalley
690c25112c
[ci-metrics] Use git rev-parse for branch (#114736)
--show-current was added in 2.22, which is still relatively new.

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-10-12 21:17:01 -04:00
Spencer
7c087fea82
[ci-stats] support sending meta with metrics (#114198)
* [ci-stats] support sending meta with metrics

* update kbn/pm dist

* improve comments stat

* update kbn/pm dist

Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-11 23:01:02 -05:00
Spencer
912eb0d937
[ftr] ensure indentation is reset between configs (#114359)
Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-12 00:29:10 +01:00
Spencer
032473ba29
[ci-stats-reporter] ensure HTTP adapter is used (#114367)
* [ci-stats-reporter] ensure HTTP adapter is used

* update kbn/pm dist

Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-10-08 17:52:44 -05:00
Liza Katz
b62566da33
[ci-stats] Collects additional timings for cli tools (#113030)
* [ci-stats] Collects additional metrics about bootstrap

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>

* test reporting

* [ci-stats] Collects additional metrics about bootstrap

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>

* Move ts timing to build_ts_refs_cli script

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>

* Add timings to run

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>

* info debug level

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>

* fix build

* Move report function to dev-utils
align name of tests
report from functional test runner

* report snapshot install \ ready times
fix event names

* Report memory usage and branch hash

* fix eslint

* fix integration test

* build

* mergy merge

* mergy merge 2

* eslint

* eslint

* ready events

* Update packages/kbn-es/src/cli_commands/snapshot.js

Co-authored-by: Tyler Smalley <tylersmalley@gmail.com>

* Update packages/kbn-es/src/cluster.js

Co-authored-by: Tyler Smalley <tylersmalley@gmail.com>

* Update packages/kbn-es/src/cli_commands/snapshot.js

Co-authored-by: Tyler Smalley <tylersmalley@gmail.com>

* Update packages/kbn-test/src/functional_tests/cli/start_servers/cli.js

Co-authored-by: Tyler Smalley <tylersmalley@gmail.com>

* Update src/dev/run_check_published_api_changes.ts

Co-authored-by: Tyler Smalley <tylersmalley@gmail.com>

* Update packages/kbn-test/src/jest/run.ts

Co-authored-by: Tyler Smalley <tylersmalley@gmail.com>

* Update src/dev/run_i18n_check.ts

Co-authored-by: Tyler Smalley <tylersmalley@gmail.com>

* Update packages/kbn-test/src/functional_test_runner/cli.ts

Co-authored-by: Tyler Smalley <tylersmalley@gmail.com>

* code review

* pm

* merge

* dist

* jest fix

Co-authored-by: Tyler Smalley <tyler.smalley@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Tyler Smalley <tylersmalley@gmail.com>
2021-10-05 12:57:40 +03:00
Tyler Smalley
284732f058
[ci-stats] Local metrics fixes (#113492)
* Rename `{ group: 'yarn start', id: 'started' }` to `{ group: 'scripts/kibana', id: 'dev server started' }` for consistency
* Rename `{ group: '@kbn/optimizer' }` to `{ group: 'scripts/build_kibana_platform_plugins' }` for consistency
* Include email for Elastic employees
* Standardize on Unix paths
* Set `subProcess: true` if the timing is already captured by a parent.
* Move nestedTiming to global and use normalize-path
2021-10-03 11:43:45 -05:00
Patryk Kopyciński
4b89e14884
Bump eslint@7 (#94347) 2021-10-02 17:38:40 +02:00
renovate[bot]
17d3cb844f
Update babel (master) (#113352)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-10-01 15:07:55 -07:00
Shahzad
fe9b5332e1
[Uptime] Run Sample uptime tests using @elastic/synthetics (#112128)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-30 13:58:38 +02:00
Tyler Smalley
d20a696e95
[ci-stats] Collects additional timings about bootstrap (#112919)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-09-28 20:56:49 -04:00
Thomas Watson
4243c10766
Bump ansi-regex from v5.0.0 to v5.0.1 (#113282) 2021-09-28 13:39:43 -04:00
Patryk Kopyciński
47c9efded8
Bump cypress@8.4.1 (#104301) 2021-09-28 15:07:54 +02:00
Spencer
c5887450c6
[ci-stats] retry requests that respond with a 500 or greater (#111967)
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-09-13 11:56:41 -07:00
Jonathan Budzenski
1e70ad1dcf
[yarn.lock] Dedupe babel dependencies (#111810)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-13 11:50:26 -05:00
Spencer
8c567624d3
[ci-stats] retry calls to ci-stats slower (#110845)
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-09-01 15:41:13 -04:00
Spencer
1500534a51
add script to update VSCode config with proper excludes (#110161)
Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-30 16:43:28 -07:00
Jonathan Budzenski
88f955621d
Bump node-sass to 6.0.1 (#109930) 2021-08-30 16:42:06 -05:00
Tiago Costa
36eaf7fd58
chore(NA): enables @babel/plugin-transform-runtime to decrease output size (#109843)
* chore(NA): enables @babel/plugin-transform-runtime to decrease output size

* chore(NA): update @kbn/pm bundle

* chore(NA): missing config on corejs for runtime

* fix(NA): flaky unit test

* chore(NA): update limits file

* chore(NA): remove corejs

* chore(NA): old config files

* chore(NA): update limmits file

* chore(NA): updated yarn lock file

* chore(NA): update limits

* chore(NA): restore original test file

* chore(NA): skip flaky test

* chore(NA): skip another failing test
2021-08-25 22:24:38 +01:00
Jonathan Budzenski
91bb2c5b57
[kbn/pm] Remove legacy build code (#107217) 2021-08-02 13:53:27 -05:00
Tiago Costa
b9acd3ce74
chore(NA): moving @kbn/dev-utils to babel transpiler (#107245)
* chore(NA): moving @kbn/dev-utils to babel transpiler

* chore(NA): fix types field on tsconfig files for packages missing it

* chore(NA): update package.jsons

* chore(NA): update kbn/pm dist

* chore(NA): update types field on package jsons

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-30 16:03:42 -04:00
Spencer
926db441b9
[dev-utils/run] support --info flag when default log level changed (#107244)
* [dev-utils/run] support --info flag when default log level changed

* update kbn/pm dist and remove excess --debug flag

Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-07-30 10:22:18 -07:00
Jonathan Budzenski
134b2fd9e1
[kbn-pm] Default build and watch commands to use bazel (#105674)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-28 16:39:54 -04:00
Josh Dover
524401973f
Add timeouts and setup enforcement for custom plugins statuses (#77965) 2021-06-23 13:58:10 -04:00