[darcs-devel] [issue997] automated building and uploading of packages

Zooko bugs at darcs.net
Thu Aug 14 14:53:30 UTC 2008


New submission from Zooko <zooko at zooko.com>:

It is possible to use buildbot to cause the building and uploading of packages,
triggered by pushes into the central repository.  The typical practice is to
write your "build and upload" script in the scripting language of your choice,
e.g. GNU make, bash, Python, or Haskell, and then have buildbot invoke your
"build and upload" script, after a patch has been pushed to the repository, and
after all unit tests passed.  You can of course also configure it to build and
upload packages even if all the unit tests on all the builders didn't pass.

Here is an example buildbot configuration, from the allmydata.org buildbot,
which triggers the build of debian packages on various buildslaves only if the
unit tests passed on all of the debian builders:

debian_platforms = ["etch", "edgy", "feisty", "gutsy", "hardy"]
s_full_debbable = Scheduler(name="full-debbable",
                                branch=None,
                                treeStableTimer=30,
                                builderNames=debian_platforms,
                                )
c['schedulers'].append(s_full_debbable)
debian_package_builders = ["deb-"+name
                               for name in debian_platforms]
s_debs = Dependent("debs", s_full_debbable, debian_package_builders)
c['schedulers'].append(s_debs)

----------
messages: 5505
nosy: beschmi, dagit, darcs-devel, simon, zooko
priority: feature
status: unread
title: automated building and uploading of packages

__________________________________
Darcs bug tracker <bugs at darcs.net>
<http://bugs.darcs.net/issue997>
__________________________________


More information about the darcs-devel mailing list