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 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 """ | 28 """ |
29 | 29 |
30 | 30 |
31 config = {} | 31 config = {} |
32 config['default'] = { | 32 config['default'] = { |
33 'board' : 'x86-generic', | 33 'board' : 'x86-generic', |
34 'uprev' : False, | 34 'uprev' : False, |
35 'master' : False, | 35 'master' : False, |
36 'important' : False, | 36 'important' : False, |
37 'unittests' : False, | 37 'unittests' : False, |
38 'smoke_bvt' : False, | 38 'tests' : False, |
39 'rev_overlays': 'public', | 39 'rev_overlays': 'public', |
40 'push_overlays': None, | 40 'push_overlays': None, |
41 } | 41 } |
42 config['x86-generic-pre-flight-queue'] = { | 42 config['x86-generic-pre-flight-queue'] = { |
43 'board' : 'x86-generic', | 43 'board' : 'x86-generic', |
44 'uprev' : True, | 44 'uprev' : True, |
45 'master' : True, | 45 'master' : True, |
46 'important' : False, | 46 'important' : False, |
47 'hostname' : 'chromeosbuild2', | 47 'hostname' : 'chromeosbuild2', |
48 'unittests' : True, | 48 'unittests' : True, |
49 'smoke_bvt' : True, | 49 'tests' : True, |
50 'rev_overlays': 'public', | 50 'rev_overlays': 'public', |
51 'push_overlays': 'public', | 51 'push_overlays': 'public', |
52 } | 52 } |
53 config['x86-mario-pre-flight-queue'] = { | 53 config['x86-mario-pre-flight-queue'] = { |
54 'board' : 'x86-mario', | 54 'board' : 'x86-mario', |
55 'uprev' : True, | 55 'uprev' : True, |
56 'master' : True, | 56 'master' : True, |
57 'important' : False, | 57 'important' : False, |
58 'unittests' : True, | 58 'unittests' : True, |
59 'smoke_bvt' : True, | 59 'tests' : True, |
60 'rev_overlays': 'both', | 60 'rev_overlays': 'both', |
61 'push_overlays': 'private', | 61 'push_overlays': 'private', |
62 } | 62 } |
63 config['x86-mario-pre-flight-branch'] = { | 63 config['x86-mario-pre-flight-branch'] = { |
64 'board' : 'x86-mario', | 64 'board' : 'x86-mario', |
65 'uprev' : True, | 65 'uprev' : True, |
66 'master' : True, | 66 'master' : True, |
67 'important' : False, | 67 'important' : False, |
68 'unittests' : True, | 68 'unittests' : True, |
69 'smoke_bvt' : True, | 69 'tests' : True, |
70 'rev_overlays': 'both', | 70 'rev_overlays': 'both', |
71 'push_overlays': 'both', | 71 'push_overlays': 'both', |
72 } | 72 } |
73 config['x86_agz_bin'] = { | 73 config['x86_agz_bin'] = { |
74 'board' : 'x86-agz', | 74 'board' : 'x86-agz', |
75 'uprev' : True, | 75 'uprev' : True, |
76 'master' : False, | 76 'master' : False, |
77 'important' : False, | 77 'important' : False, |
78 'unittests' : True, | 78 'unittests' : True, |
79 'smoke_bvt' : True, | 79 'tests' : True, |
80 'rev_overlays': 'both', | 80 'rev_overlays': 'both', |
81 'push_overlays': None, | 81 'push_overlays': None, |
82 } | 82 } |
83 config['x86_dogfood_bin'] = { | 83 config['x86_dogfood_bin'] = { |
84 'board' : 'x86-dogfood', | 84 'board' : 'x86-dogfood', |
85 'uprev' : True, | 85 'uprev' : True, |
86 'master' : False, | 86 'master' : False, |
87 'important' : False, | 87 'important' : False, |
88 'unittests' : True, | 88 'unittests' : True, |
89 'smoke_bvt' : True, | 89 'tests' : True, |
90 'rev_overlays': 'both', | 90 'rev_overlays': 'both', |
91 'push_overlays': None, | 91 'push_overlays': None, |
92 } | 92 } |
93 config['x86_pineview_bin'] = { | 93 config['x86_pineview_bin'] = { |
94 'board' : 'x86-pineview', | 94 'board' : 'x86-pineview', |
95 'uprev' : True, | 95 'uprev' : True, |
96 'master' : False, | 96 'master' : False, |
97 'important' : False, | 97 'important' : False, |
98 'unittests': True, | 98 'unittests': True, |
99 'rev_overlays': 'public', | 99 'rev_overlays': 'public', |
(...skipping 10 matching lines...) Expand all Loading... |
110 } | 110 } |
111 config['arm_generic_bin'] = { | 111 config['arm_generic_bin'] = { |
112 'board' : 'arm-generic', | 112 'board' : 'arm-generic', |
113 'uprev' : True, | 113 'uprev' : True, |
114 'master' : False, | 114 'master' : False, |
115 'important' : False, | 115 'important' : False, |
116 'unittests' : False, | 116 'unittests' : False, |
117 'rev_overlays': 'public', | 117 'rev_overlays': 'public', |
118 'push_overlays': None, | 118 'push_overlays': None, |
119 } | 119 } |
OLD | NEW |