Commit graph

193 commits

Author SHA1 Message Date
Kibana Machine
881f2d4a53
[7.17] [ci] More info to test annotation failure logging (#215515) (#215780)
# Backport

This will backport the following commits from `main` to `7.17`:
- [[ci] More info to test annotation failure logging
(#215515)](https://github.com/elastic/kibana/pull/215515)

<!--- Backport version: 9.6.6 -->

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

<!--BACKPORT [{"author":{"name":"Alex
Szabo","email":"alex.szabo@elastic.co"},"sourceCommit":{"committedDate":"2025-03-24T18:01:32Z","message":"[ci]
More info to test annotation failure logging (#215515)\n\n##
Summary\nWhile annotating test failures, we're seeing increased amount
of errors\nlike this:\n```\n2025-03-21 13:52:32 INFO Artifact uploads
completed successfully\n--\n  | Annotate test failures error Request
failed with status code 404\n  | HTTP Error Response Status 404\n  |
HTTP Error Response Body { message: 'Not Found' }\n  | user command
error: exit status 10\n```\n\nIt would be nicer to show a bit more from
the error to help
debugging.","sha":"7120074ec32dcf693580244a01475a2af065a33d","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Operations","release_note:skip","skip-ci","backport:all-open","v9.1.0"],"title":"[ci]
More info to test annotation failure
logging","number":215515,"url":"https://github.com/elastic/kibana/pull/215515","mergeCommit":{"message":"[ci]
More info to test annotation failure logging (#215515)\n\n##
Summary\nWhile annotating test failures, we're seeing increased amount
of errors\nlike this:\n```\n2025-03-21 13:52:32 INFO Artifact uploads
completed successfully\n--\n  | Annotate test failures error Request
failed with status code 404\n  | HTTP Error Response Status 404\n  |
HTTP Error Response Body { message: 'Not Found' }\n  | user command
error: exit status 10\n```\n\nIt would be nicer to show a bit more from
the error to help
debugging.","sha":"7120074ec32dcf693580244a01475a2af065a33d"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/215515","number":215515,"mergeCommit":{"message":"[ci]
More info to test annotation failure logging (#215515)\n\n##
Summary\nWhile annotating test failures, we're seeing increased amount
of errors\nlike this:\n```\n2025-03-21 13:52:32 INFO Artifact uploads
completed successfully\n--\n  | Annotate test failures error Request
failed with status code 404\n  | HTTP Error Response Status 404\n  |
HTTP Error Response Body { message: 'Not Found' }\n  | user command
error: exit status 10\n```\n\nIt would be nicer to show a bit more from
the error to help
debugging.","sha":"7120074ec32dcf693580244a01475a2af065a33d"}}]}]
BACKPORT-->

Co-authored-by: Alex Szabo <alex.szabo@elastic.co>
2025-03-24 23:11:27 +02:00
Brad White
232eb0fe1c
[7.17] Add node scripts/yarn_deduplicate check (#169165) (#203043)
# Backport

This will backport the following commits from `main` to `7.17`:
- [[ci] Add node scripts/yarn_deduplicate check
(main)(#169165)](https://github.com/elastic/kibana/pull/169165)

---------

Co-authored-by: Jon <jon@elastic.co>
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2024-12-05 13:35:34 -08:00
Jon
2d19a8d935
[7.17][ci] Set disk size for artifact builds (#197663) (#201894)
#197663
2024-11-27 16:59:38 -06:00
Jon
0245554fb8
[7.17] [ci] Use es snapshot cache for jest integration tests (#196695) (#196879)
This ended up backporting the whole feature - also includes
https://github.com/elastic/kibana/pull/132940 minus the bazel changes.

#196695
2024-10-18 12:45:44 -05:00
Jon
1b83892c9b
[7.17] Re-enable org wide PR bot (#195131) (#195135)
#195131

~Depends on / needs a commit updating
https://github.com/elastic/kibana-buildkite-library/pull/35~

7eff716394...197b21b1fe
2024-10-07 10:15:26 -05:00
Alex Szabo
aa546b5051
[7.17] Add docker retries (#191981)
## Summary
Backport of #191824

---------

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2024-09-04 11:43:23 -05:00
Jon
fea14755b7
[7.17] Upgrade micromatch to 4.0.8 (#191558) (#191624)
#191558
2024-08-28 13:23:02 -05:00
Jon
c21aac1d37
[7.17] [ci] Fix check for pre-emption failure (#191325) (#191560)
#191325
7eff716394
2024-08-28 07:56:41 -05:00
Jon
490f8b11c1
[7.17] [ci] Upgrade axios to 1.7.4 (#191023) (#191081)
#191023
2024-08-23 13:01:17 -05:00
Brad White
675822d98a
[7.17] [CI] Add suggestion from #189316 (#189765) (#189826)
# Backport

This will backport the following commits from `main` to `7.17`:
- [[CI] Add suggestion from #189316
(#189765)](https://github.com/elastic/kibana/pull/189765)

<!--- Backport version: 8.9.8 -->

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

<!--BACKPORT [{"author":{"name":"Brad
White","email":"Ikuni17@users.noreply.github.com"},"sourceCommit":{"committedDate":"2024-08-02T16:35:56Z","message":"[CI]
Add suggestion from #189316 (#189765)\n\n## Summary\r\n\r\nThis was just
a suggested change from #189316 which didn't get addressed\r\nbecause of
auto
merge.","sha":"f941ba4d6b60cee41c418140e21b677ca0972c71","branchLabelMapping":{"^v8.16.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Operations","release_note:skip","backport:all-open","v8.16.0"],"number":189765,"url":"https://github.com/elastic/kibana/pull/189765","mergeCommit":{"message":"[CI]
Add suggestion from #189316 (#189765)\n\n## Summary\r\n\r\nThis was just
a suggested change from #189316 which didn't get addressed\r\nbecause of
auto
merge.","sha":"f941ba4d6b60cee41c418140e21b677ca0972c71"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.16.0","labelRegex":"^v8.16.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/189765","number":189765,"mergeCommit":{"message":"[CI]
Add suggestion from #189316 (#189765)\n\n## Summary\r\n\r\nThis was just
a suggested change from #189316 which didn't get addressed\r\nbecause of
auto
merge.","sha":"f941ba4d6b60cee41c418140e21b677ca0972c71"}},{"url":"https://github.com/elastic/kibana/pull/189824","number":189824,"branch":"8.15","state":"OPEN"}]}]
BACKPORT-->
2024-08-02 14:49:12 -05:00
Tiago Costa
d5315a3b41
[7.17] backport revert org wide pr bot #188771 (#188797)
This is a backport of https://github.com/elastic/kibana/pull/188771

---------

Co-authored-by: Jonathan Budzenski <jon@elastic.co>
2024-07-22 17:53:07 +01:00
Tiago Costa
73bc501be5
[7.17] chore(NA): remove usage of re2 and replace it with a non native module (#188134) (#188369)
# Backport

This will backport the following commits from `main` to `7.17`:
- [chore(NA): remove usage of re2 and replace it with a non native
module (#188134)](https://github.com/elastic/kibana/pull/188134)

<!--- Backport version: 8.9.8 -->

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

<!--BACKPORT [{"author":{"name":"Tiago
Costa","email":"tiago.costa@elastic.co"},"sourceCommit":{"committedDate":"2024-07-15T19:33:28Z","message":"chore(NA):
remove usage of re2 and replace it with a non native module
(#188134)\n\nThis PR removes the usage of the native module version of
`re2` and\r\nreplaces it with a js port called `re2js`.\r\nIt also ends
our usage of native node modules in production and it\r\nremoves the
task from the build as well. Further steps will be taken\r\nalong our
strategy to avoid future usages of native node modules in
prod\r\nenvironments.","sha":"3c338a82c2d6d59c91f0f3b74f725231c69c5b13","branchLabelMapping":{"^v8.16.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["chore","Team:Operations","release_note:skip","backport:all-open","v8.16.0"],"number":188134,"url":"https://github.com/elastic/kibana/pull/188134","mergeCommit":{"message":"chore(NA):
remove usage of re2 and replace it with a non native module
(#188134)\n\nThis PR removes the usage of the native module version of
`re2` and\r\nreplaces it with a js port called `re2js`.\r\nIt also ends
our usage of native node modules in production and it\r\nremoves the
task from the build as well. Further steps will be taken\r\nalong our
strategy to avoid future usages of native node modules in
prod\r\nenvironments.","sha":"3c338a82c2d6d59c91f0f3b74f725231c69c5b13"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.16.0","labelRegex":"^v8.16.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/188134","number":188134,"mergeCommit":{"message":"chore(NA):
remove usage of re2 and replace it with a non native module
(#188134)\n\nThis PR removes the usage of the native module version of
`re2` and\r\nreplaces it with a js port called `re2js`.\r\nIt also ends
our usage of native node modules in production and it\r\nremoves the
task from the build as well. Further steps will be taken\r\nalong our
strategy to avoid future usages of native node modules in
prod\r\nenvironments.","sha":"3c338a82c2d6d59c91f0f3b74f725231c69c5b13"}}]}]
BACKPORT-->
2024-07-16 23:12:51 +01:00
Alex Szabo
3248376da7
[7.17][BK] Migrate ES Forward's agent targeting rules (#187341)
## Summary
The ES forward testing only happens from the direction of 7.17, so this
file only exists on 7.17, thus it's not a backport, but a direct
adjustment of these rules.

Follows up: https://github.com/elastic/kibana/pull/184018
2024-07-10 12:08:43 +02:00
Brad White
8a962974b1
[7.17] Remove Agent Debug Info (#187126) (#187805)
# Backport

This will backport the following commits from `main` to `7.17`:
- [Remove Agent Debug Info
(#187126)](https://github.com/elastic/kibana/pull/187126)

<!--- Backport version: 8.9.8 -->

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

<!--BACKPORT [{"author":{"name":"Brad
White","email":"Ikuni17@users.noreply.github.com"},"sourceCommit":{"committedDate":"2024-07-08T21:10:14Z","message":"Remove
Agent Debug Info (#187126)\n\n## Summary\r\n\r\n- Removes SSH info to
avoid confusion since we cannot SSH into agents on\r\nthe new infra\r\n-
Removes old agent metrics and logs links because they are in
a\r\ndifferent cluster and the new links are in an
annotation","sha":"dd9d6434cae8b7beb3b730cd42898b8f63dbee91","branchLabelMapping":{"^v8.16.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Operations","release_note:skip","backport:all-open","v8.15.0","v8.16.0"],"number":187126,"url":"https://github.com/elastic/kibana/pull/187126","mergeCommit":{"message":"Remove
Agent Debug Info (#187126)\n\n## Summary\r\n\r\n- Removes SSH info to
avoid confusion since we cannot SSH into agents on\r\nthe new infra\r\n-
Removes old agent metrics and logs links because they are in
a\r\ndifferent cluster and the new links are in an
annotation","sha":"dd9d6434cae8b7beb3b730cd42898b8f63dbee91"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"8.15","label":"v8.15.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/187802","number":187802,"state":"OPEN"},{"branch":"main","label":"v8.16.0","labelRegex":"^v8.16.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/187126","number":187126,"mergeCommit":{"message":"Remove
Agent Debug Info (#187126)\n\n## Summary\r\n\r\n- Removes SSH info to
avoid confusion since we cannot SSH into agents on\r\nthe new infra\r\n-
Removes old agent metrics and logs links because they are in
a\r\ndifferent cluster and the new links are in an
annotation","sha":"dd9d6434cae8b7beb3b730cd42898b8f63dbee91"}}]}]
BACKPORT-->
2024-07-09 08:56:20 -05:00
Alex Szabo
0833f58bce
[7.17][CI]Revert removing package testing related scripts (#187856)
## Summary
This reverts commit 5e19b82973.
2024-07-09 14:22:04 +02:00
Alex Szabo
dfe26f4b7e
[7.17] Clean up pipelines (#187490)
## Summary
Removes unused pipelines, and their related scripts: 
 - package_testing.yml
 - demo_env.yml

Updates a pipeline to the new buildkite agent targeting format:
 - performance/daily.yml (missed backport after migration)
2024-07-08 14:25:52 +02:00
Jon
2fd50f395a
[7.17] [ci] Use org wide PR status bot (#187386) (#187515)
#187386

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2024-07-05 11:29:05 -05:00
Jon
8b026e3dc1
[7.17] Use org wide PR comment bot (#187391)
See
eb8ddcd943

Backports https://github.com/elastic/kibana/pull/187354
2024-07-02 17:21:52 -05:00
Jon
c00bd9a0b7
[7.17][.buildkite] Upgrade micromatch to 4.0.7 (#187282) 2024-07-02 07:24:33 -05:00
Alex Szabo
b76b039b32
Bump buildkite lib: fix test annotation (#186819)
## Summary
Bump of kibana-buildkite-library to adopt:
https://github.com/elastic/kibana-buildkite-library/pull/28 + #186446

Closes: https://github.com/elastic/kibana/pull/186819
2024-06-25 11:06:44 +02:00
Jon
df040b74dd
[7.17] [.buildkite] Upgrade braces to 3.0.3 (#186428)
#186421
2024-06-24 06:39:36 -05:00
Alex Szabo
1003d80883
[7.17][BK] Migrate the kibana-on-merge job (#184497)
## Summary
Backport of #184391 to 7.17

Migration staging run: 
-
https://buildkite.com/elastic/kibana-migration-pipeline-staging/builds/106
-
https://buildkite.com/elastic/kibana-migration-pipeline-staging/builds/121
2024-06-11 11:49:50 +02:00
Alex Szabo
c6a09f0146
[7.17] Backport comment flaky results (#184336)
# Summary 
Backport of #183043

---------

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2024-06-05 14:37:46 +02:00
Alex Szabo
ec6dd74ff4
[7.17][BK] Migrate kibana-pull-request job (#183707)
## Summary
Manual backport of #183158 

Success: https://buildkite.com/elastic/kibana-kme-test/builds/339

---------

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2024-05-24 13:01:58 +02:00
Alex Szabo
a138c418e8
[7.17] [CI] Fix issues related to publish (#183393) (#183547)
# Backport

This will backport the following commits from `main` to `7.17`:
- [[CI] Fix issues related to publish
(#183393)](https://github.com/elastic/kibana/pull/183393)

<!--- Backport version: 8.9.8 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)
2024-05-15 19:55:08 +02:00
Alex Szabo
6e131ab9b8
[7.17] [BK] Migrate batch 1 (Artifact builds) (#182582) (#183474)
# Backport

This will backport the following commits from `main` to `7.17`:
- [[BK] Migrate batch 1 (Artifact builds)
(#182582)](https://github.com/elastic/kibana/pull/182582)

It's supposed to fix:
https://buildkite.com/elastic/kibana-artifacts-snapshot/builds?branch=7.17

<!--- Backport version: 8.9.8 -->

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

<!--BACKPORT [{"author":{"name":"Alex
Szabo","email":"alex.szabo@elastic.co"},"sourceCommit":{"committedDate":"2024-05-13T14:06:55Z","message":"[BK]
Migrate batch 1 (Artifact builds) (#182582)\n\n## Summary\r\nMigrates
batch 1 - artifact builds. The upload aspect wasn't tested,\r\nbecause
it's programmed only to run from `main`, and we didn't want
to\r\ninterfere with the ongoing releases. This can be tested after the
merge.\r\n\r\nVerification:\r\n- [x] RREs tested locally\r\n- [x] kibana
/ artifacts
trigger\r\n(https://buildkite.com/elastic/kibana-migration-pipeline-staging/builds/87)\r\n-
[x] kibana / artifacts container
image\r\n(https://buildkite.com/elastic/kibana-migration-pipeline-staging/builds/86)\r\n-
[x] kibana / artifacts
snapshot\r\n(https://buildkite.com/elastic/kibana-migration-pipeline-staging/builds/88)\r\n-
[x] kibana / artifacts
staging\r\n(https://buildkite.com/elastic/kibana-migration-pipeline-staging/builds/88)\r\n-
[x] 8.13 / 8.14 / 7.17 verification (only a few jobs need to
work\r\nhere)\r\n\r\nOriginals:\r\n- kibana / artifacts
trigger\r\n[kibana-artifacts-trigger.yml](https://buildkite.com/elastic/kibana-artifacts-trigger)\r\n-
kibana / artifacts container
image\r\n[kibana-artifacts.yml](https://buildkite.com/elastic/kibana-artifacts-container-image)\r\n-
kibana / artifacts
snapshot\r\n[kibana-artifacts.yml](https://buildkite.com/elastic/kibana-artifacts-snapshot)\r\n-
kibana / artifacts
staging\r\n[kibana-artifacts.yml](https://buildkite.com/elastic/kibana-artifacts-staging)\r\n\r\nBackports:\r\n
- https://github.com/elastic/kibana/pull/182781\r\n -
https://github.com/elastic/kibana/pull/182780\r\n \r\nThe backports
don't need to have the pipeline resource definition files,\r\nhowever,
we forked 8.14 off from main, where we already had the\r\nresources.
I'll remove all the unnecessary resource defs from the
legacy\r\nbranches, once we finalize the state (simply to save a
little\r\ninconvenience on future
backports.)","sha":"d5362fdaf7da5dd60f26da2ce4c64313c5930317","branchLabelMapping":{"^v8.15.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Operations","release_note:skip","backport:prev-MAJOR","v8.15.0","v7.17.22"],"number":182582,"url":"https://github.com/elastic/kibana/pull/182582","mergeCommit":{"message":"[BK]
Migrate batch 1 (Artifact builds) (#182582)\n\n## Summary\r\nMigrates
batch 1 - artifact builds. The upload aspect wasn't tested,\r\nbecause
it's programmed only to run from `main`, and we didn't want
to\r\ninterfere with the ongoing releases. This can be tested after the
merge.\r\n\r\nVerification:\r\n- [x] RREs tested locally\r\n- [x] kibana
/ artifacts
trigger\r\n(https://buildkite.com/elastic/kibana-migration-pipeline-staging/builds/87)\r\n-
[x] kibana / artifacts container
image\r\n(https://buildkite.com/elastic/kibana-migration-pipeline-staging/builds/86)\r\n-
[x] kibana / artifacts
snapshot\r\n(https://buildkite.com/elastic/kibana-migration-pipeline-staging/builds/88)\r\n-
[x] kibana / artifacts
staging\r\n(https://buildkite.com/elastic/kibana-migration-pipeline-staging/builds/88)\r\n-
[x] 8.13 / 8.14 / 7.17 verification (only a few jobs need to
work\r\nhere)\r\n\r\nOriginals:\r\n- kibana / artifacts
trigger\r\n[kibana-artifacts-trigger.yml](https://buildkite.com/elastic/kibana-artifacts-trigger)\r\n-
kibana / artifacts container
image\r\n[kibana-artifacts.yml](https://buildkite.com/elastic/kibana-artifacts-container-image)\r\n-
kibana / artifacts
snapshot\r\n[kibana-artifacts.yml](https://buildkite.com/elastic/kibana-artifacts-snapshot)\r\n-
kibana / artifacts
staging\r\n[kibana-artifacts.yml](https://buildkite.com/elastic/kibana-artifacts-staging)\r\n\r\nBackports:\r\n
- https://github.com/elastic/kibana/pull/182781\r\n -
https://github.com/elastic/kibana/pull/182780\r\n \r\nThe backports
don't need to have the pipeline resource definition files,\r\nhowever,
we forked 8.14 off from main, where we already had the\r\nresources.
I'll remove all the unnecessary resource defs from the
legacy\r\nbranches, once we finalize the state (simply to save a
little\r\ninconvenience on future
backports.)","sha":"d5362fdaf7da5dd60f26da2ce4c64313c5930317"}},"sourceBranch":"main","suggestedTargetBranches":["7.17"],"targetPullRequestStates":[{"branch":"main","label":"v8.15.0","labelRegex":"^v8.15.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/182582","number":182582,"mergeCommit":{"message":"[BK]
Migrate batch 1 (Artifact builds) (#182582)\n\n## Summary\r\nMigrates
batch 1 - artifact builds. The upload aspect wasn't tested,\r\nbecause
it's programmed only to run from `main`, and we didn't want
to\r\ninterfere with the ongoing releases. This can be tested after the
merge.\r\n\r\nVerification:\r\n- [x] RREs tested locally\r\n- [x] kibana
/ artifacts
trigger\r\n(https://buildkite.com/elastic/kibana-migration-pipeline-staging/builds/87)\r\n-
[x] kibana / artifacts container
image\r\n(https://buildkite.com/elastic/kibana-migration-pipeline-staging/builds/86)\r\n-
[x] kibana / artifacts
snapshot\r\n(https://buildkite.com/elastic/kibana-migration-pipeline-staging/builds/88)\r\n-
[x] kibana / artifacts
staging\r\n(https://buildkite.com/elastic/kibana-migration-pipeline-staging/builds/88)\r\n-
[x] 8.13 / 8.14 / 7.17 verification (only a few jobs need to
work\r\nhere)\r\n\r\nOriginals:\r\n- kibana / artifacts
trigger\r\n[kibana-artifacts-trigger.yml](https://buildkite.com/elastic/kibana-artifacts-trigger)\r\n-
kibana / artifacts container
image\r\n[kibana-artifacts.yml](https://buildkite.com/elastic/kibana-artifacts-container-image)\r\n-
kibana / artifacts
snapshot\r\n[kibana-artifacts.yml](https://buildkite.com/elastic/kibana-artifacts-snapshot)\r\n-
kibana / artifacts
staging\r\n[kibana-artifacts.yml](https://buildkite.com/elastic/kibana-artifacts-staging)\r\n\r\nBackports:\r\n
- https://github.com/elastic/kibana/pull/182781\r\n -
https://github.com/elastic/kibana/pull/182780\r\n \r\nThe backports
don't need to have the pipeline resource definition files,\r\nhowever,
we forked 8.14 off from main, where we already had the\r\nresources.
I'll remove all the unnecessary resource defs from the
legacy\r\nbranches, once we finalize the state (simply to save a
little\r\ninconvenience on future
backports.)","sha":"d5362fdaf7da5dd60f26da2ce4c64313c5930317"}},{"branch":"7.17","label":"v7.17.22","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->
2024-05-15 14:04:57 +02:00
Jon
272196860f
[7.17] [ci] Refactor docker login (#183278) (#183391)
#183278
2024-05-14 09:20:37 -05:00
Alex Szabo
df05bca190
[7.17] Backport #183140 (#183277)
## Summary
Manual backport of #183140, simply replacing `elastic-images-qa` =>
`elastic-images-prod`
2024-05-13 14:34:02 +02:00
Tiago Costa
9d1a3745cc
[7.17] chore(NA): remove prettier custom overrides across codebase (#180958) (#181077)
# Backport

This will backport the following commits from `main` to `7.17`:
- [chore(NA): remove prettier custom overrides across codebase
(#180958)](https://github.com/elastic/kibana/pull/180958)
2024-04-17 21:00:48 +01:00
Alex Szabo
dafe0fb0f9
[BK][7.17] Migrate buildkite batch 5 (unsupported ftr / flaky test runner) (#180575)
## Summary

Manual backport of: https://github.com/elastic/kibana/pull/180403 with
some extra fixes:
- scripts that generate pipeline steps should care for what's the
environment, and branch on agent targeting rules
 - set google account for bazel to access cache

---------

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2024-04-17 11:13:19 +02:00
Alex Szabo
bb32997953
[CI] Fix agent targeting ES verification's verify step (#180580)
## Summary
Apparently missed a spot in an agent targeting rule in `verify.yml`,
this PR fixes it.

Connected to: #180346
2024-04-11 13:56:12 +02:00
Alex Szabo
d1b78a050d
[7.17][CI] Update pipeline-lib version to adapt agent targeting rule branching in test grouping (#180511)
## Summary
This is effectively the backport of
https://github.com/elastic/kibana/pull/180078 to 7.17 through the
pipeline-lib.
This is required so that the `pick_test_group_run_order` functionality
will start to respect the new running environment and request agents
with full agent targeting rules instead of queues.
2024-04-11 10:59:05 +02:00
Tiago Costa
72f683c7fb
fix(NA): chmod permissions to 755 on .buildkite/scripts/common/activate_service_account.sh 2024-04-10 20:20:12 +01:00
Tiago Costa
f68a5d642d
[7.17] fix(NA): cwd path for child script on create manifest (#180525)
This PR completely backports what was done at
https://github.com/elastic/kibana/pull/176781 but for 7.17
2024-04-10 19:57:30 +01:00
Alex Szabo
6f7d916bc0
[CI] Backport service account activation to 7.17 (#180482)
## Summary
The backport script probably missed backporting of these lines because
of the file name differences (`*.ts <-> *.js`).

This will hopefully unblock 7.17's snapshot build:
https://buildkite.com/elastic/kibana-elasticsearch-snapshot-build/builds/3866#018ec868-0d9c-412d-9b60-92ea2dc64dcb
2024-04-10 10:50:39 -07:00
Alex Szabo
c97059012a
[7.17] [BK] Migrate Batch 4 (ES verification) (#180346) (#180474)
# Backport

This will backport the following commits from `main` to `7.17`:
- [[BK] Migrate Batch 4 (ES verification)
(#180346)](https://github.com/elastic/kibana/pull/180346)

<!--- Backport version: 8.9.8 -->

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

<!--BACKPORT [{"author":{"name":"Alex
Szabo","email":"alex.szabo@elastic.co"},"sourceCommit":{"committedDate":"2024-04-10T09:00:32Z","message":"[BK]
Migrate Batch 4 (ES verification) (#180346)\n\n## Summary\r\nCreates new
Buildkite RRE definitions for batch 4 (ES snapshot\r\nverification + ES
serverless image verification).\r\nUpdates agent targeting rules in
affected pipeline implementations.\r\n\r\n- [x] RREs validated with
`docker.elastic.co/ci-agent-images/pipelib`'s\r\nscripts locally\r\n-
[x] Tested pipelines through the pipeline staging job\r\n- [x]
Serverless
suite:\r\nhttps://buildkite.com/elastic/kibana-migration-pipeline-staging/builds/22\r\n-
[x] ES Snapshot
build:\r\nhttps://buildkite.com/elastic/kibana-migration-pipeline-staging/builds/26\r\n-
[x] ES Snapshot
verify:\r\nhttps://buildkite.com/elastic/kibana-migration-pipeline-staging/builds/27\r\n(basically
started running, but failed due to test failures - doesn't\r\nseem to be
related to the infra change)\r\n- [x] ES Snapshot
promote:\r\nhttps://buildkite.com/elastic/kibana-migration-pipeline-staging/builds/28\r\n\r\nPart
of: https://github.com/elastic/kibana-operations/issues/79\r\nMigration
of: \r\n- kibana / elasticsearch serverless verify and
promote\r\n[kibana-es-snapshots.yml](https://buildkite.com/elastic/kibana-elasticsearch-serverless-verify-and-promote)\r\n-
kibana / elasticsearch snapshot
build\r\n[kibana-es-snapshots.yml](https://buildkite.com/elastic/kibana-elasticsearch-snapshot-build)\r\n-
kibana / elasticsearch snapshot
promote\r\n[kibana-es-snapshots.yml](https://buildkite.com/elastic/kibana-elasticsearch-snapshot-promote)\r\n-
kibana / elasticsearch snapshot
verify\r\n[kibana-es-snapshots.yml](https://buildkite.com/elastic/kibana-elasticsearch-snapshot-verify)\r\n\r\n---------\r\n\r\nCo-authored-by:
Jon
<jon@budzenski.me>","sha":"731174bcf870d822d1e14583b6b018394bd19ef7","branchLabelMapping":{"^v8.14.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Operations","release_note:skip","backport:skip","v8.14.0"],"number":180346,"url":"https://github.com/elastic/kibana/pull/180346","mergeCommit":{"message":"[BK]
Migrate Batch 4 (ES verification) (#180346)\n\n## Summary\r\nCreates new
Buildkite RRE definitions for batch 4 (ES snapshot\r\nverification + ES
serverless image verification).\r\nUpdates agent targeting rules in
affected pipeline implementations.\r\n\r\n- [x] RREs validated with
`docker.elastic.co/ci-agent-images/pipelib`'s\r\nscripts locally\r\n-
[x] Tested pipelines through the pipeline staging job\r\n- [x]
Serverless
suite:\r\nhttps://buildkite.com/elastic/kibana-migration-pipeline-staging/builds/22\r\n-
[x] ES Snapshot
build:\r\nhttps://buildkite.com/elastic/kibana-migration-pipeline-staging/builds/26\r\n-
[x] ES Snapshot
verify:\r\nhttps://buildkite.com/elastic/kibana-migration-pipeline-staging/builds/27\r\n(basically
started running, but failed due to test failures - doesn't\r\nseem to be
related to the infra change)\r\n- [x] ES Snapshot
promote:\r\nhttps://buildkite.com/elastic/kibana-migration-pipeline-staging/builds/28\r\n\r\nPart
of: https://github.com/elastic/kibana-operations/issues/79\r\nMigration
of: \r\n- kibana / elasticsearch serverless verify and
promote\r\n[kibana-es-snapshots.yml](https://buildkite.com/elastic/kibana-elasticsearch-serverless-verify-and-promote)\r\n-
kibana / elasticsearch snapshot
build\r\n[kibana-es-snapshots.yml](https://buildkite.com/elastic/kibana-elasticsearch-snapshot-build)\r\n-
kibana / elasticsearch snapshot
promote\r\n[kibana-es-snapshots.yml](https://buildkite.com/elastic/kibana-elasticsearch-snapshot-promote)\r\n-
kibana / elasticsearch snapshot
verify\r\n[kibana-es-snapshots.yml](https://buildkite.com/elastic/kibana-elasticsearch-snapshot-verify)\r\n\r\n---------\r\n\r\nCo-authored-by:
Jon
<jon@budzenski.me>","sha":"731174bcf870d822d1e14583b6b018394bd19ef7"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.14.0","labelRegex":"^v8.14.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/180346","number":180346,"mergeCommit":{"message":"[BK]
Migrate Batch 4 (ES verification) (#180346)\n\n## Summary\r\nCreates new
Buildkite RRE definitions for batch 4 (ES snapshot\r\nverification + ES
serverless image verification).\r\nUpdates agent targeting rules in
affected pipeline implementations.\r\n\r\n- [x] RREs validated with
`docker.elastic.co/ci-agent-images/pipelib`'s\r\nscripts locally\r\n-
[x] Tested pipelines through the pipeline staging job\r\n- [x]
Serverless
suite:\r\nhttps://buildkite.com/elastic/kibana-migration-pipeline-staging/builds/22\r\n-
[x] ES Snapshot
build:\r\nhttps://buildkite.com/elastic/kibana-migration-pipeline-staging/builds/26\r\n-
[x] ES Snapshot
verify:\r\nhttps://buildkite.com/elastic/kibana-migration-pipeline-staging/builds/27\r\n(basically
started running, but failed due to test failures - doesn't\r\nseem to be
related to the infra change)\r\n- [x] ES Snapshot
promote:\r\nhttps://buildkite.com/elastic/kibana-migration-pipeline-staging/builds/28\r\n\r\nPart
of: https://github.com/elastic/kibana-operations/issues/79\r\nMigration
of: \r\n- kibana / elasticsearch serverless verify and
promote\r\n[kibana-es-snapshots.yml](https://buildkite.com/elastic/kibana-elasticsearch-serverless-verify-and-promote)\r\n-
kibana / elasticsearch snapshot
build\r\n[kibana-es-snapshots.yml](https://buildkite.com/elastic/kibana-elasticsearch-snapshot-build)\r\n-
kibana / elasticsearch snapshot
promote\r\n[kibana-es-snapshots.yml](https://buildkite.com/elastic/kibana-elasticsearch-snapshot-promote)\r\n-
kibana / elasticsearch snapshot
verify\r\n[kibana-es-snapshots.yml](https://buildkite.com/elastic/kibana-elasticsearch-snapshot-verify)\r\n\r\n---------\r\n\r\nCo-authored-by:
Jon
<jon@budzenski.me>","sha":"731174bcf870d822d1e14583b6b018394bd19ef7"}}]}]
BACKPORT-->
2024-04-10 15:58:51 +02:00
Jon
60c544552a
[7.17] [ci] Upgrade follow-redirects to 1.15.6 (#180326) (#180374)
#180326
2024-04-09 11:46:50 -05:00
Alex Szabo
c9d7ee0739
[7.17] [Ops] Refactor env loading & fix agent-targeting rewrite (#178320) (#178959)
# Backport

This will backport the following commits from `main` to `7.17`:
- [[Ops] Refactor env loading & fix agent-targeting rewrite
(#178320)](https://github.com/elastic/kibana/pull/178320)

<!--- Backport version: 8.9.8 -->

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

<!--BACKPORT [{"author":{"name":"Alex
Szabo","email":"alex.szabo@elastic.co"},"sourceCommit":{"committedDate":"2024-03-12T15:31:26Z","message":"[Ops]
Refactor env loading & fix agent-targeting rewrite (#178320)\n\n##
Summary\r\nThis PR refactors a bit of the pre-command env setup,
separating parts,\r\nso they can be individually skipped. Then it
removes the setup-avoidance\r\nbased on agent types, as this won't be
useful after the migration.\r\n\r\nAlso, it fixes a missed bit in the
agent-targeting rewrite used for the\r\nmigration, where the `provider:
'gcp'` was missing, and adds an optional\r\ntargeting for the
script.\r\n\r\n- add gcp as provider to all rewritten agent targeting
rules\r\n- add option to target specific pipelines\r\n- refactor env-var
loading to a separated file\r\n- refactor node installs so it can be
switched by a flag\r\n- skip node installing in (some) jobs that don't
require
it","sha":"a89fb9b2fbb73742808fa419aaf98486c31d921d","branchLabelMapping":{"^v8.14.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Operations","release_note:skip","backport
missing","v8.14.0","v8.13.1"],"number":178320,"url":"https://github.com/elastic/kibana/pull/178320","mergeCommit":{"message":"[Ops]
Refactor env loading & fix agent-targeting rewrite (#178320)\n\n##
Summary\r\nThis PR refactors a bit of the pre-command env setup,
separating parts,\r\nso they can be individually skipped. Then it
removes the setup-avoidance\r\nbased on agent types, as this won't be
useful after the migration.\r\n\r\nAlso, it fixes a missed bit in the
agent-targeting rewrite used for the\r\nmigration, where the `provider:
'gcp'` was missing, and adds an optional\r\ntargeting for the
script.\r\n\r\n- add gcp as provider to all rewritten agent targeting
rules\r\n- add option to target specific pipelines\r\n- refactor env-var
loading to a separated file\r\n- refactor node installs so it can be
switched by a flag\r\n- skip node installing in (some) jobs that don't
require
it","sha":"a89fb9b2fbb73742808fa419aaf98486c31d921d"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.14.0","labelRegex":"^v8.14.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/178320","number":178320,"mergeCommit":{"message":"[Ops]
Refactor env loading & fix agent-targeting rewrite (#178320)\n\n##
Summary\r\nThis PR refactors a bit of the pre-command env setup,
separating parts,\r\nso they can be individually skipped. Then it
removes the setup-avoidance\r\nbased on agent types, as this won't be
useful after the migration.\r\n\r\nAlso, it fixes a missed bit in the
agent-targeting rewrite used for the\r\nmigration, where the `provider:
'gcp'` was missing, and adds an optional\r\ntargeting for the
script.\r\n\r\n- add gcp as provider to all rewritten agent targeting
rules\r\n- add option to target specific pipelines\r\n- refactor env-var
loading to a separated file\r\n- refactor node installs so it can be
switched by a flag\r\n- skip node installing in (some) jobs that don't
require
it","sha":"a89fb9b2fbb73742808fa419aaf98486c31d921d"}},{"branch":"8.13","label":"v8.13.1","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/178533","number":178533,"state":"OPEN"}]}]
BACKPORT-->
2024-03-20 13:19:37 +01:00
Jonathan Budzenski
a818ed61eb Revert "[7.17] [ci] Update kibana-ci-apm endpoint (#177727) (#178432)"
This reverts commit 0de111d82b.
2024-03-18 13:34:21 -05:00
Jon
21c7f1ede4
[7.17] [ci] Disable post-build manual retries (#178675) (#178685)
#178675
2024-03-14 09:24:36 -05:00
Jon
0de111d82b
[7.17] [ci] Update kibana-ci-apm endpoint (#177727) (#178432)
#177727
2024-03-13 18:22:15 -05:00
Tiago Costa
0342122f8c
[7.17] fix(NA): move setup node into the beginning of the pre_command script (#178569)
It does looks like in some situations (like for example in the external
macos bazel caches machines) `npm` was being executed without node being
yet correctly configured on 7.17 branch. This change will fix the
problem.
2024-03-13 14:46:21 +00:00
Jon
23114cd779
[7.17] [ci] Upgrade axios (#178451) 2024-03-12 07:17:52 -05:00
Kibana Machine
d316f06f5c
[7.17] Update docs-preview link (#176468) (#176516)
# Backport

This will backport the following commits from `main` to `7.17`:
- [Update docs-preview link
(#176468)](https://github.com/elastic/kibana/pull/176468)

<!--- Backport version: 9.4.3 -->

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

<!--BACKPORT [{"author":{"name":"Nassim
Kammah","email":"nkammah@gmail.com"},"sourceCommit":{"committedDate":"2024-02-08T07:42:35Z","message":"Update
docs-preview link (#176468)\n\n## Summary\r\n\r\nFollowing the migration
from Jenkins to Buildkite, docs previews are now\r\navailable at
<repo>_bk_<PR>.\r\nMore context in
https://github.com/elastic/docs/pull/2898\r\n\r\n###
Checklist\r\n\r\n\r\n### Risk Matrix\r\n\r\n\r\n### For
maintainers\r\n\r\n- [ ] This was checked for breaking API changes and
was
[labeled\r\nappropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)","sha":"096bf5515a34f1158a3bd1c0a259388b337f1f68","branchLabelMapping":{"^v8.13.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport:all-open","v8.13.0"],"title":"Update
docs-preview
link","number":176468,"url":"https://github.com/elastic/kibana/pull/176468","mergeCommit":{"message":"Update
docs-preview link (#176468)\n\n## Summary\r\n\r\nFollowing the migration
from Jenkins to Buildkite, docs previews are now\r\navailable at
<repo>_bk_<PR>.\r\nMore context in
https://github.com/elastic/docs/pull/2898\r\n\r\n###
Checklist\r\n\r\n\r\n### Risk Matrix\r\n\r\n\r\n### For
maintainers\r\n\r\n- [ ] This was checked for breaking API changes and
was
[labeled\r\nappropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)","sha":"096bf5515a34f1158a3bd1c0a259388b337f1f68"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.13.0","branchLabelMappingKey":"^v8.13.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/176468","number":176468,"mergeCommit":{"message":"Update
docs-preview link (#176468)\n\n## Summary\r\n\r\nFollowing the migration
from Jenkins to Buildkite, docs previews are now\r\navailable at
<repo>_bk_<PR>.\r\nMore context in
https://github.com/elastic/docs/pull/2898\r\n\r\n###
Checklist\r\n\r\n\r\n### Risk Matrix\r\n\r\n\r\n### For
maintainers\r\n\r\n- [ ] This was checked for breaking API changes and
was
[labeled\r\nappropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)","sha":"096bf5515a34f1158a3bd1c0a259388b337f1f68"}}]}]
BACKPORT-->

Co-authored-by: Nassim Kammah <nkammah@gmail.com>
2024-02-08 11:37:54 -07:00
Kibana Machine
ccad457fd9
[7.17] [ci] Remove ubi8 step (#174257) (#174262)
# Backport

This will backport the following commits from `main` to `7.17`:
- [[ci] Remove ubi8 step
(#174257)](https://github.com/elastic/kibana/pull/174257)

<!--- Backport version: 9.4.3 -->

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

<!--BACKPORT
[{"author":{"name":"Jon","email":"jon@elastic.co"},"sourceCommit":{"committedDate":"2024-01-04T13:34:11Z","message":"[ci]
Remove ubi8 step (#174257)\n\nUBI8 builds were removed
in\r\nhttps://github.com/elastic/kibana/pull/173873, but I missed the CI
step\r\nthat verifies the docker context. This removes the
step.","sha":"d72a5d1f631249b2ed4eb4dd2bbd285e586b0cfe","branchLabelMapping":{"^v8.13.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Operations","release_note:skip","backport:all-open","v8.13.0"],"title":"[ci]
Remove ubi8
step","number":174257,"url":"https://github.com/elastic/kibana/pull/174257","mergeCommit":{"message":"[ci]
Remove ubi8 step (#174257)\n\nUBI8 builds were removed
in\r\nhttps://github.com/elastic/kibana/pull/173873, but I missed the CI
step\r\nthat verifies the docker context. This removes the
step.","sha":"d72a5d1f631249b2ed4eb4dd2bbd285e586b0cfe"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.13.0","branchLabelMappingKey":"^v8.13.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/174257","number":174257,"mergeCommit":{"message":"[ci]
Remove ubi8 step (#174257)\n\nUBI8 builds were removed
in\r\nhttps://github.com/elastic/kibana/pull/173873, but I missed the CI
step\r\nthat verifies the docker context. This removes the
step.","sha":"d72a5d1f631249b2ed4eb4dd2bbd285e586b0cfe"}}]}] BACKPORT-->

Co-authored-by: Jon <jon@elastic.co>
2024-01-04 07:41:55 -06:00
Jon
c169e29c2c
[7.17] [build] Remove ubi8 (#173873) (#174213)
#173873
2024-01-03 19:01:51 -06:00
Jon
152243fb83
[7.17] [ci] Avoid unintended notifications on failing test comment (#174124) (#174215)
8119df13d5
#174124
2024-01-03 19:01:03 -06:00
Jon
f8023f7420
[7.17] [artifacts] Publish ubi9 docker image (#170264) (#174209)
#170264
2024-01-03 12:32:01 -06:00
Jon
3ae9ca5fb2
[7.17] [ci] Upgrade axios to 1.6.3 (#173935) (#174173)
#173935
2024-01-03 09:54:09 -07:00
Jon
fc84df483d
[7.17] [build] Rename ubi9 image to ubi (#171424) (#172219)
#171424

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2023-12-01 09:59:15 -08:00