-
Notifications
You must be signed in to change notification settings - Fork 19
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
Clean up Cocoapod cache after each build #344
Comments
Several ideas:
During cleanup all build request waits while operation is ended.
Can be problem when pod used in other build that currently running. Personally I'd like variant 1. Another suggestion. Make cocoapods repo update also as scheduled job that runs every hour (for example). And remove |
I agree. This is probably the best way.
Nice idea! |
Maybe as the future step: it would be nice if Cron job check size (bigger or not of some limit we set) and clean only if condition met |
The pod cache can grow quickly if the server gets a lot of build requests for a variety of extensions. Having a cronjob will not guarantee that we don't run out of disk. I propose that the CocoapodService.java will prune or wipe the cache after every build.
The text was updated successfully, but these errors were encountered: