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'. |
24 each overlay per branch. | 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 |
| 26 not a master. There should only be one master bot pushing |
| 27 changes to each overlay per branch. |
25 """ | 28 """ |
26 | 29 |
27 | 30 |
28 config = {} | 31 config = {} |
29 config['default'] = { | 32 config['default'] = { |
30 'board' : 'x86-generic', | 33 'board' : 'x86-generic', |
31 'uprev' : False, | 34 'uprev' : False, |
32 'master' : False, | 35 'master' : False, |
33 'important' : False, | 36 'important' : False, |
34 'unittests' : False, | 37 'unittests' : False, |
35 'smoke_bvt' : False, | 38 'smoke_bvt' : False, |
36 'overlays': 'public', | 39 'rev_overlays': 'public', |
| 40 'push_overlays': None, |
37 } | 41 } |
38 config['x86-generic-pre-flight-queue'] = { | 42 config['x86-generic-pre-flight-queue'] = { |
39 'board' : 'x86-generic', | 43 'board' : 'x86-generic', |
40 'uprev' : True, | 44 'uprev' : True, |
41 'master' : True, | 45 'master' : True, |
42 'important' : False, | 46 'important' : False, |
43 'hostname' : 'chromeosbuild2', | 47 'hostname' : 'chromeosbuild2', |
44 'unittests' : True, | 48 'unittests' : True, |
45 'smoke_bvt' : True, | 49 'smoke_bvt' : True, |
46 'overlays': 'public', | 50 'rev_overlays': 'public', |
| 51 'push_overlays': 'public', |
47 } | 52 } |
48 config['x86-mario-pre-flight-queue'] = { | 53 config['x86-mario-pre-flight-queue'] = { |
49 'board' : 'x86-mario', | 54 'board' : 'x86-mario', |
50 'uprev' : True, | 55 'uprev' : True, |
51 'master' : True, | 56 'master' : True, |
52 'important' : False, | 57 'important' : False, |
53 'unittests' : True, | 58 'unittests' : True, |
54 'smoke_bvt' : True, | 59 'smoke_bvt' : True, |
55 'overlays': 'private', | 60 'rev_overlays': 'both', |
| 61 'push_overlays': 'private', |
56 } | 62 } |
57 config['x86-mario-pre-flight-branch'] = { | 63 config['x86-mario-pre-flight-branch'] = { |
58 'board' : 'x86-mario', | 64 'board' : 'x86-mario', |
59 'uprev' : True, | 65 'uprev' : True, |
60 'master' : True, | 66 'master' : True, |
61 'important' : False, | 67 'important' : False, |
62 'unittests' : True, | 68 'unittests' : True, |
63 'smoke_bvt' : True, | 69 'smoke_bvt' : True, |
64 'overlays': 'both', | 70 'rev_overlays': 'both', |
| 71 'push_overlays': 'both', |
65 } | 72 } |
66 config['x86_agz_bin'] = { | 73 config['x86_agz_bin'] = { |
67 'board' : 'x86-agz', | 74 'board' : 'x86-agz', |
68 'uprev' : True, | 75 'uprev' : True, |
69 'master' : False, | 76 'master' : False, |
70 'important' : False, | 77 'important' : False, |
71 'unittests' : True, | 78 'unittests' : True, |
72 'smoke_bvt' : True, | 79 'smoke_bvt' : True, |
73 'overlays': 'private', | 80 'rev_overlays': 'both', |
| 81 'push_overlays': None, |
74 } | 82 } |
75 config['x86_dogfood_bin'] = { | 83 config['x86_dogfood_bin'] = { |
76 'board' : 'x86-dogfood', | 84 'board' : 'x86-dogfood', |
77 'uprev' : True, | 85 'uprev' : True, |
78 'master' : False, | 86 'master' : False, |
79 'important' : False, | 87 'important' : False, |
80 'unittests' : True, | 88 'unittests' : True, |
81 'smoke_bvt' : True, | 89 'smoke_bvt' : True, |
82 'overlays': 'private', | 90 'rev_overlays': 'both', |
| 91 'push_overlays': None, |
83 } | 92 } |
84 config['x86_pineview_bin'] = { | 93 config['x86_pineview_bin'] = { |
85 'board' : 'x86-pineview', | 94 'board' : 'x86-pineview', |
86 'uprev' : True, | 95 'uprev' : True, |
87 'master' : False, | 96 'master' : False, |
88 'important' : False, | 97 'important' : False, |
89 'unittests': True, | 98 'unittests': True, |
90 'overlays': 'public', | 99 'rev_overlays': 'public', |
| 100 'push_overlays': None, |
91 } | 101 } |
92 config['arm_tegra2_bin'] = { | 102 config['arm_tegra2_bin'] = { |
93 'board' : 'tegra2', | 103 'board' : 'tegra2', |
94 'uprev' : True, | 104 'uprev' : True, |
95 'master' : False, | 105 'master' : False, |
96 'important' : False, | 106 'important' : False, |
97 'unittests' : False, | 107 'unittests' : False, |
98 'overlays': 'public', | 108 'rev_overlays': 'public', |
| 109 'push_overlays': None, |
99 } | 110 } |
100 config['arm_generic_bin'] = { | 111 config['arm_generic_bin'] = { |
101 'board' : 'arm-generic', | 112 'board' : 'arm-generic', |
102 'uprev' : True, | 113 'uprev' : True, |
103 'master' : False, | 114 'master' : False, |
104 'important' : False, | 115 'important' : False, |
105 'unittests' : False, | 116 'unittests' : False, |
106 'overlays': 'public', | 117 'rev_overlays': 'public', |
| 118 'push_overlays': None, |
107 } | 119 } |
OLD | NEW |