-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
chore(NA): enable yarn prefer offline and local mirror for development #84124
Conversation
Pinging @elastic/kibana-operations (Team:Operations) |
Even though we build the coverage system, I wasn't personally responsible for creating the coverage summaries themselves. https://kibana-ci.elastic.co/job/elastic+kibana+code-coverage/1342/ Note, this is my first time trying to run against a forked branch, hope it works lol |
@wayneseymour it looks like it passed 😃 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
💚 Build SucceededMetrics [docs]Async chunks
Page load bundle
History
To update your PR or re-run it, just comment with: |
7.x: f93ffd2 |
elastic#84124) * chore(NA): enable --prefer-offline by default * chore(NA): use prefer offline in the yarnrc * chore(NA): update kbn pm * chore(NA): add yarn offline mirror integration * chore(NA): remove non wanted prune feature due to switching between branches * chore(NA): re-introduce babel require hook # Conflicts: # .ci/packer_cache_for_branch.sh # .gitignore # vars/kibanaCoverage.groovy # vars/kibanaTeamAssign.groovy
#84124) (#84297) * chore(NA): enable --prefer-offline by default * chore(NA): use prefer offline in the yarnrc * chore(NA): update kbn pm * chore(NA): add yarn offline mirror integration * chore(NA): remove non wanted prune feature due to switching between branches * chore(NA): re-introduce babel require hook # Conflicts: # .ci/packer_cache_for_branch.sh # .gitignore # vars/kibanaCoverage.groovy # vars/kibanaTeamAssign.groovy
Last week when playing with some yarn configs I realised by enabling the
prefer-offline
+local mirror
on my dev environment I could save up ~20 seconds when doing a cold bootstrap. I'm putting up that PR to ask for your help validating this so we can make everyone else also benefiting from it. Note that I've enabled that option through the.yarnrc
flag instead of enabling thekbn bootstap
flag in order to already prepare it for the upcoming bazel work over the next months.