[OT?] removing plague jobs...

Michael Schwendt bugs.michael at gmx.net
Sat Feb 9 10:08:18 UTC 2008


On Fri, 08 Feb 2008 17:00:30 -0800, Fernando Lopez-Lezcano wrote:

> Would this be the right list for this question?
> 
> I have a mock/plague build system I'm just configuring and I wonder how
> can I get rid of old builds? (ie: erase all related files and clean up
> the database). Should be simple[*], I must be missing something obvious...
> 
> Thanks for any help...
> -- Fernando
> 
> [*] something like "plague-remove <jobid>"

It's not implemented.

I think any stuff surrounding "what to do with successful builds in
needsign?" is undefined and missing. There's "plague finish <jobid>", but
it only marks a job as "finished", which does not trigger anything 
else than that finished jobs are not displayed in the www ui.

Because a huge jobs database slows down Plague significantly (e.g.  remote
users see RPC timeouts for simple job status queries and would need to
work around that with more complex queries), I've run the attached script
periodically. Later, so none of the EPEL signers need to still run that,
I've merged the following code into the buildsys:
http://mschwendt.fedorapeople.org/plague-0.4.4.1-pushscript-extras.patch
It deletes failed or finished jobs after two weeks and also marks
anything, which is gone from plague-results directory, as finished.

Maybe it's something you can use, too.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: plague-clean.py
Type: application/octet-stream
Size: 1018 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-buildsys-list/attachments/20080209/ae943068/attachment.obj>


More information about the Fedora-buildsys-list mailing list