[users at bb.net] Docker and image dependent steps

Greg Logan gregorydlogan at gmail.com
Mon Apr 23 17:35:48 UTC 2018


Hi all,

I have Buildbot successfully deployed as an all-Docker setup: The master
runs in docker, and starts up worker(s) as needed in remote Docker
instances.  Currently everything is running inside of Debian based images,
and part of our build steps is to build Debian packages, but we're looking
to add the creation of RPMs as well.  Does anyone have an idea how I could
restrict a given build to run *only* on an RPM based image?

Right now I'm thinking that I have to build a separate set of worker Docker
images based on CentOS, and then have those run on some workers, with the
Debian based images on others.  This would mean restricting the builder
config to the appropriate hosts.  Is there a simpler approach?  I would
love to be able to have all of my workers run the appropriate Docker image
based on the build queue.  Or, even better, run each build inside of its
own Docker container (ie, 1:1 mapping of build to container).

G
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.buildbot.net/pipermail/users/attachments/20180423/dba5d1e3/attachment.html>


More information about the users mailing list