Giter Club home page Giter Club logo

anybox.buildbot.odoo's Introduction

anybox.buildbot.openerp

Introduction

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.

Documentation

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.

Quick master setup

These steps are for a first setup.

  1. Install this package in a virtualenv. This will install buildbot as well.

  2. Create a master in the standard way (see buildbot create-master --help).

  3. If you are creating a new buildbot master, the file master.cfg.sample included within this package should work out of the box. Just rename it master.cfg and put it in the master directory.

    If you are extending an existing buildbot master, add these lines in master.cfg right after the definition of BuildMasterConfig:

    from anybox.buildbot.openerp import configure_from_buildouts
    configure_from_buildouts(basedir, BuildmasterConfig)
    
  4. Copy the buildouts directory included in the source distribution in the master or make your own (check buildouts/MANIFEST.cfg for an example on how to do that). In previous step, one can actually provide explicit locations for buildouts directories.

  5. Put a slaves.cfg file in the master directory. See the included slaves.cfg.sample for instructions.

Then check the main package documentation for intructions about referencing your buildouts and the numerous options.

Credits

Author:

  • Georges Racinet (Anybox)

Contributors:

  • Stéphane Bidoul (Acsone)

Note

this project is currently in the process of being renamed to
anybox.buildbot.odoo.

Please use GitHub to report any bug or ask for a new feature.

anybox.buildbot.odoo's People

Contributors

gracinet avatar sbidoul avatar ccomb avatar lmignon avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.