ReleaseEngineering/PuppetAgain/Modules/bors: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
(Created page with "The Bors module installs the Bors continuous integration software set-up to work on a specific github repository. It can be instantiated with a snippet such as: <pre> bors...")
 
No edit summary
 
Line 1: Line 1:
The Bors module installs the Bors continuous integration software set-up to work on a specific github repository. It can be instantiated with a snippet such as:
The Bors module installs the Bors continuous integration software set-up to work on a specific github repository.
= Usage =
It can be instantiated with a snippet such as:
<pre>
<pre>
     bors::instance {
     bors::instance {
Line 20: Line 22:


"test_ref", "master_ref", "n_builds" can also be passed, which will be put into the Bors configuration file.
"test_ref", "master_ref", "n_builds" can also be passed, which will be put into the Bors configuration file.
== Secrets ==
The toplevel class uses the following secrets to pass to bors::instance:
;bors_servo_gh_user
;bors_servo_gh_pass
:Github credentials Bors will use to monitor and modify pull requests.

Latest revision as of 17:15, 8 November 2013

The Bors module installs the Bors continuous integration software set-up to work on a specific github repository.

Usage

It can be instantiated with a snippet such as:

    bors::instance {
        "servo":
            basedir => "/builds/bors/servo",
            owner => "servobld",
            group => "servobld",
            repo_owner => "mozilla",
            repo => "servo",
            reviewers => ["bob","alice"],
            builders => ["linux","mac"],
            buildbot_url => "http://buildbot-master.fqdn.com:8010",
            bors_user => "bors-servo",
            bors_pass => "password",
            status_location => "/builds/buildbot/servo1/master/public_html/bors";
    }                     

"bors_version" can be passed to install a different version of Bors.

"test_ref", "master_ref", "n_builds" can also be passed, which will be put into the Bors configuration file.

Secrets

The toplevel class uses the following secrets to pass to bors::instance:

bors_servo_gh_user
bors_servo_gh_pass
Github credentials Bors will use to monitor and modify pull requests.