Search 1.9 billion lines of Odoo code on GitHub

runbot_buildout

Author: Therp BV,Odoo Community Association (OCA)
License: AGPL-3
Branch: 11.0
Repository: brain-tec/runbot-addons
Dependencies: runbot, and website
Languages: JavaScript (13, 1.7%), Python (639, 85.0%), XML (54, 7.2%), and reStructuredText (46, 6.1%)
Other repositories: Change2improve/runbot-addons, Guobower/runbot-addons, NL66278/runbot-addons, NeatNerdPrime/runbot-addons, OCA/runbot-addons, Vauxoo/runbot-addons, ap-wtioit/runbot-addons, bigbear3001/runbot-addons, gaanto/runbot-addons, grap/runbot-addons, gurneyalex/runbot-addons, hbrunn/runbot-addons, hiren-serpentcs/runbot-addons, jacky82669513/runbot-addons, lideritjnma/runbot-addons, phulm-teko/runbot-addons, pscloud/runbot-addons, ubquant/runbot-addons, and vdedyukhin/runbot-addons

<a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.svg"> </a> <a name="buildout-for-runbot"></a> <h2>Buildout for runbot</h2> <p>This module was written to make it convenient to use <a class="reference external" href="http://pythonhosted.org/anybox.recipe.odoo">buildout based builds</a> on runbot.</p> <a name="configuration"></a> <h3>Configuration</h3> <p>To configure this module, you need to:</p> <ol class="arabic simple"> <li>turn on <cite>Use buildouts</cite> on a repository</li> <li>fill in a regex that allows to differentiate a normal branch name: For runbot, branches should be named <code>$version-$sometext</code> anyways, so this module's suggestion is to call buildout branches <code>buildout-$version-$sometext</code></li> <li>check the value of the field <cite>Buildout section</cite>, this must be the name you use in your buildouts</li> <li>if you use multiple buildouts for the same version to implement some kind of DTAP scenario (you should), you can mark some buildout branch as the one to be used for tests by navigating to the repository and selecting a default buildout branch. In case you deal with multiple versions, set the default to a buildout from your current version, and set the buildout branch for branches of the new version manually</li> <li>when converting a repository to use buildouts, be sure to remove all dependency branches first. Otherwise, runbot will copy all of them unnecessarily. Then, rebuild some buildout branch, and when it is green, rebuild another branch that is supposed to use the buildout</li> </ol> <a name="background"></a> <h3>Background</h3> <p>This module will cause buildout branches to be treated radically differently: For buildout branches, the buildout will be run, and any failures reported in the build results. For normal branches, it will search for a buildout branch with a matching version, copy this buildout to a temporary directory, manipulate buildout.cfg to use the branch to be tested and the ports assigned for this instance, then rerun the buildout, then run tests within the buildout environment.</p> <p>For this to work, your buildout.cfg needs to contain one addons line:</p> <pre> <code>git $the_exact_repo_url_as_configured_in_runbot parts/$repo_name $version</code> </pre> <p>or if you use pinned branches:</p> <pre> <code>git $the_exact_repo_url_as_configured_in_runbot parts/$repo_name $commit_hash branch=$version</code> </pre> <p>Which then will be replaced by:</p> <pre> <code>git $the_exact_repo_url_as_configured_in_runbot parts/$repo_name $commit_hash branch=$current_branchname</code> </pre> <a name="known-issues-roadmap"></a> <h3>Known issues / Roadmap</h3> <ul class="simple"> <li>none currently</li> </ul> <a name="bug-tracker"></a> <h3>Bug Tracker</h3> <p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/runbot-addons/issues">GitHub Issues</a>. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smashing it by providing a detailed and welcomed feedback.</p> <a name="credits"></a> <h3>Credits</h3> <a name="images"></a> <h4>Images</h4> <ul class="simple"> <li>Odoo Community Association: <a class="reference external" href="https://github.com/OCA/maintainer-tools/blob/master/template/module/static/description/icon.svg">Icon</a>.</li> </ul> <a name="contributors"></a> <h4>Contributors</h4> <ul class="simple"> <li>Holger Brunn &lt;<a class="reference external" href="mailto:hbrunn&#64;therp.nl">hbrunn&#64;therp.nl</a>&gt;</li> </ul> <p>Do not contact contributors directly about help with questions or problems concerning this addon, but use the <a class="reference external" href="mailto:community&#64;mail.odoo.com">community mailing list</a> or the <a class="reference external" href="https://odoo-community.org/groups">appropriate specialized mailinglist</a> for help, and the bug tracker linked in <a class="reference internal" href="#bug-tracker">Bug Tracker</a> above for technical issues.</p> <a name="maintainer"></a> <h4>Maintainer</h4> <a class="reference external image-reference" href="https://odoo-community.org"><img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" /></a> <p>This module is maintained by the OCA.</p> <p>OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.</p> <p>To contribute to this module, please visit <a class="reference external" href="https://odoo-community.org">https://odoo-community.org</a>.</p>