Commit graph

39 commits

Author SHA1 Message Date
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
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
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
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
Spencer
ab576bb6c1
add a timeout to buildkite artifact downloads (#139046) 2022-08-18 09:50:34 -07: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
Brian Seeders
82b5d8e120
[CI] Install global npm modules with a retry and failsafe (#135437) 2022-06-30 10:46:47 -04:00
Brian Seeders
60226bc3f1
[CI] Cache ES snapshots on agents (#132940) 2022-05-26 11:18:27 -04:00
spalger
1d69e5e761 add comment about "secret" committed to source 2022-05-18 08:41:53 -05:00
Spencer
e474e9460d
[ci] support skip:auto-commit label on CI (#132138)
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2022-05-12 17:00:57 -05:00
Brian Seeders
c21c8f7006
[bazel] Use a GCS bucket for local dev remote bazel cache (#131866) 2022-05-11 14:21:23 -04:00
Spencer
896b0e28dd
[ci] include test_group_env in more ci scripts (#131633) 2022-05-05 10:59:09 -05:00
Spencer
1cdf0a45a6
[ci] hide browserslist outdated warnings (#131549) 2022-05-04 13:04:40 -05:00
Brian Seeders
3bc9c42485
[CI] Use GCS buckets for bazel remote caching (#131345) 2022-05-03 16:49:37 -04:00
Tiago Costa
48ca660c50
chore(NA): use new and more performant BuildBuddy servers (#130350)
* chore(NA): use new and more performant BuildBuddy servers

* chore(NA): simple upgrade mechanism for new remote address servers

* docs(NA): missing note for future removal

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-04-18 02:01:38 +01:00
Brian Seeders
eedb66b3af
[CI] Don't generate an error comment when auto-committing changes (#129419) 2022-04-04 15:52:13 -07:00
Brian Seeders
76f491b81d
[CI] Auto commit changes in auto-generated files (#127811) 2022-03-16 14:04:01 -04:00
Tyler Smalley
a80acbb871
Resolves errors preventing ES snapshot promotion (#123649) 2022-01-26 10:11:36 -06:00
Brian Seeders
7a70f857f3
[package-testing] Fix docker testing (#123249) 2022-01-18 13:03:24 -05:00
Brian Seeders
b67fec0ed3
[CI] Try to prevent npm/yarn problems from causing an agent to fail all future jobs (#122358) 2022-01-05 12:59:24 -06:00
Brian Seeders
168e2e271c
[CI] Create a pipeline to bootstrap and populate bazel remote cache for MacOS (#120136) 2021-12-14 11:07:14 -05:00
Tyler Smalley
a181ff31c4
Updates APM defaults and CI settings (#117749)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-11-23 14:48:50 -08:00
Spencer
96ec161569
[kbn/pm] sort package.json in bootstrap (#118805) 2021-11-16 16:41:59 -07:00
Mikhail Shustov
7c16e2e57f
Include tracing information in the Kibana logs (#112973)
* change APM nodejs agent default

By default APM agent instruments the code to be a base for log correlation. But it doesn't send transactions to the APM server.

* emit trace IDs into the logs

* use ELASTIC_APM_DISABLE_SEND to keep APM agent active but disable send when necessary

* send data whenver active is set to "true"

* update tests

* keep APM agent active. control disableSend instead

* update snapshot tests

* add debug logging

* REMOVE me. log path to the agent

* init APM agent explicitly in test plugin. it uses another package instance

* REMOVE me. create transaction explicitly

* increase timeout setting for the test

* refactor tests

* remove debug logs

* remove explicit transaction creation

* Revert "remove explicit transaction creation"

This reverts commit cdf2d308e0.

* point to apm nodejs agent commit temporary until a new version is released

* migrate from disableSend to contextPropagationOnly

* TO DISCUSS. what if we enforce contextPropagationOnly to be configured when active is defined

* Revert "TO DISCUSS. what if we enforce contextPropagationOnly to be configured when active is defined"

This reverts commit 62dda4fb27.

* bump to version with fix

* commit using @elastic.co

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-11-11 12:13:23 +01:00
Brian Seeders
c7002a19d7
[CI] Prep for the transition to build bot for github commit statuses (#117685) 2021-11-05 14:15:37 -04:00
Tyler Smalley
ab16b485cd
[ci] Disable Bazel cache on CI (#115428)
This is a short-term solution to reduce our hit count in Buildkite due to the increase in bootstraps so we can move forward with enabling Buildkite across all PRs.
2021-10-19 22:12:31 +01:00
Tiago Costa
423b0e801f
chore(NA): fixes a typo on persist_bazel_cache.sh comment (#114943) 2021-10-14 03:35:17 +01:00
Tyler Smalley
5647de3b4a
[ci] Fixes Bazel cache writes (#114915)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-10-14 02:18:06 +01:00
Tyler Smalley
7290b6936a
[ci] Updates APM server (#114588)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-10-12 13:58:12 -07:00
Tyler Smalley
5e18fb1899 [ci] Fix setup_bazel permissions
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-10-07 11:27:52 -07:00
Brian Seeders
252278a433
[buildkite] Fix packer cache issues (#113769) 2021-10-04 10:57:32 -04:00
Brian Seeders
f86e78f878
[Buildkite] Pull Request pipeline (#112029) 2021-10-02 00:01:42 +01:00
Brian Seeders
be51f0a574
[Buildkite] Hourly CI / tracked branch pipeline (#111785) 2021-09-16 11:28:07 -04:00
Christiane (Tina) Heiligers
8a6cf06f15
[SavedObjects] Integration tests for unsupported product 404 responses (#109755)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-30 19:36:21 -04:00
Brian Seeders
7c2dc485e6
[Buildkite] Sync with master updates since Buildkite was disabled (#106766) 2021-07-26 17:01:25 -04:00
Brian Seeders
54c3ca142e
[CI] Buildkite support with Baseline pipeline (#100492) 2021-06-01 13:11:07 -04:00