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 of configuration types for cbuildbot. | 5 """Dictionary of configuration types for cbuildbot. |
6 | 6 |
7 Each dictionary entry is in turn a dictionary of config_param->value. | 7 Each dictionary entry is in turn a dictionary of config_param->value. |
8 | 8 |
9 config_param's: | 9 config_param's: |
10 board -- The board of the image to build. | 10 board -- The board of the image to build. |
11 uprev -- Uprevs the local ebuilds to build new changes since last stable. | 11 uprev -- Uprevs the local ebuilds to build new changes since last stable. |
12 build. If master then also pushes these changes on success. | 12 build. If master then also pushes these changes on success. |
13 master -- This bot pushes changes to the overlays. | 13 master -- This bot pushes changes to the overlays. |
14 important -- Master bot uses important bots to determine overall status. | 14 important -- Master bot uses important bots to determine overall status. |
15 i.e. if master bot succeeds and other important slaves succeed | 15 i.e. if master bot succeeds and other important slaves succeed |
16 then the master will uprev packages. This should align | 16 then the master will uprev packages. This should align |
17 with info vs. closer except for the master. | 17 with info vs. closer except for the master. |
18 hostname -- Needed for 'important' slaves. The hostname of the bot. Should | 18 hostname -- Needed for 'important' slaves. The hostname of the bot. Should |
19 match hostname in slaves.cfg in buildbot checkout. | 19 match hostname in slaves.cfg in buildbot checkout. |
20 unittests -- Runs unittests for packages. | 20 unittests -- Runs unittests for packages. |
21 tests -- Runs the smoke suite and au test harness in a qemu-based VM using KVM. | 21 tests -- Runs the smoke suite and au test harness in a qemu-based VM using KVM. |
22 rev_overlays -- Select what overlays to look at for revving. This can be | 22 rev_overlays -- Select what overlays to look at for revving. This can be |
23 'public', 'private' or 'both'. | 23 'public', 'private' or 'both'. |
24 push_overlays -- Select what overlays to push at. This should be a subset of | 24 push_overlays -- Select what overlays to push at. This should be a subset of |
25 rev_overlays for the particular builder. Must be None if | 25 rev_overlays for the particular builder. Must be None if |
26 not a master. There should only be one master bot pushing | 26 not a master. There should only be one master bot pushing |
27 changes to each overlay per branch. | 27 changes to each overlay per branch. |
28 test_mod -- Create a test mod image. (default True) | |
29 factory_install_mod -- Create a factory install image. (default True) | |
30 factory_test_mod -- Create a factory test image. (default True) | |
28 """ | 31 """ |
29 | 32 |
30 | 33 |
31 config = {} | 34 config = {} |
32 config['default'] = { | 35 config['default'] = { |
33 'board' : 'x86-generic', | 36 'board' : 'x86-generic', |
34 'uprev' : False, | 37 'uprev' : False, |
35 'master' : False, | 38 'master' : False, |
36 'important' : False, | 39 'important' : False, |
37 'unittests' : False, | 40 'unittests' : False, |
38 'tests' : False, | 41 'tests' : False, |
39 'rev_overlays': 'public', | 42 'rev_overlays': 'public', |
40 'push_overlays': None, | 43 'push_overlays': None, |
sosa
2011/01/25 22:54:48
Set the new values to false in the default?
| |
41 } | 44 } |
42 config['x86-generic-pre-flight-queue'] = { | 45 config['x86-generic-pre-flight-queue'] = { |
43 'board' : 'x86-generic', | 46 'board' : 'x86-generic', |
44 'uprev' : True, | 47 'uprev' : True, |
45 'master' : True, | 48 'master' : True, |
46 'important' : False, | 49 'important' : False, |
47 'hostname' : 'chromeosbuild2', | 50 'hostname' : 'chromeosbuild2', |
48 'unittests' : True, | 51 'unittests' : True, |
49 'tests' : True, | 52 'tests' : True, |
50 'rev_overlays': 'public', | 53 'rev_overlays': 'public', |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
100 'push_overlays': None, | 103 'push_overlays': None, |
101 } | 104 } |
102 config['arm_tegra2_bin'] = { | 105 config['arm_tegra2_bin'] = { |
103 'board' : 'tegra2_dev-board', | 106 'board' : 'tegra2_dev-board', |
104 'uprev' : True, | 107 'uprev' : True, |
105 'master' : False, | 108 'master' : False, |
106 'important' : False, | 109 'important' : False, |
107 'unittests' : False, | 110 'unittests' : False, |
108 'rev_overlays': 'public', | 111 'rev_overlays': 'public', |
109 'push_overlays': None, | 112 'push_overlays': None, |
113 'factory_install_mod' : False, | |
114 'factory_test_mod' : False, | |
110 } | 115 } |
111 config['arm_generic_bin'] = { | 116 config['arm_generic_bin'] = { |
112 'board' : 'arm-generic', | 117 'board' : 'arm-generic', |
113 'uprev' : True, | 118 'uprev' : True, |
114 'master' : False, | 119 'master' : False, |
115 'important' : False, | 120 'important' : False, |
116 'unittests' : False, | 121 'unittests' : False, |
117 'rev_overlays': 'public', | 122 'rev_overlays': 'public', |
118 'push_overlays': None, | 123 'push_overlays': None, |
124 'factory_install_mod' : False, | |
125 'factory_test_mod' : False, | |
119 } | 126 } |
sosa
2011/01/25 22:54:48
Can you add the full configs?
| |
OLD | NEW |