Commit graph

83 commits

Author SHA1 Message Date
Spencer 54955521bb
[7.x] include ci-stats metrics in pr comment (#68563) (#69096)
Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>

Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-06-12 18:40:46 -07:00
Brian Seeders be7604bd96 [CI] Add new intake worker size with 2x memory, and move workspace to memory (#67676)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-05-28 17:28:37 -05:00
Brian Seeders 5f622ebeb4
[CI] Change slack notifications icon to yellow heart for unstable (#66896) (#67518) 2020-05-27 17:39:41 -04:00
Spencer 9349f32f0e
[7.x] [ci/stats] fix merge base detection (#67030) (#67534)
Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-05-27 13:18:32 -07:00
Brian Seeders 30f7662424
[CI] Fix Slack test failure names in Slack alerts (#66815) (#66999) 2020-05-19 11:45:38 -04:00
Brian Seeders c4d249de48
[CI] Add one retry to setup step (#66638) (#66748) 2020-05-15 16:02:48 -04:00
Brian Seeders 62bf51f9ea
Replace agent metrics link with the new one (#66632) (#66743) 2020-05-15 13:09:12 -04:00
Brian Seeders 53683d8c8c
[CI] Add slack alerts to tracked branch jobs, change default channel, change formatting (#66580) (#66739) 2020-05-15 13:08:08 -04:00
Joe Reuter ef2c5ef761
Switch to core application service (#63443) (#66353) 2020-05-13 11:34:57 +02:00
Brian Seeders 3d1024ca6a
[CI] Slack alerts - Elasticsearch snapshot failures (#64724) (#65270) 2020-05-05 12:02:48 -04:00
Brian Seeders 284c9e3083
Add 2 flaky retries to es snapshot jobs (#64553) (#65134) 2020-05-04 16:49:50 -04:00
Spencer 94ca9ca700
[7.x] Implement basic CI metric reporting (#64263) (#64580) 2020-04-27 16:28:05 -07:00
Spencer fec6b7c37e
[7.x] [jenkins] refer to sizes in most pipeline code (#62082) (#62549)
* [jenkins] refer to sizes in most pipeline code

* switch back to `linux && immutable` for small instances

Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>

Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-04-04 10:24:00 -07:00
Brian Seeders 7c4c3b165c
[CI] Add error steps and help links to PR comments (#60772) (#60909) 2020-03-24 10:30:54 -04:00
Brian Seeders 91e56b845d
Only run xpack siem cypress in PRs when there are siem changes (#60661) (#60911) 2020-03-24 10:30:37 -04:00
Spencer ede40f7a88
[7.x] [SIEM] Cypress screenshots upload to google cloud (#6055… (#60719)
* testing screenshots upload to google cloud

* testing another pattern

* fixes artifact pattern

* uploads only the .png files

* only limit uploads from kibana-siem directory

Co-authored-by: spalger <spalger@users.noreply.github.com>

Co-authored-by: MadameSheema <snootchie.boochies@gmail.com>
Co-authored-by: spalger <spalger@users.noreply.github.com>
2020-03-19 22:42:41 -07:00
Brian Seeders 1a935ad656
Skip CI based on changes in PR (#59939) (#60018) 2020-03-12 16:12:17 -04:00
Brian Seeders 62ea6e63cd
[CI] Pipeline refactoring (#56447) (#59077) 2020-03-02 17:24:57 -05:00
Spencer 9f94c39960
[7.x] build immutable bundles for new platform plugins (#53976) (#57528)
* build immutable bundles for new platform plugins (#53976)

* build immutable bundles for new platform plugins

* only inspect workers if configured to do so

* [navigation] use an index.scss file

* add yarn.lock symlink

* set pluginScanDirs in test so fixtures stay consistent

* cleanup helpers a little

* fix type error

* support KBN_OPTIMIZER_MAX_WORKERS for limiting workers via env

* test support for KBN_OPTIMIZER_MAX_WORKERS

* expand the available memory for workers when only running one or two

* add docs about KBN_OPTIMIZER_MAX_WORKERS environment variable

* fix README link

* update kbn/pm dist

* implement bundle caching/reuse

* update kbn/pm dist

* don't check for cache if --no-cache is passed

* update renovate config

* standardize on index.scss, move console styles over

* add support for --no-cache to cli

* include worker config vars in optimizer version

* ignore concatenated modules

* update integration test

* add safari to browserslist to avoid user-agent warnings in dev

* update docs, clean up optimizer message/misc naming

* always handle initialized messages, don't ignore states that are attached to specific events

* reword caching docs, add environment var to disable caching

* tweak logging and don't use optimizer.useBundleCache as that's disabled in dev

* handle change notifications

* batch changes for 1 second

* rename CompilerState type to CompilerMsg

* getChanges() no longer needs to assign changes to dirs

* remove unused deps

* split up run_worker.ts and share cacheKey generation logic

* add a couple docs

* update tests and remove unused imports

* specify files when creating bundle cache key

* remove one more unused import

* match existing dev cli output more closely

* update kbn/pm dist

* set KBN_NP_PLUGINS_BUILT to avoid warning in CI

* avoid extending global window type

* add note to keep pluginScanDirs in sync

* pass browserslistEnv in workerConfig so it is used for cache key

* load commons.bundle.js in parallel too

* emit initialized+success states if all bundles are cached

* load bootstraps as quickly as possible

* skip flaky suite

* bump

* update jest snapshots

* remove hashing from cache key generation

* remove unnecessary non-null assertion

* improve docs and break up Optimizer#run()

* remove unused import

* refactor kbn/optimizer to break up observable logic, implement more helpful cache invalidation logic with logging

* fix tests

* add initializing phase

* avoid rxjs observable constructor

* remove unnecessary rxjs helper, add tests for bundle cache

* update consumers of optimizer

* update readme with new call style

* replace "new platform" with "kibana platform"

* fix a couple more renames

* add support for several plain-text file formats

* fix naming of OptimizerMsg => OptimizerUpdate, use "store" naming too

* one more OptimizerMsg update

* ensure bundles are not cached when cache config is false

* test for initializing states and bundle cache events

* remove unnecessary timeout change

* Remove unnecessary helpers

* Add tests for BundleCache class

* Add tests for Bundle class

* test summarizeEvent$

* missing paths are no longer listed in mtimes map

* add tests for optimizer/cache_keys

* Add some extra docs

* Remove labeled loop

* add integration test for kbn-optimizer watcher components

* querystring-browser removed

* tweak logging a smidge, improve info and final message

* remove unused imports

* remove duplication of getModuleCount() method

* move type annotation that validates things

* clear up the build completion message

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>

* [kbn/optimizer] Fix windows support (#57592)

* [kbn/optimizer] simplify run_workers.ts a smidge

* use Path.resolve() to create windows paths from normalized ones

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
(cherry picked from commit 343bc9c303)

* remove istanbul/code coverage references

* fix webpack config syntax

* removal of querystring-browser was backported to 7.x

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-02-14 11:35:24 -07:00
Brian Seeders 2de2658f4d
Remove matrix build support (#54202) (#56170) 2020-01-28 16:55:29 -05:00
Brian Seeders 82509cb97b
Fix Github PR comment formatting (#56078) (#56091) 2020-01-27 22:12:07 -05:00
Brian Seeders fc8e61470b
[CI] Retry flaky tests (#53961) (#56056) 2020-01-27 16:26:24 -05:00
Brian Seeders 896ae06cb6
[7.x] Elasticsearch snapshots automation (#53706) (#54150) 2020-01-08 10:27:17 -05:00
Brian Seeders 09a1495a88
[7.x] Add kibanamachine support to Github PR comments (#53852) (#53871)
* Add kibanamachine support to Github PR comments

* Temporary commit for quick successful pipeline

* Only delete the last comment if it was made by kibanamachine

* Revert "Temporary commit for quick successful pipeline"

This reverts commit d31f579697.
2019-12-31 21:42:16 -05:00
Brian Seeders 27c4a8b895
[7.x] Print out agent debugging links during CI (#52812) (#52901) 2019-12-12 15:14:35 -05:00
Spencer 7118e48c06
[7.x] Add failure screenshot links to JUnit failures (#52449) (#52775)
# Conflicts:
#	src/dev/mocha/junit_report_generation.js
2019-12-11 22:06:29 -07:00
Spencer 1e812b25c2
[7.x] [ci/pipeline/reportFailures] when aborted, run with --no… (#52423) 2019-12-06 14:23:29 -07:00
Spencer e36afbc8d9
[7.x] [failed_tests_cli] update reports with links to github i… (#52303)
* [failed_tests_cli] update reports with links to github issues (#52048)

* [failed_tests_cli] update reports with links to github issues

* reorder test report hooks so that published Junit includes modified reports

* force failures and enable dry-run mode for debugging

* auto-switch to --dry-run when running in non-tracked branches/prs

* add --skip-junit-update flag to skip mutating the reports

* remove comma after URL to support auto-linking in Jenkins

* Revert "force failures and enable dry-run mode for debugging"

This reverts commit ac0c287a3f.

* fix method call

* extend TestResult to include relevence flag rather than wrapping

* fix createFailureIssue() tests

* make report messages more consistent, append when not dry-run

* rename module

* update snapshots to not contain valid xml

* don't send authorization header if no token defined

* merge with master modified fixtures

* [ci/reportFailures] --dry-run is overloaded, split it up (#52314)

* [ci/reportFailures] --dry-run is overloaded, split it up

* force some failures to verify the fix

* Revert "force some failures to verify the fix"

This reverts commit cf2a58e139.

* update readme to mention new flags

* remove unnecessary commas

(cherry picked from commit 8e8571bae0)
2019-12-05 14:43:33 -07:00
Brian Seeders ceadcebccc
Add PR comments to pipeline (#51504) (#52143) 2019-12-03 20:36:16 -05:00
Brian Seeders 4413e0a896
[7.x] Experimenting with delay in test startup (#51459) (#52010)
* Experimenting with delay in test startup (#51459)

* Experimenting with delay in test startup

* Move firefox tests sooner becuase they take a long time to run

* Move functional test parallel process delay to a spot that should work better for flaky test runner

* Fix Jenkinsfile
2019-12-02 17:34:21 -05:00
Brian Seeders 3a078811f8
[7.x] Add labels to shell scripts in Jenkins (#49657) (#50794) 2019-11-15 14:47:14 -05:00
Brian Seeders 921fa56659
[7.x] Retry git clone up to 8 times before failing a build (#5… (#50790) 2019-11-15 14:46:51 -05:00
Brian Seeders ec705654c8
[7.x] Re-add pipeline for flaky test runner job (#48781) (#49905)
* Revert "Revert "Add pipeline for flaky test runner job (#46740)""

This reverts commit 7d96a13fad.

Also reconcile changes to Jenkinsfile since original revert happened

* Fix param parsing and add missed change

* Add missing variable
2019-11-15 11:56:26 -05:00