-
Notifications
You must be signed in to change notification settings - Fork 710
Make more efficient use of space in cabal-binaries #4462
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
Comments
I received an update that even with nightly old branch pruning, cabal-binaries was taking up too much space. I want to write down some of the updates in developments here. Findings of fact.
The current plan.
|
See haskell#4462 for the gory details. Main things about this commit: - New 'monolithic' flag on cabal-install, which combines all of the tests into a single binary. It's not very much code, and you don't pay for any of it on a release build. I quite like it. The one downside is that we can't also pull in Cabal test suites this way. - Env vars got moved into travis-common.sh - travis-script.sh now runs the cabal-tests tests, because we aren't sending enough build product over to do them on the second Travis run Signed-off-by: Edward Z. Yang <[email protected]>
Yep. |
Uh oh!
There was an error while loading. Please reload this page.
Today, I got a message from GitHub saying that cabal-binaries had gotten too big. (For reference, we inaugurated this repo on February 2, so that's about two months of binaries.) To fix the immediate problem, I ran this script to delete every branch besides master from cabal-binaries:
In the future, it would be wise to have cabal-binaries clean up after itself. Probably a good way to do this is to have travis-test.sh DELETE its own branch when it finishes successfully. Failed branches will eventually creep us back up to the limit but then we can just delete everything again.
The text was updated successfully, but these errors were encountered: