Commit graph

235 commits

Author SHA1 Message Date
Clint Andrew Hall 4f85f5e841
[Unified Integrations] Create Services, Storybook, Replacements Card; add to Fleet (#113816)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-05 15:29:05 -04: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
Jonathan Budzenski bffe5cfc47
[ci] sync storybook builds between jenkins and buildkite (#113071) 2021-09-24 13:35:13 -04:00
Tyler Smalley 6c73b2ad2f
[CI] Increase heap for Jest Integration (#112594)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-09-20 12:54:00 -07:00
Spencer eaf70a0b4e
[kbn/ui-shared-deps] split into two packages (#110558)
* [kbn/ui-shared-deps] split into two packages

* fix asset categorizer

* update snapshots

* reference npm dll from optimizer

Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-09-16 12:06:46 -07:00
Jonathan Budzenski 97f9497269
[ci] Update list of storybooks to build (#111556) 2021-09-08 14:40:03 -05:00
Cauê Marcondes 2fe56f9793
[APM] tests restructure (#110703)
* refactoring test

* improving test structure

* improvements

* improving readmes

* readme

* test

* fixing ts issue

* addressing pr comments

* fixing readme files

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-01 16:42:33 -04:00
Tyler Smalley 9850414b92
[ci] Removes all verbose flags (#110842)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-09-01 12:05:28 -07:00
Spencer 7e2bd4fd54
[ftr] rework ciGroup validation to remove JOBS.yml and avoid duplication (#109149)
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-08-19 11:40:23 -05:00
Spencer c0395c9ef6
[build_ts_refs] improve caches, allow building a subset of projects (#107981)
* [build_ts_refs] improve caches, allow building a subset of projects

* cleanup project def script and update refs in type check script

* rename browser_bazel config to avoid kebab-case

* remove execInProjects() helper

* list references for tsconfig.types.json for api-extractor workload

* disable composite features of tsconfig.types.json for api-extractor

* set declaration: true to avoid weird debug error

* fix jest tests

Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-08-10 22:12:45 -07:00
Cauê Marcondes 6ed4b4f70c
[APM] Add new ftr_e2e to kibana CI and remove current e2e tests. (#107593) 2021-08-10 23:40:20 -04:00
Jonathan Budzenski 5e5580e687
[package testing] Create target dir before copying artifacts (#107679)
gsutil requires a directory to exist before copying artifacts in.
Prior to https://github.com/elastic/kibana/pull/107217, a
.bootstrap-cache file was written, providing the directory for these
writes.  Now that we're no longer writing this file, we need to ensure
it exists.
2021-08-04 17:12:35 -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
Dzmitry Lemechko e994d14eaa
[load testing] remove extra loop and pass simulations to running script (#106997)
* [load testing] remove loop and pass simulations seq

* pass string, not array to script

* pass var via export

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-29 10:08:48 +02:00
Spencer dfb1b615e9
[api-docs] raise memory limit again (#107065)
* [api-docs] raise memory limit again

* update buildkite script too

Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-07-28 16:45:04 -04:00
Spencer d3606aee04
[ci] raise the max-old-space-size for scripts/build_api_docs (#106735)
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-07-26 14:41:18 -04:00
Tiago Costa 465b36ca9c
chore(NA): improves @kbn/ui-shared-deps build performance (#105971)
* chore(NA): move packages assets optimization into the distributable build

* chore(NA): include terser task on distributable build

* chore(NA): migrate everything into the build tasks

* chore(NA): update webpack config to include react profiler

* chore(NA): optional fsevents

* chore(NA): redo optional fsevents

* chore(NA): remove noparse for fsevents

* chore(NA): include missing task declaration

* chore(NA): include sourcemaps

* chore(NA): include metrics bundle file generation during distributable build

* chore(NA): correctly setup paths

* chore(NA): change sourcemap types

* chore(NA): remove useless sourcemaps

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-21 21:00:49 +01:00
Dzmitry Lemechko 216bb5e1b8
[load] run puppeteer script before gatling scenarios (#104836)
* [load] puppeteer script before load testing

* install dependencies after metricbeat configuration

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-12 13:23:08 +02:00
Jonathan Budzenski 7359fabf7c
[build] Remove OSS builds (#103685) 2021-06-29 18:17:51 -05:00
Jonathan Budzenski 24661fe208 Revert "[build] Remove OSS builds (#100577)"
This reverts commit b2d76a6cd3.
2021-06-29 09:51:11 -05:00
Jonathan Budzenski b2d76a6cd3
[build] Remove OSS builds (#100577)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-29 09:21:58 -05:00
Josh Dover 524401973f
Add timeouts and setup enforcement for custom plugins statuses (#77965) 2021-06-23 13:58:10 -04:00
Tiago Costa cee33b004c
chore(NA): moving @kbn/ui-shared-deps into bazel (#101669)
* chore(NA): moving @kbn/io-ts-utils into bazel

* chore(NA): moving @kbn/ui-shared-deps into bazel

* chore(NA): compelte working build for @kbn/ui-shared-deps

* chore(NA): solve eslint problems

* chore(NA): solve typechecking

* chore(NA): debugger changes

* chore(NA): update optimizer basic integration tests

* chore(NA): ship kbn/ui-shared-deps metrics.json from new location at shared_built_assets

* chore(NA): use correct ui-shared-deps metrics file location

* chore(NA): remove webpack bazel config

* chore(NA): implement improvements on webpack config

* chore(NA): remove extra comment

* chore(NA): try esbuild-loader minimizer

* Revert "chore(NA): try esbuild-loader minimizer"

This reverts commit bffc49aaae.

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-18 16:09:31 +01:00
Clint Andrew Hall 08ba5b3f4b
[canvas] Refactor Storybook from bespoke to standard configuration (#101962) 2021-06-17 18:57:44 -04:00
Dzmitry Lemechko 3707496627
Load testing/restart stack for simulation (#102492)
* [load testing] restart Kibana & ES before each simulation

* [load testing] add sleep 30s before starting ES/Kibana
2021-06-17 16:07:21 +02:00
Brian Seeders 3ba4cff52a
[CI] For PRs, build TS refs before public api docs check (#100791) 2021-06-01 21:27:42 -04:00
Jonathan Budzenski f0e11bcd1b
Automated package testing (#88900)
Co-authored-by: Tyler Smalley <tylersmalley@me.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-05-27 13:37:43 -05:00
Dzmitry Lemechko bc3b9d694b
[QA] update code coverage to use its own script (#100199)
* do  run build script for code coverage

* fix notifyOnError call

* remove maxWorkers argument

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-05-20 10:34:44 +02:00
Tyler Smalley 537be25754
[FTR][CI] Use default distribution for all tests (#94968)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-05-12 15:24:25 -04:00
Brian Seeders f404305eaa
[CI] Create a ciGroup just for tests that use Docker (#98535) 2021-05-03 13:53:22 -04:00
Aleh Zasypkin 808959e316
Handle 401 Unauthorized errors in a more user-friendly way (#94927) 2021-04-27 19:09:54 +02:00
Spencer b7a9b84af8
Revert "Revert "[ci] skip building ts refs when not necessary (#95739)" (#95746)" (#95750)
Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-19 09:45:09 -07:00
Stacey Gammon 503cfcf8c9
Track API stats as part of ci (#95733)
* Track stats and add extra output information

* Update api docs output

* Clean up id names

* update api docs

* Consolidate error messages and fix a bug

* Update docs

* Update get_declaration_nodes_for_plugin.ts

* Fix bug with removeBrokenLinks not being recursive

* Update docs

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-15 11:36:10 -04:00
Pierre Gayvallet cd703c0c89
Revert "[ci] skip building ts refs when not necessary (#95739)" (#95746)
This reverts commit e46a74f7
2021-03-30 01:56:29 -07:00
Spencer e46a74f757
[ci] skip building ts refs when not necessary (#95739)
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-03-30 00:52:13 -04:00
Spencer 7b35b28edc
[ci] try reducing Jest concurrency to mitigate random timeouts (#95348)
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-03-24 16:32:52 -04:00
Yara Tercero bbee40c819
[Lists][Exceptions] - Adding basic linting, i18n and storybook support (#94772)
### Summary

In preparation for moving all the exceptions UI components into the lists plugin adds some linting, adds the lists plugin to the i18n config and adds storybook support. Tried to add a bit stricter linting than exists in the security solution right now, rules that we've talked about wanting to enable.
2021-03-16 21:46:20 -04:00
Anton Dosov bd9170f7dc
[Search Sessions] Search session example app functional test (#92133) 2021-03-15 14:47:14 +01:00
Nathan L Smith 749a22989b
Enable APM storybook publishing (#93353)
Changes to fix APM's Storybook setup were made in #93087 and #93294. This re-enables it and fixes a couple places where we weren't using a theme provider.
2021-03-08 10:39:25 -06:00
Spencer bf8417ed1a
[ci] separate checks done in bootstrap as individual tasks (#93329)
(cherry picked from commit b790f4ca1761bc1fab7818318213833a9c7d092f)

Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-03-03 08:45:55 -07:00
Marius Dragomir d0b39b10a7
Add metricbeat steps to jenkins_build_load_testing.sh (#90290)
* Update jenkins_build_load_testing.sh

* Change variables name

* Change to tar.gz package

* change install location

* Rename folder

* Debug and new folder name

* fix debug

* Fix path not changed

* more logging

* add cat logs

* more logging and skipping tests for debug

* Update jenkins_build_load_testing.sh

* Update jenkins_build_load_testing.sh

* Fix kibana_dir var

* Change log file path

* Update jenkins_build_load_testing.sh

* Update jenkins_build_load_testing.sh

* Fix metricbeat start

* Remove extra ls logging

* Changing to MB 7.11.0

* Fix package name

* Fix wrong copy

* Add vault credentials for stats

* Adding system data and removing log

* Update jenkins_build_load_testing.sh

Update script

* Update jenkins_build_load_testing.sh

Remove `ls` commands

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Dmitry <dzmitry.lemechko@elastic.co>
2021-02-24 16:08:26 +03:00
MadameSheema af2bb0500e
[Security Solution] Cypress tests executed on Firefox (#91524)
* allows Cypress tests to be executed on Firefox

* fixes failing tests

* fixes issues

* fixes exceptions table failing test

* updates readme

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-22 17:48:43 +01:00
Brian Seeders 03206b688a
[CI] Build and publish storybooks (#87701) 2021-02-18 14:13:23 -05:00
Dmitry 119199ef41
[coverage] change worker, save json files in original path (#91683)
* [coverage] write data to original path

* [coverage] change worker size
2021-02-17 19:45:06 +01:00
Spencer 9d8376d890
ship @kbn/ui-shared-deps metrics in separate step (#91504)
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-02-16 11:42:26 -07:00
Dmitry 2fe0d05375
[coverage] fix jest merging (#90915)
* [coverage] fix jest merging

* fix path to functional results

* revert wrong change

* fix ingest script

* fix ingest script

* [coverage plugin] change id to camelCase

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-16 18:02:56 +01:00
Spencer 591bcc1c71
[jest/ci] remove max-old-space-size override to use 4gb default (#91020)
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-02-10 17:13:49 -05:00
Tyler Smalley 08c08e88d9
[CI] Combines Jest unit tests (#89948)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-02-09 10:08:46 -08:00
Spencer a0ce7b5aa8
[kbn/optimizer][ci-stats] ship metrics separate from build (#90482)
Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-08 10:47:55 -07:00
Dmitry 2498f5719f
[load testing] add env vars to pass simulations and repo rootPath (#89544)
* [load testing] add env vars to pass simulations and repo rootPath

* pass simulation to sript as argument

* export GATLING_SIMULATIONS

* fix export

* add validation
2021-02-01 22:33:50 +01:00