Skip to content

[kbn/pm] Implement --prefer-offline flag#25840

Merged
spalger merged 4 commits intoelastic:masterfrom
spalger:implement/prefer-offline
Nov 19, 2018
Merged

[kbn/pm] Implement --prefer-offline flag#25840
spalger merged 4 commits intoelastic:masterfrom
spalger:implement/prefer-offline

Conversation

@spalger
Copy link
Copy Markdown
Contributor

@spalger spalger commented Nov 17, 2018

This updates @kbn/pm to accept a --prefer-offline flag that will try to install modules without going to the network, and sets the yarn-offline-mirror config variable to instruct yarn to build an offline cache that is slightly more efficient/safe than copying from the extracted files in the cache.

@spalger spalger added WIP Work in progress review Team:Operations Kibana-Operations Team v7.0.0 v6.6.0 and removed WIP Work in progress labels Nov 17, 2018
@elasticmachine
Copy link
Copy Markdown
Contributor

Pinging @elastic/kibana-operations

@spalger spalger requested a review from tylersmalley November 17, 2018 01:03
@elasticmachine
Copy link
Copy Markdown
Contributor

💔 Build Failed

@elasticmachine
Copy link
Copy Markdown
Contributor

💚 Build Succeeded

@jbudz jbudz mentioned this pull request Nov 19, 2018
@spalger
Copy link
Copy Markdown
Contributor Author

spalger commented Nov 19, 2018

retest

Copy link
Copy Markdown
Member

@tylersmalley tylersmalley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@elasticmachine
Copy link
Copy Markdown
Contributor

💚 Build Succeeded

@spalger spalger merged commit 992daf5 into elastic:master Nov 19, 2018
spalger pushed a commit to spalger/kibana that referenced this pull request Nov 19, 2018
* [kbn/pm/bootstrap] add support for --prefer-offline

* [ci] try to use offline cache of modules

* [yarn] set yarn-offline-mirror directory
spalger pushed a commit that referenced this pull request Nov 20, 2018
Backports the following commits to 6.x:
 - [kbn/pm] Implement --prefer-offline flag  (#25840)
@spalger
Copy link
Copy Markdown
Contributor Author

spalger commented Nov 20, 2018

6.x/6.6: 2bb70a9

@spalger spalger deleted the implement/prefer-offline branch November 20, 2018 02:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants