Commit graph

136 commits

Author SHA1 Message Date
Spencer 9d0b495a30
[ci] ship Jest unit test junit with runbld in jest worker (#97197)
Co-authored-by: Brian Seeders <seeders@gmail.com>
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-04-15 17:13:38 -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
Brian Seeders 65dc108575
[CI] Don't retry steps after a build has been aborted or timed out (#96600) 2021-04-08 17:33:34 -04:00
Spencer cf22394807
pass script to bash to support scripts which aren't actually executable (#96198)
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-04-04 14:40:42 -04:00
spalger 763c0038ae Revert "stop wrapping steps in runbld (#96195)"
This reverts commit f8a6ba223a.
2021-04-04 09:34:58 -07:00
Spencer f8a6ba223a
stop wrapping steps in runbld (#96195)
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-04-04 09:15:14 -07: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 374cbf9053
[ci] disable api-docs step (#93975)
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-03-08 14:28:09 -05: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
Yara Tercero d847958fb3
[ci] disable firefox scripts from security cypress job (#92483)
Temporarily disabling security solution Firefox tests. Seem to be race conditions present in the Firefox run specifically causing flake.
2021-02-23 15:06:46 -05:00
Brian Seeders 8ab68601e0
[CI] Convert ES Snapshots Verify job to use tasks (#92091) 2021-02-23 11:00:03 -05: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
Dmitry 8fb50c926f
[coverage] speed up merging results of functional tests (#92111)
* [coverage] copy kibana to match coverage path

* bootstrap copy

* use rsync

* skip major tests

* add flags and logs

* remove pwd

* zip and copy to checkout dir

* back to checkoutDir

* fix script

* Revert "skip major tests"

This reverts commit a6fb2f5ef1.

* cleanup

* remove unused script

* cleanup
2021-02-22 18:29:29 +03:00
Brian Seeders a164411286
[CI] backportrc can skip CI (#91886) 2021-02-18 21:00:19 -05:00
Brian Seeders a82b13d147
[FTSR] Convert to tasks and add jest/api integration suites (#91770) 2021-02-18 11:52:50 -08:00
Brian Seeders 03206b688a
[CI] Build and publish storybooks (#87701) 2021-02-18 14:13:23 -05:00
Brian Seeders 96bc9e868d
[CI] Ping assignees on Github PR comments (#91871) 2021-02-18 13:42:40 -05: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
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 531194baba
[ci/docsLink] hide link when 200 says "There aren't any differences!" (#90079)
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-02-02 15:21:19 -07:00
Brian Seeders 2f05b513e7
[CI] Remove TeamCity code (#90041) 2021-02-02 16:31:48 -05:00
Brian Seeders 0cc57d085a
[CI] Only delay ciGroup processes when using tasks (#90038) 2021-02-02 16:27:43 -05:00
Spencer 3f96892430
[jenkins/prs] report docs changes url in PR comments (#89454)
Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-01 11:43:38 -07:00
Brian Seeders 3720006cf8
[CI] Move Jest tests to separate machines (#89770) 2021-01-29 17:05:27 -05:00
Brian Seeders 5a33872e07
[CI] Sleep before starting ciGroup tasks to smooth out CPU spikes from ES starting up (#89751) 2021-01-29 15:09:33 -05:00
Jonathan Budzenski 5c709bb6cc Revert "[CI] Combines Jest test jobs (#85850)"
This reverts commit 46ac4ed7a2.
2021-01-28 12:15:45 -06:00
Tyler Smalley 46ac4ed7a2
[CI] Combines Jest test jobs (#85850)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-01-27 07:36:10 -08:00
Spencer 208ae0d2a4
[functional_cors] use pre-defined unique port in CI (#88919)
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-01-21 08:34:03 -07:00
Tiago Costa 69182a8628
chore(NA): create new x-pack cigroups and rebalancing them all (#88366)
* chore(NA): create new x-pack cigroups and rebalancing them all

* chore(NA): better cigroups balancing

* chore(NA): push rollup tests back into ciGroup1

* chore(NA): move some functional ml tests from cigroup3 into cigroup13

* chore(NA): move some more tests into ciGroup13

* chore(NA): use a single top level describe at x-pack/test/functional/apps/ml

* chore(NA): move settings into ciGroup13

* temporary test for es snapshots env

* Revert "temporary test for es snapshots env"

This reverts commit 789ebe7b9c.

* docs(NA): add missing documentation on the function tests describe split

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-20 13:47:08 +00:00
Brian Seeders fc2b74c354
[CI] Gate TeamCity PR commit statuses (#88526) 2021-01-19 11:31:57 -05:00
Tiago Costa 9139ab15fd
chore(NA): remove mocha junit ci integrations (#88129)
* chore(NA): remove mocha junit ci integrations

* chore(NA): remove mocha script from xpack

* chore(NA): single rule exclusion on eslint config for mocha

* chore(NA): remove unused custom mocha integration code from kbn/test

* chore(NA): rewording packages readme

* docs(NA): remoe mocha mention from development-unit-tests
2021-01-15 21:17:25 +00:00
Jonathan Budzenski 51ba94d3e5
[dev] Replace sass-lint with stylelint (#86177)
Co-authored-by: Tyler Smalley <tylersmalley@me.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Dave Snider <dave.snider@gmail.com>
2021-01-15 11:52:29 -06:00
Dmitry b10be9ec6f
[coverage] do not collect stats for mocha (#87859) 2021-01-11 21:00:00 +01:00
spalger 1c5dc638ea [securitySolution/cypress] temporarily limit to PRs 2020-12-29 12:19:12 -07:00
Brian Seeders e3e166e05a
[CI] Bump memory for main CI workers (#86541) 2020-12-18 17:39:32 -05:00
Brian Seeders 646a34043a
Explicitly set Elasticsearch heap size during CI and local development (#86513) 2020-12-18 17:32:58 -05:00
Tyler Smalley c733233e73 [CI] Increase instance size for functional tests (#86192)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2020-12-17 14:07:00 -06:00
MadameSheema 486e232be7
[Security Solution] Cypress back to live (#86093)
* removes signals extra sanity

* fixes signals cleaning

* cleans kibana before each test execution

* upgrades cypress to version 6.1.0

* enables cypress execution on jenkins

* generalises kibana cleanining indexes

* cleans after hooks

* fixes type check errors

* moves archive unloads to after hooks

* fixes alert test

* skips failed tests

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-17 17:05:53 +01:00
Tyler Smalley 6671cf3c22 Revert "[CI] Increase instance size for functional tests (#86192)"
This reverts commit 2ea75487a6.
2020-12-16 15:30:21 -08:00
Tyler Smalley c5e9543fc9 Revert "chore(NA): rebalance x-pack cigroups (#85797)"
This reverts commit 1e3a483b06.
2020-12-16 15:28:53 -08:00
Tyler Smalley 2ea75487a6
[CI] Increase instance size for functional tests (#86192)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2020-12-16 14:58:06 -08:00
Dmitry 2fcce0bcbc
[coverage] re-enable jest (#85946)
* [coverage] re-enable jest

* fix coverage script for x-pack

* use presets in entry configs

* set max workers

* run tests from x-pack folde

* remove duplicate 'reporters' prop

* remove reporters for x-pack config

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-16 20:20:55 +01:00
Tiago Costa 1e3a483b06
chore(NA): rebalance x-pack cigroups (#85797) 2020-12-16 09:58:46 -08:00
Tyler Smalley 78bd95f5ca Skip Flaky Security Cypress tests
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2020-12-15 22:09:45 -08:00
Tyler Smalley 9b62100428
Removes Grunt abstraction from CI tasks (#85210)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2020-12-09 08:51:32 -08:00
Dmitry ec1666be5a
Skip jest coverage on CI (#85375)
* [coverage] skip running jest tests

* run mocha only

* skip uploading jest artifacts
2020-12-09 16:31:00 +01:00
Tiago Costa f961e90ea7
chore(NA): remove scripts on plugins to find circular deps (#84852)
* chore(NA): remove extra scripts on plugins to find circular deps

* chore(NA): remove madge as dependency

* Move cyclic dep jobs

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

Co-authored-by: Tyler Smalley <tyler.smalley@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-07 19:41:38 +00:00
Brian Seeders aa2525c842
[CI] Bump intake instance size (#85082) 2020-12-04 20:50:55 -05:00
Tiago Costa 9c3ca2023e
chore(NA): removes auto install of pre-commit hook (#83566)
* chore(NA): remove kibana pre-commit hook installation from bootstrap

* chore(NA): add support for git ref flag on run precommit hook script

* chore(NA): integrate quick commit checks within the CI

* chore(NA): introduce logging trap to warn about quick commit checks failure and how to reproduce it

* chore(NA): update quick commit checks message

* fix(NA): quick commit checks function def

* chore(NA): fix quick commit checks message quotes

* chore(NA): fix functional call

* chore(NA): fix script to run

* chore(NA): add unexpected debugger statement to test quick commit checks

* chore(NA): update message to log before quick commit checks

* chore(NA): remove extra debugger statement

* chore(NA): add echo message inline with script execution

* chore(NA): add unexpected debugger statement to test quick commit checks

* chore(NA): remove extra usage of debug statement

* chore(NA): wrapping quick commit checks in a func

* chore(NA): export function to use later

* chore(NA): export function to use later

* chore(NA): use child bash script on github checks reporter

* chore(NA): define dir context for commit_check_runner.sh

* fix(NA): permissions for commit_check_runner.sh

* fix(NA): permissions for commit.sh

* chore(NA): format message to log

* chore(NA): add unexpected debugger statement to test quick commit checks

* chore(NA): remove extra usage of debug statement

* chore(NA): format runner message

* chore(NA): replace log.info by log.warning

* docs(NA): include docs for removing the pre-commit hook auto installation

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-04 14:43:33 +00:00