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

Set up log removal on buildbot master #217

Closed
larsbergstrom opened this issue Feb 5, 2016 · 1 comment
Closed

Set up log removal on buildbot master #217

larsbergstrom opened this issue Feb 5, 2016 · 1 comment

Comments

@larsbergstrom
Copy link
Contributor

@larsbergstrom larsbergstrom commented Feb 5, 2016

The buildbot manual (http://docs.buildbot.net/0.8.1/full.html) recommends rules like:

     @weekly cd BASEDIR && find . -mindepth 2 i-path './public_html/*' -prune -o -type f -mtime +14 -exec rm {} \;
     @weekly cd BASEDIR && find twistd.log* -mtime +14 -exec rm {} \;

I couldn't quite make this work (the i-path thing to exclude public_html kept giving me errors). I also think we should do 5 days instead of 2 weeks, as we don't have that much disk space :-)

We ran out of disk again today, though luckily it was during normal working hours, so nobody had to do a late-night recovery.

CC @edunham

@larsbergstrom
Copy link
Contributor Author

@larsbergstrom larsbergstrom commented Feb 5, 2016

owait, there's already a PR; will comment there...

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

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.