Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(174)

Side by Side Diff: buildbot/cbuildbot_config.py

Issue 6691047: Merge MVP script into cbuildbot. (Closed) Base URL: http://git.chromium.org/git/chromite.git@master
Patch Set: Fix up manifest_version docstrings and limited unittesting Created 9 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 27 matching lines...) Expand all
38 38
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
49 git_url -- git repository URL for our manifests.
50 External: http://git.chromium.org/git/manifest
sosa 2011/04/11 19:03:54 indentation?
dgarrett 2011/04/11 20:53:13 Done.
51 Internal: ssh://git@gitrw.chromium.org:9222/manifest-internal
52
53 manifest_version -- Per-build manifest to be stored in GIT repo at specified
sosa 2011/04/11 19:03:54 Maybe re-word as: URL to GIT repo to store per-bu
dgarrett 2011/04/11 20:53:13 Done.
54 URL. Usually None or
sosa 2011/04/11 19:03:54 indentation?
dgarrett 2011/04/11 20:53:13 Done.
55 ssh://git@gitrw.chromium.org:9222/manifest-versions
48 """ 56 """
49 57
50 # TODO(dgarrett) Make test_mod, factory_install_mod, factory_test_mod options 58 # TODO(dgarrett) Make test_mod, factory_install_mod, factory_test_mod options
51 # go away when these options work for arm. 59 # go away when these options work for arm.
52 60
53 default = { 61 default = {
54 # 'board' No default value 62 # 'board' No default value
55 63
56 'master' : False, 64 'master' : False,
57 'important' : False, 65 'important' : False,
(...skipping 13 matching lines...) Expand all
71 79
72 'usepkg' : True, 80 'usepkg' : True,
73 'chroot_replace' : False, 81 'chroot_replace' : False,
74 82
75 'build_type' : False, 83 'build_type' : False,
76 'archive_build_debug' : False, 84 'archive_build_debug' : False,
77 85
78 'test_mod' : False, 86 'test_mod' : False,
79 'factory_install_mod' : False, 87 'factory_install_mod' : False,
80 'factory_test_mod' : False, 88 'factory_test_mod' : False,
89
90 'git_url' : 'http://git.chromium.org/git/manifest',
91 'manifest_version' : None,
81 } 92 }
82 93
83 arm = { 94 arm = {
84 # VM/tests are broken on arm. 95 # VM/tests are broken on arm.
85 'unittests' : False, 96 'unittests' : False,
86 'vm_tests' : False, 97 'vm_tests' : False,
87 98
88 # These images don't work for arm. 99 # These images don't work for arm.
89 'factory_install_mod' : False, 100 'factory_install_mod' : False,
90 'factory_test_mod' : False, 101 'factory_test_mod' : False,
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
237 config['x86-generic-full'].update(full) 248 config['x86-generic-full'].update(full)
238 config['x86-generic-full'].update({ 249 config['x86-generic-full'].update({
239 'board' : 'x86-generic', 250 'board' : 'x86-generic',
240 }) 251 })
241 252
242 config['x86-pineview-full'] = default.copy() 253 config['x86-pineview-full'] = default.copy()
243 config['x86-pineview-full'].update(full) 254 config['x86-pineview-full'].update(full)
244 config['x86-pineview-full'].update({ 255 config['x86-pineview-full'].update({
245 'board' : 'x86-pineview', 256 'board' : 'x86-pineview',
246 }) 257 })
258
259 config['x86-generic-manifest'] = default.copy()
260 config['x86-generic-manifest'].update({
261 'board' : 'x86-generic',
262
263 'git_url' : 'ssh://git@gitrw.chromium.org:9222/manifest-internal',
264 'manifest_version' : 'ssh://git@gitrw.chromium.org:9222/manifest-versions',
265 })
266
267
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698