| Index: bin/cbuildbot_config.py
|
| diff --git a/bin/cbuildbot_config.py b/bin/cbuildbot_config.py
|
| index c68c225c8bb24f20a210cf11a5f40fcb833eb95c..8217aac5af0b2dc3e2864730f51346d03b476432 100644
|
| --- a/bin/cbuildbot_config.py
|
| +++ b/bin/cbuildbot_config.py
|
| @@ -2,14 +2,25 @@
|
| # Use of this source code is governed by a BSD-style license that can be
|
| # found in the LICENSE file.
|
|
|
| -# Dictionary values that aren't self-explanatory:
|
| -# 'master' - only one allowed to be True. This bot controls the uprev process.
|
| -# 'important' - master bot uses important bots to determine overall status.
|
| -# i.e. if master bot succeeds and other important slaves succeed
|
| -# then the master will uprev packages. This should align
|
| -# with info vs. closer except for the master.
|
| -# 'hostname' - Needed for 'important' slaves. The hostname of the bot. Should
|
| -# match hostname in slaves.cfg in buildbot checkout.
|
| +"""Dictionary of configuration types for cbuildbot.
|
| +
|
| +Each dictionary entry is in turn a dictionary of config_param->value.
|
| +
|
| +config_param's:
|
| +board -- The board of the image to build.
|
| +uprev -- Uprevs the local ebuilds to build new changes since last stable.
|
| + build. If master then also pushes these changes on success.
|
| +master -- Only one allowed to be True. This bot controls the uprev process.
|
| +important -- Master bot uses important bots to determine overall status.
|
| + i.e. if master bot succeeds and other important slaves succeed
|
| + then the master will uprev packages. This should align
|
| + with info vs. closer except for the master.
|
| +hostname -- Needed for 'important' slaves. The hostname of the bot. Should
|
| + match hostname in slaves.cfg in buildbot checkout.
|
| +unittests -- Runs unittests for packages.
|
| +
|
| +"""
|
| +
|
|
|
| config = {}
|
| config['default'] = {
|
| @@ -17,10 +28,61 @@ config['default'] = {
|
| 'uprev' : False,
|
| 'master' : False,
|
| 'important' : False,
|
| + 'unittests' : False,
|
| }
|
| config['x86-generic-pre-flight-queue'] = {
|
| 'board' : 'x86-generic',
|
| 'uprev' : True,
|
| 'master' : True,
|
| 'important' : False,
|
| + 'hostname' : 'chromeosbuild2',
|
| + 'unittests' : True,
|
| +}
|
| +config['x86_pineview_bin'] = {
|
| + 'board' : 'x86-pineview',
|
| + 'uprev' : True,
|
| + 'master' : False,
|
| + 'important' : False,
|
| + 'hostname' : 'codf200',
|
| + 'unittests': True,
|
| +}
|
| +config['arm_tegra2_bin'] = {
|
| + 'board' : 'tegra2',
|
| + 'uprev' : True,
|
| + 'master' : False,
|
| + 'important' : False,
|
| + 'hostname' : 'codg172',
|
| + 'unittests' : False,
|
| +}
|
| +config['arm_voguev210_bin'] = {
|
| + 'board' : 'voguev210',
|
| + 'uprev' : True,
|
| + 'master' : False,
|
| + 'important' : False,
|
| + 'hostname' : 'codf196',
|
| + 'unittests' : False,
|
| +}
|
| +config['arm_beagleboard_bin'] = {
|
| + 'board' : 'beagleboard',
|
| + 'master' : False,
|
| + 'uprev' : True,
|
| + 'important' : False,
|
| + 'hostname' : 'codf202',
|
| + 'unittests' : False,
|
| +}
|
| +config['arm_st1q_bin'] = {
|
| + 'board' : 'st1q',
|
| + 'uprev' : True,
|
| + 'master' : False,
|
| + 'important' : False,
|
| + 'hostname' : 'codg158',
|
| + 'unittests' : False,
|
| +}
|
| +config['arm_generic_bin'] = {
|
| + 'board' : 'arm-generic',
|
| + 'uprev' : True,
|
| + 'master' : False,
|
| + 'important' : False,
|
| + 'hostname' : 'codg175',
|
| + 'unittests' : False,
|
| }
|
|
|