Commit graph

301 commits

Author SHA1 Message Date
Kibana Machine
6c767922d8
[8.6] [ci/es_snapshots] Set DOCKER_BUILDKIT as a bool (#150201) (#150218)
# Backport

This will backport the following commits from `main` to `8.6`:
- [[ci/es_snapshots] Set DOCKER_BUILDKIT as a bool
(#150201)](https://github.com/elastic/kibana/pull/150201)

<!--- Backport version: 8.9.7 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT
[{"author":{"name":"Jon","email":"jon@elastic.co"},"sourceCommit":{"committedDate":"2023-02-02T18:45:55Z","message":"[ci/es_snapshots]
Set DOCKER_BUILDKIT as a bool (#150201)\n\nWe're seeing parse errors of
`DOCKER_BUILDKIT` after a version update.\r\nThis variable should either
be unset or a boolean. Instead of using an\r\nempty string this sets it
to
1.","sha":"82146cbd907a23f9a78dc6c3de1ffbbd00a34cb1","branchLabelMapping":{"^v8.7.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Operations","release_note:skip","backport:all-open","v8.7.0"],"number":150201,"url":"https://github.com/elastic/kibana/pull/150201","mergeCommit":{"message":"[ci/es_snapshots]
Set DOCKER_BUILDKIT as a bool (#150201)\n\nWe're seeing parse errors of
`DOCKER_BUILDKIT` after a version update.\r\nThis variable should either
be unset or a boolean. Instead of using an\r\nempty string this sets it
to
1.","sha":"82146cbd907a23f9a78dc6c3de1ffbbd00a34cb1"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.7.0","labelRegex":"^v8.7.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/150201","number":150201,"mergeCommit":{"message":"[ci/es_snapshots]
Set DOCKER_BUILDKIT as a bool (#150201)\n\nWe're seeing parse errors of
`DOCKER_BUILDKIT` after a version update.\r\nThis variable should either
be unset or a boolean. Instead of using an\r\nempty string this sets it
to 1.","sha":"82146cbd907a23f9a78dc6c3de1ffbbd00a34cb1"}}]}] BACKPORT-->

Co-authored-by: Jon <jon@elastic.co>
2023-02-02 19:49:34 +00:00
Kibana Machine
4f51ca24ba
[8.6] [@kbn/handlebars] Simplify the way upstream changes are discovered (#150024) (#150142)
# Backport

This will backport the following commits from `main` to `8.6`:
- [[@kbn/handlebars] Simplify the way upstream changes are discovered
(#150024)](https://github.com/elastic/kibana/pull/150024)

<!--- Backport version: 8.9.7 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Thomas
Watson","email":"watson@elastic.co"},"sourceCommit":{"committedDate":"2023-02-02T09:56:56Z","message":"[@kbn/handlebars]
Simplify the way upstream changes are discovered (#150024)\n\nPreviously
a custom diff of the files inside the upstream `spec`\r\ndirectory was
kept up-to-date in this package `.patches` directory. This\r\nprocess
was very tedious and wasn't providing much value.\r\n\r\nIn this commit
I've simplified the process tremendously and simply rely on\r\nchecking
if there are any new commits upstream and then allow the\r\ndeveloper to
manually check for relevant changes. This is something they\r\nneeded to
do with the old system regardless. Here the code is just
much\r\nsimpler.\r\n\r\n---------\r\n\r\nCo-authored-by: Aleh Zasypkin
<aleh.zasypkin@gmail.com>","sha":"975452987919dff1dbfc1ae48100763385c09c36","branchLabelMapping":{"^v8.7.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport:prev-minor","v8.7.0"],"number":150024,"url":"https://github.com/elastic/kibana/pull/150024","mergeCommit":{"message":"[@kbn/handlebars]
Simplify the way upstream changes are discovered (#150024)\n\nPreviously
a custom diff of the files inside the upstream `spec`\r\ndirectory was
kept up-to-date in this package `.patches` directory. This\r\nprocess
was very tedious and wasn't providing much value.\r\n\r\nIn this commit
I've simplified the process tremendously and simply rely on\r\nchecking
if there are any new commits upstream and then allow the\r\ndeveloper to
manually check for relevant changes. This is something they\r\nneeded to
do with the old system regardless. Here the code is just
much\r\nsimpler.\r\n\r\n---------\r\n\r\nCo-authored-by: Aleh Zasypkin
<aleh.zasypkin@gmail.com>","sha":"975452987919dff1dbfc1ae48100763385c09c36"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.7.0","labelRegex":"^v8.7.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/150024","number":150024,"mergeCommit":{"message":"[@kbn/handlebars]
Simplify the way upstream changes are discovered (#150024)\n\nPreviously
a custom diff of the files inside the upstream `spec`\r\ndirectory was
kept up-to-date in this package `.patches` directory. This\r\nprocess
was very tedious and wasn't providing much value.\r\n\r\nIn this commit
I've simplified the process tremendously and simply rely on\r\nchecking
if there are any new commits upstream and then allow the\r\ndeveloper to
manually check for relevant changes. This is something they\r\nneeded to
do with the old system regardless. Here the code is just
much\r\nsimpler.\r\n\r\n---------\r\n\r\nCo-authored-by: Aleh Zasypkin
<aleh.zasypkin@gmail.com>","sha":"975452987919dff1dbfc1ae48100763385c09c36"}}]}]
BACKPORT-->

Co-authored-by: Thomas Watson <watson@elastic.co>
2023-02-02 06:10:05 -07:00
Kibana Machine
57ad172be7
[8.6] Fix autocommiting from CI (#148066) (#148069)
# Backport

This will backport the following commits from `main` to `8.6`:
- [Fix autocommiting from CI
(#148066)](https://github.com/elastic/kibana/pull/148066)

<!--- Backport version: 8.9.7 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT
[{"author":{"name":"Spencer","email":"spencer@elastic.co"},"sourceCommit":{"committedDate":"2022-12-23T16:31:54Z","message":"Fix
autocommiting from CI (#148066)\n\nThe new images have an updated gh
binary which now requires setting the\r\n`GITHUB_REPO` env var, or
calling `gh repo set-default`. I opted for the\r\nenv var so that we
didn't need to find a good time to execute the CLI\r\n(after the keys
are in the env, but before all other user code) or worry\r\nabout the
logging. This also allows other users of our scripts to\r\ncustomize as
makes sense without having to dive into a bunch of\r\nimperative shell
code.\r\n\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"1b8ddc626765af542d4270bdb372a6e8bec14419","branchLabelMapping":{"^v8.7.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Operations","release_note:skip","backport:all-open","v8.7.0"],"number":148066,"url":"https://github.com/elastic/kibana/pull/148066","mergeCommit":{"message":"Fix
autocommiting from CI (#148066)\n\nThe new images have an updated gh
binary which now requires setting the\r\n`GITHUB_REPO` env var, or
calling `gh repo set-default`. I opted for the\r\nenv var so that we
didn't need to find a good time to execute the CLI\r\n(after the keys
are in the env, but before all other user code) or worry\r\nabout the
logging. This also allows other users of our scripts to\r\ncustomize as
makes sense without having to dive into a bunch of\r\nimperative shell
code.\r\n\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"1b8ddc626765af542d4270bdb372a6e8bec14419"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.7.0","labelRegex":"^v8.7.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/148066","number":148066,"mergeCommit":{"message":"Fix
autocommiting from CI (#148066)\n\nThe new images have an updated gh
binary which now requires setting the\r\n`GITHUB_REPO` env var, or
calling `gh repo set-default`. I opted for the\r\nenv var so that we
didn't need to find a good time to execute the CLI\r\n(after the keys
are in the env, but before all other user code) or worry\r\nabout the
logging. This also allows other users of our scripts to\r\ncustomize as
makes sense without having to dive into a bunch of\r\nimperative shell
code.\r\n\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"1b8ddc626765af542d4270bdb372a6e8bec14419"}}]}]
BACKPORT-->

Co-authored-by: Spencer <spencer@elastic.co>
2022-12-23 10:39:40 -07:00
Kibana Machine
1c30c54075
[8.6] [APM] Add parallel builds for cypress tests (#142598) (#147930)
# Backport

This will backport the following commits from `main` to `8.6`:
- [[APM] Add parallel builds for cypress tests
(#142598)](https://github.com/elastic/kibana/pull/142598)

<!--- Backport version: 8.9.7 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Giorgos
Bamparopoulos","email":"georgios.bamparopoulos@elastic.co"},"sourceCommit":{"committedDate":"2022-12-21T15:36:08Z","message":"[APM]
Add parallel builds for cypress tests (#142598)\n\n- Tests runs
initiated by the flaky test runner are not recorded
or\r\nparallelized","sha":"042403e606e59468024b9a822ab7a9c199a487f5","branchLabelMapping":{"^v8.7.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:APM","release_note:skip","v8.6.0","v8.7.0"],"number":142598,"url":"https://github.com/elastic/kibana/pull/142598","mergeCommit":{"message":"[APM]
Add parallel builds for cypress tests (#142598)\n\n- Tests runs
initiated by the flaky test runner are not recorded
or\r\nparallelized","sha":"042403e606e59468024b9a822ab7a9c199a487f5"}},"sourceBranch":"main","suggestedTargetBranches":["8.6"],"targetPullRequestStates":[{"branch":"8.6","label":"v8.6.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.7.0","labelRegex":"^v8.7.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/142598","number":142598,"mergeCommit":{"message":"[APM]
Add parallel builds for cypress tests (#142598)\n\n- Tests runs
initiated by the flaky test runner are not recorded
or\r\nparallelized","sha":"042403e606e59468024b9a822ab7a9c199a487f5"}}]}]
BACKPORT-->

Co-authored-by: Giorgos Bamparopoulos <georgios.bamparopoulos@elastic.co>
2022-12-21 09:41:21 -07:00
Kibana Machine
f67c20d32f
[8.6] Add custom Buildkite pipeline for @kbn/handlebars (#146964) (#147275)
# Backport

This will backport the following commits from `main` to `8.6`:
- [Add custom Buildkite pipeline for @kbn/handlebars
(#146964)](https://github.com/elastic/kibana/pull/146964)

<!--- Backport version: 8.9.7 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Thomas
Watson","email":"watson@elastic.co"},"sourceCommit":{"committedDate":"2022-12-08T17:28:33Z","message":"Add
custom Buildkite pipeline for @kbn/handlebars (#146964)\n\nCloses
#146963","sha":"39d27bb868ba5e0d544a0fa17afb19abf650c7bf","branchLabelMapping":{"^v8.7.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport:prev-minor","v8.7.0"],"number":146964,"url":"https://github.com/elastic/kibana/pull/146964","mergeCommit":{"message":"Add
custom Buildkite pipeline for @kbn/handlebars (#146964)\n\nCloses
#146963","sha":"39d27bb868ba5e0d544a0fa17afb19abf650c7bf"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.7.0","labelRegex":"^v8.7.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/146964","number":146964,"mergeCommit":{"message":"Add
custom Buildkite pipeline for @kbn/handlebars (#146964)\n\nCloses
#146963","sha":"39d27bb868ba5e0d544a0fa17afb19abf650c7bf"}}]}]
BACKPORT-->

Co-authored-by: Thomas Watson <watson@elastic.co>
2022-12-12 03:30:09 -07:00
Kibana Machine
bc25707cfe
[8.6] [Security Solution] Adding security solution packages as a dependency (#146561) (#146691)
# Backport

This will backport the following commits from `main` to `8.6`:
- [[Security Solution] Adding security solution packages as a dependency
(#146561)](https://github.com/elastic/kibana/pull/146561)

<!--- Backport version: 8.9.7 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Gloria
Hornero","email":"gloria.hornero@elastic.co"},"sourceCommit":{"committedDate":"2022-11-30T14:17:32Z","message":"[Security
Solution] Adding security solution packages as a dependency
(#146561)","sha":"2cb675d8142638f35b8e4abb6e91a0349f9f5c73","branchLabelMapping":{"^v8.7.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:Detections
and Resp","Team:Threat Hunting","Team:
SecuritySolution","v8.6.0","v8.7.0"],"number":146561,"url":"https://github.com/elastic/kibana/pull/146561","mergeCommit":{"message":"[Security
Solution] Adding security solution packages as a dependency
(#146561)","sha":"2cb675d8142638f35b8e4abb6e91a0349f9f5c73"}},"sourceBranch":"main","suggestedTargetBranches":["8.6"],"targetPullRequestStates":[{"branch":"8.6","label":"v8.6.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.7.0","labelRegex":"^v8.7.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/146561","number":146561,"mergeCommit":{"message":"[Security
Solution] Adding security solution packages as a dependency
(#146561)","sha":"2cb675d8142638f35b8e4abb6e91a0349f9f5c73"}}]}]
BACKPORT-->

Co-authored-by: Gloria Hornero <gloria.hornero@elastic.co>
2022-11-30 08:22:03 -07:00
Luke Gmys
f1be6057c8
[TIP] Run e2e pipeline on CI (#144776)
## Summary

Last week, our team has dicovered that e2e tests are not executed on CI,
this PR is an attempt to fix that.

Threat intel pipeline should be run whenever the `threat_intelligence`
plugin source or related tests config has changed.
2022-11-09 12:51:09 +01:00
Tiago Costa
3dd5c5388e
chore(NA): update ci step name to Check Public API Docs (#144573)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-11-04 02:27:23 +00:00
Dzmitry Lemechko
1505c0688d
attach-screenshots-from-journey-steps (#144447) 2022-11-03 16:17:55 +01:00
Jonathan Budzenski
cf7d6cc6de
Remove buildbuddy cache (#144356)
* Remove buildbuddy cache

* Update .buildkite/scripts/steps/on_merge_ts_refs_api_docs.sh

* Update .buildkite/scripts/common/setup_bazel.sh
2022-11-01 15:23:24 -07:00
Spencer
af1230b7c4
[ci] remove github-checks-reporter (#144193) 2022-10-28 16:21:02 -05:00
spalger
fe2480d96d
[ts] ts refs cache was removed, remove capture task 2022-10-28 14:27:18 -05:00
spalger
e5d186a6f0
[ts] stop building @types packages in bootstrap 2022-10-28 14:03:55 -05:00
Stratoula Kalafateli
9656163820
Language documentation popover package (#143429)
* Language documentation popover package

* Add readme

* [CI] Auto-commit changed files from 'node scripts/generate packages_build_manifest'

* [CI] Auto-commit changed files from 'node scripts/generate codeowners'

* Move the entire popover into the package, add stories

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2022-10-19 08:53:50 +03:00
Jonathan Budzenski
30e482bc8e
Re-enable Bazel cache on CI (#142975)
* Re-enable Bazel cache on CI

* remove exit test
2022-10-10 08:19:36 -05:00
Jonathan Budzenski
4997fdf5d5
Disable bazel cache on CI (#142873) 2022-10-06 10:18:22 -05:00
Tyler Smalley
47354fa7d3
[CI] Use 4 parallel ESLint jobs (#142787) 2022-10-05 14:59:46 -05:00
Jonathan Budzenski
63aee48127
[artifacts] Pass dependency manifest to release-manager CLI (#142408)
This passes the beats manifest used to download metricbeat and filebeat
for our cloud image to the release-manager CLI. This will be used to
validate that the bundled versions we use match the released versions.
2022-10-05 13:08:30 -05:00
Jonathan Budzenski
77eb8029c8
[artifacts] Reuse Cloud image for tests (#141828)
* [artifacts] Reuse Cloud image for tests

In https://github.com/elastic/kibana/pull/141657 we turned on Cloud
image builds in Kibana CI.  This updates the Cloud deployment test suite
to reuse the same image build.

* update comment
2022-10-04 12:48:45 -07:00
Giorgos Bamparopoulos
4a74dd383c
[APM] Record e2e tests to Cypress dashboard and enable screenshots, videos and test retries (#142398)
* Record e2e tests to Cypress dashboard and enable screenshots and videos

* Delete videos that have no failures or retries

* Set browser witdh and height for tests

* Fix flaky test for storage explorer

* Remove cypress plugin file

* Fix typo in spec name

* Enable test retries

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-10-04 20:01:39 +01:00
Alejandro Fernández Haro
74f30dcf8e
Move Cloud Integrations out of the cloud plugin (#141103)
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2022-10-04 12:25:25 +02:00
Jonathan Budzenski
7274c27218
[ci/build] Add label for building example plugins (#139720)
* [ci/build] Add label for building example plugins

* update snapshots

* remove plugins before tests

* fix

* fix again

* fix formatting
2022-09-29 14:18:19 -07:00
Ying Mao
16ca2d2895
[Event Log] Adding event log schema check to CI checks (#142104)
* Adding event log check to CI check.

* Adding event log check to CI check.

* Can I check out ECS

* Checking out specific ECS branch

* Checking out specific ECS branch

* Custom error message

* Reverting event log mapping test changes

* Pinning to 1.8

* Update .buildkite/scripts/steps/checks/event_log.sh

Co-authored-by: Jonathan Budzenski <jon@budzenski.me>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Jonathan Budzenski <jon@budzenski.me>
2022-09-29 07:53:50 -04:00
Maryam Saeidi
3f9687e3f0
[Actionable observability] Alert summary widget new design (#141236)
* Implement new alert summary widget design and remove chart

* Fix padding issue

* Remove unused translation

* Fix type and test errors

* Fix types and remove extra aggs logic

* Add triggers_actions_ui to storybook list

* Fix small alignment issue by removing extra EuiFlexGroup

* Fix UI issue for small mobile

* Update spacing

Co-authored-by: Kevin Delemme <kdelemme@gmail.com>

Co-authored-by: Kevin Delemme <kdelemme@gmail.com>
Co-authored-by: Xavier Mouligneau <xavier.mouligneau@elastic.co>
2022-09-29 12:22:58 +02:00
Spencer
249b596465
[journeys] restart ES for each journey, fix flakiness (#141530) 2022-09-26 08:56:31 -07:00
Jonathan Budzenski
f100343f41
[artifacts] Publish cloud artifacts (#141657)
* [artifacts] Publish cloud artifacts

This moves moves Cloud image publishing to Kibana CI

* fix build args

* rm comment
2022-09-23 11:53:57 -05:00
Dzmitry Lemechko
44ae5f7150
[scalability testing] fix path to config file (#141663) 2022-09-23 18:41:15 +02:00
Spencer
5d12b572bd
[ci] run unit tests in series again (#141481)
* [ci] run unit tests in series again

* print full command with parallelism arg

* skip failing apm test
2022-09-23 08:02:54 -05:00
spalger
fd9774c974 [supt] fix path to journeys 2022-09-22 11:44:02 -05:00
spalger
da8eb44f92 revert #141437 and switch back to fixed journey ordering 2022-09-22 10:57:56 -05:00
Spencer
50b3b57d9e
[ftr] add first-class support for playwrite journeys (#140680)
* [ftr] add first-class support for playwrite journeys

* [CI] Auto-commit changed files from 'node scripts/generate codeowners'

* fix jest test

* remove ability to customize kibana server args, if we need it we can add it back

* remove dev dir that doesn't exist

* fix typo

* prevent duplicated array converstion logic by sharing flag reader

* remove destructuring of option

* fix scalability config and config_path import

* fix start_servers args and tests

* include simple readme

* fix jest tests and support build re-use when changes are just to jest tests

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2022-09-22 01:06:46 -07:00
Giorgos Bamparopoulos
ee4b451ed4
[APM] Synthtrace - Add service.name in metricsetPicker for breakdown metrics (#140256)
* Add service.name in metricsetPicker for breakdown metrics

* Run cypress tests on synthtrace changes
2022-09-21 09:38:13 -05:00
Dzmitry Lemechko
849457b395
[scalability testing] save kibana logs as run artefacts (#140820)
* [scalability] server log in files

* fix script

* put upload in the right place
2022-09-20 15:59:08 +02:00
Jonathan Budzenski
f290977064
[cft] Remove deployment when a PR is outdated (#140755)
* [cft] Remove deployment when a PR is outdated

This changes the stale deployment ttl from 7 days to 2 days
to match the PR outdated check.  The longer a deployment is active, the
more likely it is that we'll see a snapshot related break somewhere in
the stack.  These are typically template or migration related script
changes.

Longer running deployments can also run out of disk space and start
alerting on health checks.

* day in seconds

* [CI] Auto-commit changed files from 'node scripts/precommit_hook.js --ref HEAD~1..HEAD --fix'

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2022-09-19 13:52:26 -05:00
Jonathan Budzenski
06b81998e5
[cft] Stabilize deployments (#140748)
* [cft] Stabilize deployments

- Switches from general purpose to high memory deployments
- Enables autoscaling
- Allows a warm node to be turned on for longer running deployments with
more data

* fix ml

* revert autoscaling

* fix
2022-09-19 13:51:31 -05:00
Baturalp Gurdin
8b15dd87b3
add data stress test lens journey (#140811) 2022-09-15 06:46:00 -07:00
Jonathan Budzenski
6e75333887
Revert "[cft] Temporarily disable cloud deployments (#140538)" (#140622)
This reverts commit e741176614.
2022-09-13 09:49:19 -05:00
Jonathan Budzenski
e741176614
[cft] Temporarily disable cloud deployments (#140538)
* [cft] Temporarily disable cloud deployments

* annotation
2022-09-12 13:03:20 -05:00
Spencer
32491462a9
add kibana.jsonc files to existing packages (#138965)
* [packages] add kibana.jsonc files

* auto-migrate to kibana.jsonc

* support interactive pkg id selection too

* remove old codeowners entry

* skip codeowners generation when .github/CODEOWNERS doesn't exist

* fall back to format validation if user is offline

* update question style

* [CI] Auto-commit changed files from 'node scripts/eslint --no-cache --fix'

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2022-09-08 13:31:57 -07:00
Jonathan Budzenski
874e4cb913
[artifacts] Improve cloud deployment error handling (#137775)
* [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>
2022-09-06 12:43:40 -05:00
Dzmitry Lemechko
06a3e1d501
[kbn-performance-testing-dataset-extractor] add missing value: url.query (#140092) 2022-09-06 17:15:03 +02:00
Dzmitry Lemechko
f0fe485e7d
Add pipeline to run scalability tests from APM traces (#139548)
* add scalability pipeline to run scenarios from APM traces

* update runner description

* remove retry-all-errors curl flag

* add flag for curl to ignore connection refused

* override ES_HOST for gatling runner

* exclude config from regular CI, remove bail flag

* fix uploaded scalability traces

* fix text and remove space

* add validation in config

* use functions instead of scripts

* renaming var in loop

* add step timeout

* define functions before call

* use trap for stopping ES

* fix path for artifacts extraction

* update serverArgs

* add pre-build step

* add pre-build step

* use default pre-build step

* delete step

* print BUILDKITE_PIPELINE_SLUG

* disable telemetry

* remove log

* enable telemetry

* add step to upload test results

* move trap after pid

* upload test reports to gcs

* fix script

* Revert "fix script"

This reverts commit 1c6bc3f45c.

* Revert "upload test reports to gcs"

This reverts commit c957a31c32.
2022-09-05 18:30:44 +02:00
Jean-Louis Leysens
d5cc164bd8
[Files] Image component (#139497)
* added storybook config

* first pass of the image component

* use storybook "action" instead of console.log

* fix up some comments and fix if-else statement

* address type exports

* added viewport observer tests

* added files plugin to storybook CI and correct JSON formatting

* ensure that subscription only happens once

* intersectionobserver should always be available

* only run useeffect once

* use React.forwardRef API rather than props

* factor out the viewport observer to a hook

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-08-29 14:15:01 +02:00
Jonathan Budzenski
f4dafd4eff
[cft] Update comment when deployment is available (#139558)
* [cft] Update comment when deployment is available

Currently cloud deployment are linked to after the entire CI run.  Cloud
deployments typically finish early, so this provides a notification as
soon as the deployment is available.

* newline

* fix id
2022-08-26 16:34:15 -05:00
Spencer
a16fd1e033
[perf-tests/scalability] improve logging when uploading traces (#139477)
* [perf-tests/scalability] improve logging when uploading traces

* restore including kibana artifacts in scalability dataset

* create parent dirs too

* support skipping builds too
2022-08-26 20:09:04 +02:00
Spencer
ab576bb6c1
add a timeout to buildkite artifact downloads (#139046) 2022-08-18 09:50:34 -07:00
Alexey Antonov
5f84d8e071
[Lens] Move custom chart icons into lens package (#138413)
* [Lens] Move custom chart icons into lens package (#138101)

* [Lens] Move custom chart icons into lens package

Closes #135230

* add storybook

* fix merge conflicts

* [CI] Auto-commit changed files from 'node scripts/generate packages_build_manifest'

* clenaup

* add region_map icon into package

* fix styles

* Update README.md

* fix ci

* try to fix CI

* fix PR comments

* [CI] Auto-commit changed files from 'node scripts/eslint --no-cache --fix'

* RegionMap -> LensIconRegionMap

* lensIcons -> lens_icons

* move to x-pack packages

* [CI] Auto-commit changed files from 'node scripts/generate packages_build_manifest'

* move to x-pack/packages/lens/icons

* fix jest

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>

* fix CI

* use emotion lib

* remove lensAnnotationIconNoFill and lensAnnotationIconFill

* remove duplicated code

* cleanup

* [CI] Auto-commit changed files from 'node scripts/generate packages_build_manifest'

* cleanup

* renaming

* fix jest config

* remove extra icons

* move icons out of main chunk

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2022-08-17 13:24:18 +03:00
Brian Seeders
c9a30dc27f
[CI] Use region-specific buckets for ci-proxy-cache for speed and cost savings (#138675) 2022-08-15 08:26:45 -07:00
Jonathan Budzenski
1c59a09965
[cft] Stabilize deployment creation (#136974)
After a deployment is created, a new Kibana plan is automatically added to update settings (to connect APM)
and restart Kibana.  Polling for a plan state isn't especially reliable because it flips
between empty and queued, and then empty again depending on how quickly setup is run in cloud.
We want to enable monitoring after the automatic plan has run, if not we get an error:
* deployments.resource_plan_state_error: Kibana resource [main-kibana] has a plan still pending, cancel that or wait for it to complete (settings.observability.plan)
This adds a sleep and retry to see if we can make this step more reliable
2022-08-11 14:16:17 -07:00
Jonathan Budzenski
946e094637
[cft] Add support for creating a new deployment (#138243)
* [cft] Add support for creating a new redeployment

- Adds a new label `ci:cloud-redeploy` that will always create a fresh deployment
- Deprecates `ci:deploy-cloud` in favor of namespacing `ci:cloud-deploy`

* booleans
2022-08-11 14:56:44 -05:00