[users at bb.net] Limiting the number of builds per day

Mojca Miklavec mojca at macports.org
Mon Apr 17 17:48:38 UTC 2017


Hi,

I have prepared a buildbot setup (on version eight for now) for
binaries on some super slow machines which might take up to 4 hours to
complete (some of the slaves belong to other people and I also feel
bad consuming too much of their precious resources, in particular
because the results are not really needed by many people).

The builds serve two purposes:
- detecting problems in the code early (kind of continuous integration)
- providing daily snapshots with binaries

I would like to limit the number of builds to a maximum of one or two
builds per day, but I don't want to unconditionally schedule daily
builds; there are lots of days when there are no changes at all. And
in a way it sounds nice to start a build soon after a commit arrives,
just not 10 times per day.

I found "treeStableTimer" which is nice. I would set it to 15 minutes.
But I didn't find anything appropriate to limit the number of builds
per day. Manually triggering builds should of course happen
immediately rather than wait for 12 hours, but what's the best option
to limit the daily use of resources?

Thank you very much,
    Mojca


More information about the users mailing list