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. |
(...skipping 28 matching lines...) Expand all Loading... |
39 usepkg -- Use binary packages to bootstrap, when possible. (emerge --usepkg) | 39 usepkg -- Use binary packages to bootstrap, when possible. (emerge --usepkg) |
40 chroot_replace -- wipe and replace chroot, but not source. | 40 chroot_replace -- wipe and replace chroot, but not source. |
41 | 41 |
42 gs_path -- Google Storage path to offload files to | 42 gs_path -- Google Storage path to offload files to |
43 build_type -- Upload prebuilts under the specified category. Can be any of | 43 build_type -- Upload prebuilts under the specified category. Can be any of |
44 [preflight|full|chrome]. | 44 [preflight|full|chrome]. |
45 test_mod -- Create a test mod image for archival. | 45 test_mod -- Create a test mod image for archival. |
46 factory_install_mod -- Create a factory install image for archival. | 46 factory_install_mod -- Create a factory install image for archival. |
47 factory_test_mod -- Create a factory test image for archival. | 47 factory_test_mod -- Create a factory test image for archival. |
48 | 48 |
| 49 useflags -- Generic build modifying USE flags, passed as an array, or missing. |
| 50 |
49 git_url -- git repository URL for our manifests. | 51 git_url -- git repository URL for our manifests. |
50 External: http://git.chromium.org/git/manifest | 52 External: http://git.chromium.org/git/manifest |
51 Internal: ssh://git@gitrw.chromium.org:9222/manifest-internal | 53 Internal: ssh://git@gitrw.chromium.org:9222/manifest-internal |
52 | 54 |
53 manifest_version -- URL to git repo to store per-build manifest. | 55 manifest_version -- URL to git repo to store per-build manifest. |
54 Usually None or | 56 Usually None or |
55 ssh://git@gitrw.chromium.org:9222/manifest-versions | 57 ssh://git@gitrw.chromium.org:9222/manifest-versions |
56 """ | 58 """ |
57 | 59 |
58 # TODO(dgarrett) Make test_mod, factory_install_mod, factory_test_mod options | |
59 # go away when these options work for arm. | |
60 | |
61 default = { | 60 default = { |
62 # 'board' No default value | 61 # 'board' No default value |
63 | 62 |
64 'master' : False, | 63 'master' : False, |
65 'important' : False, | 64 'important' : False, |
66 # 'hostname' No default value | 65 # 'hostname' No default value |
67 | 66 |
68 'uprev' : False, | 67 'uprev' : False, |
69 'rev_overlays': 'public', | 68 'rev_overlays': 'public', |
70 'push_overlays': None, | 69 'push_overlays': None, |
(...skipping 21 matching lines...) Expand all Loading... |
92 } | 91 } |
93 | 92 |
94 arm = { | 93 arm = { |
95 # VM/tests are broken on arm. | 94 # VM/tests are broken on arm. |
96 'unittests' : False, | 95 'unittests' : False, |
97 'vm_tests' : False, | 96 'vm_tests' : False, |
98 | 97 |
99 # These images don't work for arm. | 98 # These images don't work for arm. |
100 'factory_install_mod' : False, | 99 'factory_install_mod' : False, |
101 'factory_test_mod' : False, | 100 'factory_test_mod' : False, |
| 101 'useflags' : None, |
102 } | 102 } |
103 | 103 |
104 full = { | 104 full = { |
105 # Full builds are test build to show that we can build from scratch, | 105 # Full builds are test build to show that we can build from scratch, |
106 # so use settings to build from scratch, and archive the results. | 106 # so use settings to build from scratch, and archive the results. |
107 'usepkg' : False, | 107 'usepkg' : False, |
108 'chroot_replace' : True, | 108 'chroot_replace' : True, |
109 | 109 |
110 'quick_unit' : False, | 110 'quick_unit' : False, |
111 'quick_vm' : True, | 111 'quick_vm' : True, |
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
258 | 258 |
259 config['x86-generic-manifest'] = default.copy() | 259 config['x86-generic-manifest'] = default.copy() |
260 config['x86-generic-manifest'].update({ | 260 config['x86-generic-manifest'].update({ |
261 'board' : 'x86-generic', | 261 'board' : 'x86-generic', |
262 | 262 |
263 'git_url' : 'ssh://git@gitrw.chromium.org:9222/manifest-internal', | 263 'git_url' : 'ssh://git@gitrw.chromium.org:9222/manifest-internal', |
264 'manifest_version' : 'ssh://git@gitrw.chromium.org:9222/manifest-versions', | 264 'manifest_version' : 'ssh://git@gitrw.chromium.org:9222/manifest-versions', |
265 }) | 265 }) |
266 | 266 |
267 | 267 |
OLD | NEW |