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

Mojca Miklavec mojca at macports.org
Tue Apr 18 01:10:12 UTC 2017


Dear Pierre,

On 17 April 2017 at 20:10, Pierre Tardy wrote:
>
> the Nightly scheduler has a onlyIfChanged argument which is exactly meant
> for that.
>
> http://docs.buildbot.net/latest/manual/cfg-schedulers.html#nightly-scheduler

Thank you very much.

While it would be slightly better to build after the first commit
arrives (most of the time that would likely be the only commit that
day), the nightly scheduler with onlyIfChanged should do its job.

Thank you,
    Mojca


> Le lun. 17 avr. 2017 à 19:48, Mojca Miklavec 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


More information about the users mailing list