Commit graph

335 commits

Author SHA1 Message Date
Jonathan Budzenski
9da30023bb
Re-enable Bazel cache on CI (#142975) (#142988)
* Re-enable Bazel cache on CI

* remove exit test
2022-10-10 08:14:56 -07:00
Jonathan Budzenski
eee24f55f6 Disable bazel cache on CI (#142873) 2022-10-06 10:22:20 -05:00
Kibana Machine
19279c8e85
[artifacts/cft] Soft fail on timeout (#141180) (#141244)
Co-authored-by: Jonathan Budzenski <jon@elastic.co>
(cherry picked from commit 7be5ac42a0)

Co-authored-by: Tyler Smalley <tyler.smalley@elastic.co>
2022-09-21 08:46:40 -07:00
Tyler Smalley
d6c97faf34 Revert "[cft] Soft fail on timeout (#141165) (#141167)"
This reverts commit 68f9de6e33.
2022-09-20 14:02:38 -07:00
Kibana Machine
68f9de6e33
[cft] Soft fail on timeout (#141165) (#141167)
(cherry picked from commit 2d0d3a58f2)

Co-authored-by: Jonathan Budzenski <jon@elastic.co>
2022-09-20 13:55:11 -07:00
Kibana Machine
ba0afde463
Fix banner not being displayed on login page (#140688) (#141028)
* Fix banner not being displayed on login page

* fix and re-enable banner FTR tests

* revert commit to config file

* add unit test

* don't use whitespace for cli config value

Co-authored-by: Tre <wayne.seymour@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit b86cef59c0)

Co-authored-by: Pierre Gayvallet <pierre.gayvallet@elastic.co>
2022-09-20 01:50:31 -07:00
Robert Oskamp
5d6068fe6a
[ML] Functional tests - split anomaly detection test config (#140430) (#140575)
This PR splits the ML functional anomaly detection test configuration into smaller parts.

(cherry picked from commit 2068b2eead)

# Conflicts:
#	x-pack/test/functional/apps/ml/anomaly_detection_integrations/lens_to_ml_with_wizard.ts
#	x-pack/test/functional/apps/ml/anomaly_detection_jobs/index.ts
2022-09-13 01:55:13 -07:00
Jonathan Budzenski
8daa97a582
[artifacts] Improve cloud deployment error handling (#137775) (#140123)
* [artifacts] Improve cloud deployment error handling

* Update .buildkite/scripts/steps/artifacts/cloud.sh

Co-authored-by: Spencer <spencer@elastic.co>

* update retry codes

Co-authored-by: Spencer <spencer@elastic.co>

Co-authored-by: Spencer <spencer@elastic.co>
2022-09-06 14:11:59 -05:00
spalger
72ca61550c Revert "[ci] remove requirement that CI runs for readme changes (#134504)"
This reverts commit 284a564890.
2022-09-01 10:55:25 -05:00
Kibana Machine
39fdc66ca7
Bump linux bazel cache timeout to 30 minutes (#139491) (#139495)
We're seeing some timeouts recently in the 15 minute range.
Mac timeouts are already at 60 min.

(cherry picked from commit a2f3e3bd7c)

Co-authored-by: Jonathan Budzenski <jon@elastic.co>
2022-08-25 10:21:53 -07:00
Kibana Machine
ae57b8a683
add a timeout to buildkite artifact downloads (#139046) (#139115)
(cherry picked from commit ab576bb6c1)

Co-authored-by: Spencer <spencer@elastic.co>
2022-08-18 11:17:06 -07:00
Kibana Machine
808ae20348
[CI] Use region-specific buckets for ci-proxy-cache for speed and cost savings (#138675) (#138829)
(cherry picked from commit c9a30dc27f)

Co-authored-by: Brian Seeders <brian.seeders@elastic.co>
2022-08-15 09:36:50 -07:00
Kibana Machine
d38dac9ff4
[ML] Explain Log Rate Spikes: Basic functional tests. (#138387) (#138595)
Adds first functional tests for Explain Log Rate Spikes. The test clicks the menu item, selects an index, clicks the "Use full data" button and asserts the page's elements.

(cherry picked from commit 9a1a963ae3)

Co-authored-by: Walter Rafelsberger <walter@elastic.co>
2022-08-11 03:00:56 -07:00
Kibana Machine
6a103fef39
[CI] Improve reliability of macos bazel cache jobs (#138554) (#138567)
(cherry picked from commit 1019295b09)

Co-authored-by: Brian Seeders <brian.seeders@elastic.co>
2022-08-10 14:27:08 -07:00
Kibana Machine
1595daa933
[CI] Convert the remaining steps in primary pipelines to spot instances (#138168) (#138459)
(cherry picked from commit 4f100c4ed0)

Co-authored-by: Brian Seeders <brian.seeders@elastic.co>
2022-08-09 14:28:18 -07:00
Kibana Machine
ee1b1aab80
[ci] mark PR stats as usable for metrics (#138297) (#138329)
(cherry picked from commit 92fb5dbafc)

Co-authored-by: Spencer <spencer@elastic.co>
2022-08-08 15:21:25 -07:00
Kibana Machine
f22bf8d71e
[CI] Enable kibana build reuse where possible (#136653) (#137910)
(cherry picked from commit a74c3fab96)

Co-authored-by: Brian Seeders <brian.seeders@elastic.co>
2022-08-02 14:17:20 -07:00
Kibana Machine
c46916ec59
[ci] Conditional storybook builds (#136219) (#137890)
* [ci] Conditional storybook builds

This moves storybook builds to run conditionally, either if there's a
storybook change or the `ci:build-storybooks` label is set.

These builds don't seem to be providing test coverage, and may not be utilized
in scenarios such as automated backports or unrelated changes.

* test regex

* formatting

* Revert "test regex"

This reverts commit dcef465414.

* fix revert

* move to spot instance

* fix merge

(cherry picked from commit 22b21645bb)

Co-authored-by: Jonathan Budzenski <jon@elastic.co>
2022-08-02 10:37:00 -07:00
Kibana Machine
a1b9be86e2
[ftr/discover] split up configs (#137629) (#137692)
(cherry picked from commit 742e040ae3)

Co-authored-by: Spencer <spencer@elastic.co>
2022-08-01 05:56:11 -07:00
Shahzad
8b0d873e1e
[Synthetics] Fix e2e (#137194)
* fix e2e

* update test
2022-07-26 17:40:07 -04:00
Bhavya RM
004cfbb227
Migrating test/new_visualize_flow/fixtures/es_archiver/kibana to kbnArchiver (#136768) 2022-07-26 11:59:25 -04:00
Dominique Clarke
679b7259eb
[Synthetics] Skip e2e tests (#137105)
* Update add_monitor_private_location.ts

* skip test

* Update x-pack/plugins/synthetics/e2e/journeys/private_locations/add_monitor_private_location.ts

* Apply suggestions from code review

* Apply suggestions from code review

* skip synthetics e2e tests tests

* Update vars/tasks.groovy

* Update vars/tasks.groovy

* skip test suite

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Shahzad <shahzad.muhammad@elastic.co>
2022-07-26 11:09:36 -04:00
Spencer
0154f75445
[ci-stats] ship buildkiteJobId with metrics and support backfilling (#137123) 2022-07-25 22:24:57 -05:00
Tiago Costa
242c91a432
fix(NA): buildkite es_snapshot build job after es default branch rename to main (#137109) 2022-07-25 12:43:35 -07:00
Philippe Oberti
19aa51e5a8
[TIP] Add new Threat intelligence plugin (#136479)
* [TIP] Add Threat Intelligence plugin

- create Threat Intelligence plugin and integrate with Security Solution plugin
- setup jest unit tests, i18n, Cypress tests and  Storybook
- fetch Indicator of Compromise, and display in data-grid
- add flyout components to show IOCs details (table and JSON)
- add new threatIntelInt entry to kbn-doc-links package

https://github.com/elastic/security-team/issues/4329
https://github.com/elastic/security-team/issues/4138
https://github.com/elastic/security-team/issues/4241
https://github.com/elastic/security-team/issues/4242
https://github.com/elastic/security-team/issues/4244
https://github.com/elastic/security-team/issues/4245

Co-authored-by: lgmys <lgmys@pm.me>
Co-authored-by: Maxim Kholod <maxim.kholod@elastic.co>
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2022-07-25 19:27:05 +02:00
Brian Seeders
20dec08bf1
[CI] Parallelize eslint to speed it up (#136972) 2022-07-22 16:23:17 -04:00
Aleh Zasypkin
ac15ee4540
Introduce suggest user profile functionality. (#135063) 2022-07-21 02:18:21 -07:00
Dzmitry Lemechko
10cd177456
[kbn-performance-testing-dataset-extractor] update json structure, filter out static resources on ci (#136651)
* [kbn-performance-testing-dataset-extractor] update json structure, filter out static res on ci

* convert body to string

* update schema and ftr configs

* update extractor

* fix headers combining

* update json structure

* re-order fields for easy read
2022-07-21 10:42:36 +02:00
Jonathan Budzenski
1410bc4aa5
[cft] Add pipeline to shutdown deployment (#136659)
* [cft] Add pipeline to shutdown deployment

* 755

* save file
2022-07-20 10:22:25 -05:00
Brian Seeders
7f70f91e0c
[CI] Enable experimental PR kibana build re-use gated behind a label (#136577) 2022-07-19 11:17:06 -04:00
Dzmitry Lemechko
b72601c283
[performance] Re-enable apm extraction step (#136555)
* [kbn-performance-testing-dataset-extractor] add extra logging

* re-enable step
2022-07-19 09:35:54 +02:00
Spencer
4f817ad8a0
[kbn/pm] rewrite to avoid needing a build process (#136207)
* [kbn/pm] rewrite to avoid needing a build process

* uncomment timing reporting

* throw in a few missing comments

* Update README.md

* remove extra SomeDevLog interface from ci-stats-core

* remove non-stdio logging from bazel_runner, improve output formatting

* use private fields instead of just ts private props

* promote args to a positional arg

* optionally require the ci-stats-reporter after each command

* allow opt-ing out of vscode config management

* reduce to a single import

* add bit of docs regarding weird imports and package deps of kbn/pm

* clean extraDirs from Kibana's package.json file too

* tweak logging of run-in-packages to use --quiet and not just CI=true

* remove unlazy-loader

* add readme for @kbn/yarn-lock-validator

* convert @kbn/some-dev-logs docs to mdx

* remove missing navigation id and fix id in dev-cli-runner docs

* fix title of some-dev-logs docs page

* typo
2022-07-18 08:46:13 -07:00
Jonathan Budzenski
33b743c84e
Revert "Remove percy based visual regression tests (#136359)" (#136437)
* Revert "Remove percy based visual regression tests (#136359)"

This reverts commit a91aeb42ff.

* update codeowners
2022-07-14 14:53:12 -05:00
Jonathan Budzenski
a91aeb42ff
Remove percy based visual regression tests (#136359)
* Remove percy based visual regression tests

These have been disabled for ~3 years, the agent is deprecated, and our
snapshot environment is inactive.

* [CI] Auto-commit changed files from 'yarn kbn run build -i @kbn/pm'

* update codeowners

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2022-07-14 10:03:49 -07:00
Jonathan Budzenski
b5b735625c
[cft] Use spot instance (#135742)
* [cft] Use spot instance, increase cpu

* revert back to n2

* Update .buildkite/pipelines/pull_request/deploy_cloud.yml

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

Co-authored-by: Tyler Smalley <tylersmalley@gmail.com>
2022-07-12 14:55:50 -05:00
Jonathan Budzenski
8acc1466f8
[ci] Conditonal webpack bundle reports (#136215)
* [ci] Conditonal webpack bundle reports

* fix

* spacing

* \n

* fix file path
2022-07-12 12:30:49 -05:00
Baturalp Gurdin
d83f802099
stop scalability step in performance pipeline (#136211)
Co-authored-by: Spencer <spencer@elastic.co>
2022-07-12 09:14:18 -07:00
Nicolas Chaulet
6200623042
[Fleet] Run install all packages in CI (#136035) 2022-07-08 18:49:46 -04:00
Jonathan Budzenski
87ac0fd2fe
[docker] Add ubi9 image (#135868)
* [docker] Add ubi9 image

* update artifacts tests

* cleanup

* fixes

* formatting
2022-07-08 12:02:59 -05:00
spalger
7731c414db [ci] build webpack bundle repotrs on a larger machine
We've seen OOMs on this recently, to prevent blocking more people we're just going to bump the instance size until we can narrow down the problem.
2022-07-08 08:44:00 -05:00
Spencer
75df3eaf74
[ci] prevent failures caused by excluding function configs (#135962) 2022-07-07 16:51:29 -07:00
Baturalp Gurdin
7db0773a0d
fix es wait logic during the performance tests (#135660) 2022-07-07 05:18:44 -07:00
Spencer
9619311120
[ci] fix ftr script when called with parallelism (#135713)
* fix ftr script when called with parallelism

* Update ftr_configs.sh
2022-07-05 09:14:26 -05:00
Spencer
ed51e0fe0a
[testGroupRunOrder] allow defining a queue name for each ftr config (#135349) 2022-06-30 14:12:06 -07:00
Jonathan Budzenski
7fd3beee4e
[artifacts] Stabilize package testing (#134854)
* bump ansible logging verbosity

* upgrade base os

* update base images

* add specificity to docker image glob

* limit memory

* bump base vm memory

* more cpu

* decrease verbosity

* less downloads

* disable shared symlinks

* more logging

* bump concurrency to test stability

* add concurrency group

* revert

* parallelism

* Revert "parallelism"

This reverts commit 4cc00f7144.
2022-06-30 16:00:15 -05:00
Clint Andrew Hall
e564f1f5bc
[home] Create Sample Data Card package (#135472)
* [home] Create Sample Data Card package

* Fix issues found in CI

* Update packages/home/sample_data_cards/src/sample_data_card.component.tsx

Co-authored-by: Caroline Horn <549577+cchaos@users.noreply.github.com>

* Update packages/home/sample_data_cards/src/footer/remove_footer.tsx

Co-authored-by: Caroline Horn <549577+cchaos@users.noreply.github.com>

* Addressing review feedback

* Fix i18n, reduce dependencies

* Update docs and snaps; add tests

Co-authored-by: Caroline Horn <549577+cchaos@users.noreply.github.com>
2022-06-30 15:53:08 -05:00
Jonathan Budzenski
7f776252d9
[cft] Enable verbose logging (#134262)
* [cft] Enable verbose logging

* fix

* fix merge
2022-06-30 12:59:52 -05:00
Brian Seeders
82b5d8e120
[CI] Install global npm modules with a retry and failsafe (#135437) 2022-06-30 10:46:47 -04:00
Jonathan Budzenski
fa8b7c952a
[cft] Improve error handling (#134519)
* [cft] Write to vault as soon as deployment is ready

* cleanup

* add status logging

* quicker rebuilds

* log stderr

* login

* fix conditional

* disable self logging

* cleanup logging

* cleanup
2022-06-29 15:13:35 -05:00
Jonathan Budzenski
66b161a3e0
[ci] Support publishing a cloud image without deploying (#135044)
* [ci] Support publishing a cloud image without deploying

* auth
2022-06-29 10:12:02 -07:00