Closed Dantemss closed 8 years ago
We get about 7-10MB/sec download from github to our bastion server, so it'd add like 10-15 seconds max to the pull and probably reduce the deployment by 30-60 seconds. I consider that a win
An alternative would be to gitignore this and have the deployment script run bundle package --all
. This would most likely not cause a repo size increase.
:+1: for bundle package --all
option (as someone w/o fiber hookup to my laptop :smile: )
Actually @philschatz looks like making the script run bundle package --all
locally is not really an option because it would require devops to install bundler and everything... so maybe we'll just have to commit the gems to the repos...
Is there no way for bundler to only download the new gems?
Setting the bundler --path
to some constant folder in the deployment script would do that.
This should make deployment faster and use less memory (so we can actually deploy exchange-dev).
The downside is that it adds 74MB to the repo size.
What do you think?