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

Use script to store bundle on S3 for faster Travis runs #173

Merged
merged 1 commit into from
Jun 14, 2014

Conversation

monfresh
Copy link
Member

@monfresh
Copy link
Member Author

Wow, builds now complete in about a minute and a half as opposed to between 4 and 10 minutes!

monfresh added a commit that referenced this pull request Jun 14, 2014
Use script to store bundle on S3 for faster Travis runs
@monfresh monfresh merged commit b348d1b into master Jun 14, 2014
@monfresh monfresh deleted the cache-gems-for-travis branch June 14, 2014 02:37
@migurski
Copy link
Contributor

Neat! I have a bucket called forever.codeforamerica.org, under the CfA account and intended for URLs that never die. Want to store this there?

@monfresh
Copy link
Member Author

That would be great, thanks! What's the best/most secure way to share the credentials with me? Text file on a temporary private repo?

@migurski
Copy link
Contributor

If you have a GPG public key I can encrypt and email. If you have an SSH public key I can send you a login to a pickup spot.

@migurski
Copy link
Contributor

Question, though: does it need to S3 or will any URL do?

@monfresh
Copy link
Member Author

Good point. The script writes to and reads from S3 by default, but I assume it should be fairly easy to send the file somewhere else. The benefit of S3 though, is that it has an eu-west region, which makes it fast for Travis to download the file, because Travis is in Berlin.

@migurski
Copy link
Contributor

Hm, the forever bucket wouldn't be in the EU region though. It’s definitely US. This is a one-time download per build right? Latency might not have a big impact.

@monfresh
Copy link
Member Author

Yep, one time per build. We could try it and compare.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants