OLD | NEW |
1 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved. | 1 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 # Dictionary values that aren't self-explanatory: | 5 """Dictionary of configuration types for cbuildbot. |
6 # 'master' - only one allowed to be True. This bot controls the uprev process. | 6 |
7 # 'important' - master bot uses important bots to determine overall status. | 7 Each dictionary entry is in turn a dictionary of config_param->value. |
8 # i.e. if master bot succeeds and other important slaves succeed | 8 |
9 # then the master will uprev packages. This should align | 9 config_param's: |
10 # with info vs. closer except for the master. | 10 board -- The board of the image to build. |
11 # 'hostname' - Needed for 'important' slaves. The hostname of the bot. Should | 11 uprev -- Uprevs the local ebuilds to build new changes since last stable. |
12 # match hostname in slaves.cfg in buildbot checkout. | 12 build. If master then also pushes these changes on success. |
| 13 master -- Only one allowed to be True. This bot controls the uprev process. |
| 14 important -- Master bot uses important bots to determine overall status. |
| 15 i.e. if master bot succeeds and other important slaves succeed |
| 16 then the master will uprev packages. This should align |
| 17 with info vs. closer except for the master. |
| 18 hostname -- Needed for 'important' slaves. The hostname of the bot. Should |
| 19 match hostname in slaves.cfg in buildbot checkout. |
| 20 unittests -- Runs unittests for packages. |
| 21 |
| 22 """ |
| 23 |
13 | 24 |
14 config = {} | 25 config = {} |
15 config['default'] = { | 26 config['default'] = { |
16 'board' : 'x86-generic', | 27 'board' : 'x86-generic', |
17 'uprev' : False, | 28 'uprev' : False, |
18 'master' : False, | 29 'master' : False, |
19 'important' : False, | 30 'important' : False, |
| 31 'unittests' : False, |
20 } | 32 } |
21 config['x86-generic-pre-flight-queue'] = { | 33 config['x86-generic-pre-flight-queue'] = { |
22 'board' : 'x86-generic', | 34 'board' : 'x86-generic', |
23 'uprev' : True, | 35 'uprev' : True, |
24 'master' : True, | 36 'master' : True, |
25 'important' : False, | 37 'important' : False, |
| 38 'hostname' : 'chromeosbuild2', |
| 39 'unittests' : True, |
26 } | 40 } |
| 41 config['x86_pineview_bin'] = { |
| 42 'board' : 'x86-pineview', |
| 43 'uprev' : True, |
| 44 'master' : False, |
| 45 'important' : False, |
| 46 'hostname' : 'codf200', |
| 47 'unittests': True, |
| 48 } |
| 49 config['arm_tegra2_bin'] = { |
| 50 'board' : 'tegra2', |
| 51 'uprev' : True, |
| 52 'master' : False, |
| 53 'important' : False, |
| 54 'hostname' : 'codg172', |
| 55 'unittests' : False, |
| 56 } |
| 57 config['arm_voguev210_bin'] = { |
| 58 'board' : 'voguev210', |
| 59 'uprev' : True, |
| 60 'master' : False, |
| 61 'important' : False, |
| 62 'hostname' : 'codf196', |
| 63 'unittests' : False, |
| 64 } |
| 65 config['arm_beagleboard_bin'] = { |
| 66 'board' : 'beagleboard', |
| 67 'master' : False, |
| 68 'uprev' : True, |
| 69 'important' : False, |
| 70 'hostname' : 'codf202', |
| 71 'unittests' : False, |
| 72 } |
| 73 config['arm_st1q_bin'] = { |
| 74 'board' : 'st1q', |
| 75 'uprev' : True, |
| 76 'master' : False, |
| 77 'important' : False, |
| 78 'hostname' : 'codg158', |
| 79 'unittests' : False, |
| 80 } |
| 81 config['arm_generic_bin'] = { |
| 82 'board' : 'arm-generic', |
| 83 'uprev' : True, |
| 84 'master' : False, |
| 85 'important' : False, |
| 86 'hostname' : 'codg175', |
| 87 'unittests' : False, |
| 88 } |
OLD | NEW |