canmove, Confirmed users
1,394
edits
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
This module installs and sets up the buildmaster software. Multiple buildmasters can be installed on the same node. This module supports two different styles of masters, "Mozilla", and "Simple". More detailed descriptions of both are below. | This module installs and sets up the buildmaster software. Multiple buildmasters can be installed on the same node. This module supports two different styles of masters, "Mozilla", and "Simple". More detailed descriptions of both are below. | ||
== Secrets == | |||
These secrets are common to the different types of masters: | |||
;buildbot_schedulerdb_username | |||
;buildbot_schedulerdb_password | |||
;buildbot_schedulerdb_hostname | |||
;buildbot_schedulerdb_database | |||
:credentials for the Buildbot database | |||
= "Mozilla" buildmasters = | = "Mozilla" buildmasters = | ||
Mozilla buildmasters are special because they are set-up using external scripts to do some of the the work. To set up a node as Mozilla buildmaster node, use the following snippet in the nodes definition. | Mozilla buildmasters are special because they are set-up using external scripts to do some of the the work. To set up a node as Mozilla buildmaster node, use the following snippet in the nodes definition. | ||
(configuration should not be in nodes.pp there is already | (configuration should not be in nodes.pp there is already {{bug|848824}} for this.) | ||
node "relabs07.build.mtv1.mozilla.com" { | node "relabs07.build.mtv1.mozilla.com" { | ||
| Line 31: | Line 41: | ||
== Secrets == | == Secrets == | ||
This module fills in | This module fills in BuildSlaves.py, postrun.cfg, and passwords.py with a bunch of secrets used to communicate with other services: | ||
;blobber_password | ;blobber_password | ||
| Line 45: | Line 55: | ||
;mac_tests_password | ;mac_tests_password | ||
;win_tests_password | ;win_tests_password | ||
: | ;prod_build_password | ||
;try_build_password | |||
:Buildbot slave passwords, per slave type | |||
;balrog_password | ;balrog_password | ||
;balrog_username | ;balrog_username | ||
| Line 52: | Line 64: | ||
;tuxedo_username | ;tuxedo_username | ||
:tuxedo credentials | :tuxedo credentials | ||
;pulse_exchange | |||
;pulse_username | |||
;pulse_password | |||
:AMQP credentials for access to http://pulse.mozilla.org | |||
;buildbot_statusdb_username | |||
;buildbot_statusdb_password | |||
;buildbot_statusdb_hostname | |||
;buildbot_statusdb_database | |||
:credentials for the status database | |||
;signing_server_dep_password | |||
;signing_server_nightly_password | |||
;signing_server_release_password | |||
;signing_server_username | |||
:signing server credentials, per build type | |||
= | = servo buildmasters = | ||
Servo buildmasters are fully setup by Puppet. Instantiation usually should happen in a [[ReleaseEngineering/PuppetAgain/Modules/toplevel | toplevel class]] using a snippet like: | |||
<pre> | <pre> | ||
buildmaster::buildbot_master:: | buildmaster::buildbot_master::servo { | ||
"servo1": | "servo1": | ||
basedir => "/builds/buildbot/servo1", | basedir => "/builds/buildbot/servo1", | ||
| Line 65: | Line 91: | ||
"buildbot_version" can also be passed to install an alternative version of Buildbot. | "buildbot_version" can also be passed to install an alternative version of Buildbot. | ||
== Secrets == | |||
This uses the following secrets: | |||
;servo_slave_password | |||
:Buildbot slave password | |||