Note
this project is currently in the process of being renamed to anybox.buildbot.odoo.
anybox.buildbot.openerp aims to be a turnkey buildbot master setup for a bunch of buildout-based Odoo/OpenERP installations (see anybox.recipe.odoo and anybox.recipe.openerp).
Its main features are:
- execution of the buildout and scheduling according to the VCS sources it holds
- installation of Odoo modules and various way to run the tests
- capability-based dispatching to buildslaves and in particular PostgreSQL version filtering and/or building against several PostgreSQL versions
- build of project documentation (with Sphinx)
- creation and upload of extracted releases in tarball format
Having a new OpenERP generic or custom installation buildbotted against all the slaves attached to the master is just a matter of copying the corresponding buildout in the buildouts subdirectory of the master and referencing it in buildouts/MANIFEST.cfg. It is also possible to reference a remote buildout definition from a version control system (VCS) in the manifest file.
It is designed not to be too intrusive to buildbot itself, so that buildbot users can tweak their configuration in the normal buildbot way, and even add more builds, possibly not even related to OpenERP.
The real-time scheduling works by polling the remote VCS systems (currently for Bazaar, Git and Mercurial). There is a basic URL rewritting capability to ease make this polling efficient.
The full documentation is written with Sphinx, built continuously and uploaded to http://docs.anybox.fr/anybox.buildbot.openerp by Anybox' public buildbot. The Sphinx source tree is to be found under the doc subdirectory of this project.
The latest released version of the documentation will be uploaded to PyPI alongside with the package. See PyPIDocumentationHosting for details.
These steps are for a first setup.
- Install this package in a virtualenv. This will install buildbot as well.
- Create a master in the standard way (see
buildbot create-master --help). If you are creating a new buildbot master, the file
master.cfg.sampleincluded within this package should work out of the box. Just rename itmaster.cfgand put it in the master directory.If you are extending an existing buildbot master, add these lines in
master.cfgright after the definition ofBuildMasterConfig:from anybox.buildbot.openerp import configure_from_buildouts configure_from_buildouts(basedir, BuildmasterConfig)- Copy the
buildoutsdirectory included in the source distribution in the master or make your own (checkbuildouts/MANIFEST.cfgfor an example on how to do that). In previous step, one can actually provide explicit locations for buildouts directories. - Put a
slaves.cfgfile in the master directory. See the includedslaves.cfg.samplefor instructions.
Then check the main package documentation for intructions about referencing your buildouts and the numerous options.
Author:
- Georges Racinet (Anybox)
Contributors:
- Stéphane Bidoul (Acsone)
Note
this project is currently in the process of being renamed to anybox.buildbot.odoo.
- Code repository and bug tracker: https://github.com/anybox.buildbot.odoo
- PyPI page: http://pypi.python.org/pypi/anybox.buildbot.openerp
Please use GitHub to report any bug or ask for a new feature.