Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ci] Reuse .yarn-local-mirror #198613

Merged
merged 2 commits into from
Nov 4, 2024
Merged

Conversation

jbudz
Copy link
Member

@jbudz jbudz commented Oct 31, 2024

Currently CI is configuring a yarn local mirror that is ignored due to the repository .yarnrc taking precedence.

Instead of configuring this setting, this moves the cached mirror over to the Kibana directory in line with the repository's configuration.

@jbudz jbudz added Team:Operations Team label for Operations Team release_note:skip Skip the PR/issue when compiling release notes labels Oct 31, 2024
@jbudz
Copy link
Member Author

jbudz commented Oct 31, 2024

buildkite test this

@jbudz jbudz changed the title [ci] Reuse yarn-offline-mirror [ci] Reuse .yarn-local-mirror Oct 31, 2024
@jbudz jbudz marked this pull request as ready for review October 31, 2024 21:21
@jbudz jbudz requested a review from a team as a code owner October 31, 2024 21:21
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-operations (Team:Operations)

@jbudz jbudz added the backport:prev-major Backport to (8.x, 8.17, 8.16) the previous major branch and other branches in development label Oct 31, 2024
@elasticmachine
Copy link
Contributor

💛 Build succeeded, but was flaky

Failed CI Steps

Test Failures

  • [job] [logs] FTR Configs #15 / lens app - group 2 lens fields list tests ad-hoc datasource should show stats for a keyword runtime field

Metrics [docs]

✅ unchanged

History

@jbudz jbudz merged commit 586b24f into elastic:main Nov 4, 2024
24 checks passed
@kibanamachine
Copy link
Contributor

Starting backport for target branches: 8.15, 8.16, 8.x

https://github.com/elastic/kibana/actions/runs/11673737805

kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Nov 4, 2024
Currently CI is configuring a yarn local mirror that is ignored due to
the repository `.yarnrc` taking precedence.

Instead of configuring this setting, this moves the cached mirror over
to the Kibana directory in line with the repository's configuration.

(cherry picked from commit 586b24f)
kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Nov 4, 2024
Currently CI is configuring a yarn local mirror that is ignored due to
the repository `.yarnrc` taking precedence.

Instead of configuring this setting, this moves the cached mirror over
to the Kibana directory in line with the repository's configuration.

(cherry picked from commit 586b24f)
kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Nov 4, 2024
Currently CI is configuring a yarn local mirror that is ignored due to
the repository `.yarnrc` taking precedence.

Instead of configuring this setting, this moves the cached mirror over
to the Kibana directory in line with the repository's configuration.

(cherry picked from commit 586b24f)
@kibanamachine
Copy link
Contributor

💚 All backports created successfully

Status Branch Result
8.15
8.16
8.x

Note: Successful backport PRs will be merged automatically after passing CI.

Questions ?

Please refer to the Backport tool documentation

kibanamachine added a commit that referenced this pull request Nov 5, 2024
# Backport

This will backport the following commits from `main` to `8.16`:
- [[ci] Reuse .yarn-local-mirror
(#198613)](#198613)

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

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

<!--BACKPORT
[{"author":{"name":"Jon","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-11-04T22:24:15Z","message":"[ci]
Reuse .yarn-local-mirror (#198613)\n\nCurrently CI is configuring a yarn
local mirror that is ignored due to\r\nthe repository `.yarnrc` taking
precedence.\r\n\r\nInstead of configuring this setting, this moves the
cached mirror over\r\nto the Kibana directory in line with the
repository's
configuration.","sha":"586b24f3a80cd1d9edb8775f51e1b86849d2c1f2","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Operations","release_note:skip","v9.0.0","backport:prev-major"],"title":"[ci]
Reuse
.yarn-local-mirror","number":198613,"url":"https://github.com/elastic/kibana/pull/198613","mergeCommit":{"message":"[ci]
Reuse .yarn-local-mirror (#198613)\n\nCurrently CI is configuring a yarn
local mirror that is ignored due to\r\nthe repository `.yarnrc` taking
precedence.\r\n\r\nInstead of configuring this setting, this moves the
cached mirror over\r\nto the Kibana directory in line with the
repository's
configuration.","sha":"586b24f3a80cd1d9edb8775f51e1b86849d2c1f2"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/198613","number":198613,"mergeCommit":{"message":"[ci]
Reuse .yarn-local-mirror (#198613)\n\nCurrently CI is configuring a yarn
local mirror that is ignored due to\r\nthe repository `.yarnrc` taking
precedence.\r\n\r\nInstead of configuring this setting, this moves the
cached mirror over\r\nto the Kibana directory in line with the
repository's
configuration.","sha":"586b24f3a80cd1d9edb8775f51e1b86849d2c1f2"}}]}]
BACKPORT-->

Co-authored-by: Jon <[email protected]>
kibanamachine added a commit that referenced this pull request Nov 5, 2024
# Backport

This will backport the following commits from `main` to `8.x`:
- [[ci] Reuse .yarn-local-mirror
(#198613)](#198613)

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

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

<!--BACKPORT
[{"author":{"name":"Jon","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-11-04T22:24:15Z","message":"[ci]
Reuse .yarn-local-mirror (#198613)\n\nCurrently CI is configuring a yarn
local mirror that is ignored due to\r\nthe repository `.yarnrc` taking
precedence.\r\n\r\nInstead of configuring this setting, this moves the
cached mirror over\r\nto the Kibana directory in line with the
repository's
configuration.","sha":"586b24f3a80cd1d9edb8775f51e1b86849d2c1f2","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Operations","release_note:skip","v9.0.0","backport:prev-major"],"title":"[ci]
Reuse
.yarn-local-mirror","number":198613,"url":"https://github.com/elastic/kibana/pull/198613","mergeCommit":{"message":"[ci]
Reuse .yarn-local-mirror (#198613)\n\nCurrently CI is configuring a yarn
local mirror that is ignored due to\r\nthe repository `.yarnrc` taking
precedence.\r\n\r\nInstead of configuring this setting, this moves the
cached mirror over\r\nto the Kibana directory in line with the
repository's
configuration.","sha":"586b24f3a80cd1d9edb8775f51e1b86849d2c1f2"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/198613","number":198613,"mergeCommit":{"message":"[ci]
Reuse .yarn-local-mirror (#198613)\n\nCurrently CI is configuring a yarn
local mirror that is ignored due to\r\nthe repository `.yarnrc` taking
precedence.\r\n\r\nInstead of configuring this setting, this moves the
cached mirror over\r\nto the Kibana directory in line with the
repository's
configuration.","sha":"586b24f3a80cd1d9edb8775f51e1b86849d2c1f2"}}]}]
BACKPORT-->

Co-authored-by: Jon <[email protected]>
kibanamachine added a commit that referenced this pull request Nov 5, 2024
# Backport

This will backport the following commits from `main` to `8.15`:
- [[ci] Reuse .yarn-local-mirror
(#198613)](#198613)

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

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

<!--BACKPORT
[{"author":{"name":"Jon","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-11-04T22:24:15Z","message":"[ci]
Reuse .yarn-local-mirror (#198613)\n\nCurrently CI is configuring a yarn
local mirror that is ignored due to\r\nthe repository `.yarnrc` taking
precedence.\r\n\r\nInstead of configuring this setting, this moves the
cached mirror over\r\nto the Kibana directory in line with the
repository's
configuration.","sha":"586b24f3a80cd1d9edb8775f51e1b86849d2c1f2","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Operations","release_note:skip","v9.0.0","backport:prev-major"],"title":"[ci]
Reuse
.yarn-local-mirror","number":198613,"url":"https://github.com/elastic/kibana/pull/198613","mergeCommit":{"message":"[ci]
Reuse .yarn-local-mirror (#198613)\n\nCurrently CI is configuring a yarn
local mirror that is ignored due to\r\nthe repository `.yarnrc` taking
precedence.\r\n\r\nInstead of configuring this setting, this moves the
cached mirror over\r\nto the Kibana directory in line with the
repository's
configuration.","sha":"586b24f3a80cd1d9edb8775f51e1b86849d2c1f2"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/198613","number":198613,"mergeCommit":{"message":"[ci]
Reuse .yarn-local-mirror (#198613)\n\nCurrently CI is configuring a yarn
local mirror that is ignored due to\r\nthe repository `.yarnrc` taking
precedence.\r\n\r\nInstead of configuring this setting, this moves the
cached mirror over\r\nto the Kibana directory in line with the
repository's
configuration.","sha":"586b24f3a80cd1d9edb8775f51e1b86849d2c1f2"}}]}]
BACKPORT-->

Co-authored-by: Jon <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:prev-major Backport to (8.x, 8.17, 8.16) the previous major branch and other branches in development release_note:skip Skip the PR/issue when compiling release notes Team:Operations Team label for Operations Team v8.15.4 v8.16.0 v8.17.0 v9.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants