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

Pierre Tardy tardyp at gmail.com
Mon Apr 17 18:10:08 UTC 2017


Hi Mojca,
the Nightly scheduler has a onlyIfChanged argument which is exactly meant
for that.
You need to setup properly a change source, and change filter, and then
trigger every now and then. the builder will only start if there are change
ongoing for it.

http://docs.buildbot.net/latest/manual/cfg-schedulers.html#nightly-scheduler


Le lun. 17 avr. 2017 à 19:48, Mojca Miklavec <mojca at macports.org> a écrit :

> 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
> _______________________________________________
> users mailing list
> users at buildbot.net
> https://lists.buildbot.net/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.buildbot.net/pipermail/users/attachments/20170417/6e4f4d6d/attachment.html>


More information about the users mailing list