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 smoke_bvt -- Runs the test smoke suite in a qemu-based VM using KVM. | 21 smoke_bvt -- Runs the test smoke suite in a qemu-based VM using KVM. |
22 overlays -- Select what overlays to look at. This can be 'public', 'private' | 22 rev_overlays -- Select what overlays to look at for revving. This can be |
23 or 'both'. There should only be one master bot pushing changes to | 23 'public', 'private' or 'both'. There should only be one master bot |
David James
2010/12/02 02:06:59
Indentation looks off here. Same below.
The comme
sosa
2010/12/02 21:47:49
Done.
| |
24 each overlay per branch. | 24 pushing changes to each overlay per branch. |
25 push_overlays -- Select what overlays to push at. This should be a subset of | |
26 rev_overlays for the particular builder. Can be None. | |
25 """ | 27 """ |
26 | 28 |
27 | 29 |
28 config = {} | 30 config = {} |
29 config['default'] = { | 31 config['default'] = { |
30 'board' : 'x86-generic', | 32 'board' : 'x86-generic', |
31 'uprev' : False, | 33 'uprev' : False, |
32 'master' : False, | 34 'master' : False, |
33 'important' : False, | 35 'important' : False, |
34 'unittests' : False, | 36 'unittests' : False, |
35 'smoke_bvt' : False, | 37 'smoke_bvt' : False, |
36 'overlays': 'public', | 38 'rev_overlays': 'public', |
39 'push_overlays': None, | |
37 } | 40 } |
38 config['x86-generic-pre-flight-queue'] = { | 41 config['x86-generic-pre-flight-queue'] = { |
39 'board' : 'x86-generic', | 42 'board' : 'x86-generic', |
40 'uprev' : True, | 43 'uprev' : True, |
41 'master' : True, | 44 'master' : True, |
42 'important' : False, | 45 'important' : False, |
43 'hostname' : 'chromeosbuild2', | 46 'hostname' : 'chromeosbuild2', |
44 'unittests' : True, | 47 'unittests' : True, |
45 'smoke_bvt' : True, | 48 'smoke_bvt' : True, |
46 'overlays': 'public', | 49 'rev_overlays': 'public', |
50 'push_overlays': 'public', | |
47 } | 51 } |
48 config['x86-mario-pre-flight-queue'] = { | 52 config['x86-mario-pre-flight-queue'] = { |
49 'board' : 'x86-mario', | 53 'board' : 'x86-mario', |
50 'uprev' : True, | 54 'uprev' : True, |
51 'master' : True, | 55 'master' : True, |
52 'important' : False, | 56 'important' : False, |
53 'unittests' : True, | 57 'unittests' : True, |
54 'smoke_bvt' : True, | 58 'smoke_bvt' : True, |
55 'overlays': 'private', | 59 'rev_overlays': 'both', |
60 'push_overlays': 'private', | |
56 } | 61 } |
57 config['x86-mario-pre-flight-branch'] = { | 62 config['x86-mario-pre-flight-branch'] = { |
58 'board' : 'x86-mario', | 63 'board' : 'x86-mario', |
59 'uprev' : True, | 64 'uprev' : True, |
60 'master' : True, | 65 'master' : True, |
61 'important' : False, | 66 'important' : False, |
62 'unittests' : True, | 67 'unittests' : True, |
63 'smoke_bvt' : True, | 68 'smoke_bvt' : True, |
64 'overlays': 'both', | 69 'rev_overlays': 'both', |
70 'push_overlays': 'both', | |
65 } | 71 } |
66 config['x86_agz_bin'] = { | 72 config['x86_agz_bin'] = { |
67 'board' : 'x86-agz', | 73 'board' : 'x86-agz', |
68 'uprev' : True, | 74 'uprev' : True, |
69 'master' : False, | 75 'master' : False, |
70 'important' : False, | 76 'important' : False, |
71 'unittests' : True, | 77 'unittests' : True, |
72 'smoke_bvt' : True, | 78 'smoke_bvt' : True, |
73 'overlays': 'private', | 79 'rev_overlays': 'both', |
80 'push_overlays': None, | |
74 } | 81 } |
75 config['x86_dogfood_bin'] = { | 82 config['x86_dogfood_bin'] = { |
76 'board' : 'x86-dogfood', | 83 'board' : 'x86-dogfood', |
77 'uprev' : True, | 84 'uprev' : True, |
78 'master' : False, | 85 'master' : False, |
79 'important' : False, | 86 'important' : False, |
80 'unittests' : True, | 87 'unittests' : True, |
81 'smoke_bvt' : True, | 88 'smoke_bvt' : True, |
82 'overlays': 'private', | 89 'rev_overlays': 'both', |
90 'push_overlays': None, | |
83 } | 91 } |
84 config['x86_pineview_bin'] = { | 92 config['x86_pineview_bin'] = { |
85 'board' : 'x86-pineview', | 93 'board' : 'x86-pineview', |
86 'uprev' : True, | 94 'uprev' : True, |
87 'master' : False, | 95 'master' : False, |
88 'important' : False, | 96 'important' : False, |
89 'unittests': True, | 97 'unittests': True, |
90 'overlays': 'public', | 98 'rev_overlays': 'public', |
99 'push_overlays': None, | |
91 } | 100 } |
92 config['arm_tegra2_bin'] = { | 101 config['arm_tegra2_bin'] = { |
93 'board' : 'tegra2', | 102 'board' : 'tegra2', |
94 'uprev' : True, | 103 'uprev' : True, |
95 'master' : False, | 104 'master' : False, |
96 'important' : False, | 105 'important' : False, |
97 'unittests' : False, | 106 'unittests' : False, |
98 'overlays': 'public', | 107 'rev_overlays': 'public', |
108 'push_overlays': None, | |
99 } | 109 } |
100 config['arm_generic_bin'] = { | 110 config['arm_generic_bin'] = { |
101 'board' : 'arm-generic', | 111 'board' : 'arm-generic', |
102 'uprev' : True, | 112 'uprev' : True, |
103 'master' : False, | 113 'master' : False, |
104 'important' : False, | 114 'important' : False, |
105 'unittests' : False, | 115 'unittests' : False, |
106 'overlays': 'public', | 116 'rev_overlays': 'public', |
117 'push_overlays': None, | |
107 } | 118 } |
OLD | NEW |