[Buildbot-devel] single builder run with multiple trigger requests

Boris Savelev boris.savelev at gmail.com
Tue Jun 21 07:27:54 UTC 2011


Hello all!

What I have:
Builders splits by project, arch, os. So I have builders:
project1_linux_x86
project1_linux_amd64
project1_freebsd_x86
project1_freebsd_amd64
project2_linux_x86
project2_linux_amd64
project2_freebsd_x86
project2_freebsd_amd64
etc...

What I need:
Idea is that all builders of project1 should use the same source code.
Builders on slave should not use git. They should work with prepared
tarball. Name of tarball should consist of project name and some
property of builder -- 'uniqnumber', for example.

What I do:
I create builder project1_source that generate tarball from git.
I create blocker step for project1_linux_x86 that depends on git step
of project1_source builder.
I write buildsMatch for blocker step, that check all builds of builder
project1_source and compare 'uniqnumber' from project1_linux_x86
build.
All is fine, but I don't know how to run builder project1_source if no
any match builds of project1_source found.

The question is:
I have builder object and property dict. How I can force builder with
properties from blocker step.

PS:
If my architecture is bad, feel free to write me about that-)
Also I think about triggers. Maybe someone can explain me how I can
use triggers.

-- 
Boris




More information about the devel mailing list