ReleaseEngineering/PuppetAgain/Modules/bors

From MozillaWiki
Jump to: navigation, search

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.