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

Side by Side Diff: bin/cbuildbot_config.py

Issue 6339018: Revert "Have the ability for the PFQ to both rev Chrome and ..." (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/crosutils.git@master
Patch Set: Put the right revert patch Created 9 years, 11 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
« no previous file with comments | « bin/cbuildbot.py ('k') | bin/cros_mark_chrome_as_stable.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.
11 11
12 master -- This bot pushes changes to the overlays. 12 master -- This bot pushes changes to the overlays.
13 important -- Master bot uses important bots to determine overall status. 13 important -- Master bot uses important bots to determine overall status.
14 i.e. if master bot succeeds and other important slaves succeed 14 i.e. if master bot succeeds and other important slaves succeed
15 then the master will uprev packages. This should align 15 then the master will uprev packages. This should align
16 with info vs. closer except for the master.and options.tests 16 with info vs. closer except for the master.and options.tests
17 hostname -- Needed for 'important' slaves. The hostname of the bot. Should 17 hostname -- Needed for 'important' slaves. The hostname of the bot. Should
18 match hostname in slaves.cfg in buildbot checkout. 18 match hostname in slaves.cfg in buildbot checkout.
19 19
20 uprev -- Uprevs the local ebuilds to build new changes since last stable. 20 uprev -- Uprevs the local ebuilds to build new changes since last stable.
21 build. If master then also pushes these changes on success. 21 build. If master then also pushes these changes on success.
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 unittests -- Runs unittests for packages. 29 unittests -- Runs unittests for packages.
30 vm_tests -- Runs the smoke suite and au test harness in a qemu-based VM 30 vm_tests -- Runs the smoke suite and au test harness in a qemu-based VM
31 using KVM. 31 using KVM.
32 32
33 usepkg -- Use binary packages to bootstrap, when possible. (emerge --usepkg) 33 usepkg -- Use binary packages to bootstrap, when possible. (emerge --usepkg)
34 chroot_replace -- wipe and replace chroot, but not source. 34 chroot_replace -- wipe and replace chroot, but not source.
35 35
36 archive_build -- Do we run archive_build.sh 36 archive_build -- Do we run archive_build.sh
37 test_mod -- Create a test mod image for archival. 37 test_mod -- Create a test mod image for archival.
38 factory_install_mod -- Create a factory install image for archival. 38 factory_install_mod -- Create a factory install image for archival.
(...skipping 12 matching lines...) Expand all
51 51
52 'uprev' : False, 52 'uprev' : False,
53 'rev_overlays': 'public', 53 'rev_overlays': 'public',
54 'push_overlays': None, 54 'push_overlays': None,
55 55
56 'unittests' : True, 56 'unittests' : True,
57 'vm_tests' : True, 57 'vm_tests' : True,
58 58
59 'usepkg' : True, 59 'usepkg' : True,
60 'chroot_replace' : False, 60 'chroot_replace' : False,
61 61
62 'archive_build' : False, 62 'archive_build' : False,
63 'test_mod' : True, 63 'test_mod' : True,
64 'factory_install_mod' : True, 64 'factory_install_mod' : True,
65 'factory_test_mod' : True, 65 'factory_test_mod' : True,
66 } 66 }
67 67
68 config = {} 68 config = {}
69 69
70 config['x86-generic-pre-flight-queue'] = default.copy() 70 config['x86-generic-pre-flight-queue'] = default.copy()
71 config['x86-generic-pre-flight-queue'].update({ 71 config['x86-generic-pre-flight-queue'].update({
72 'board' : 'x86-generic', 72 'board' : 'x86-generic',
73 'uprev' : True, 73 'uprev' : True,
74 'master' : True, 74 'master' : True,
75 'hostname' : 'chromeosbuild2', 75 'hostname' : 'chromeosbuild2',
76 'rev_overlays': 'public', 76 'rev_overlays': 'public',
77 'push_overlays': 'public', 77 'push_overlays': 'public',
78 }) 78 })
79 config['x86-generic-chrome-pre-flight-queue'] = default.copy() 79
80 config['x86-generic-chrome-pre-flight-queue'].update({ 80 config['x86-generic-chrome-pre-flight-queue'] = \
81 'board' : 'x86-generic', 81 config['x86-generic-pre-flight-queue']
82 'uprev' : False, 82
83 'master' : True,
84 'rev_overlays': 'public',
85 'push_overlays': 'public',
86 })
87 config['x86-mario-pre-flight-queue'] = default.copy() 83 config['x86-mario-pre-flight-queue'] = default.copy()
88 config['x86-mario-pre-flight-queue'].update({ 84 config['x86-mario-pre-flight-queue'].update({
89 'board' : 'x86-mario', 85 'board' : 'x86-mario',
90 'uprev' : True, 86 'uprev' : True,
91 'master' : True, 87 'master' : True,
92 'rev_overlays': 'both', 88 'rev_overlays': 'both',
93 'push_overlays': 'private', 89 'push_overlays': 'private',
94 }) 90 })
91
95 config['x86-mario-pre-flight-branch'] = default.copy() 92 config['x86-mario-pre-flight-branch'] = default.copy()
96 config['x86-mario-pre-flight-branch'].update({ 93 config['x86-mario-pre-flight-branch'].update({
97 'board' : 'x86-mario', 94 'board' : 'x86-mario',
98 'uprev' : True, 95 'uprev' : True,
99 'master' : True, 96 'master' : True,
100 'rev_overlays': 'both', 97 'rev_overlays': 'both',
101 'push_overlays': 'both', 98 'push_overlays': 'both',
102 }) 99 })
103 100
104 config['x86-agz-bin'] = default.copy() 101 config['x86-agz-bin'] = default.copy()
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 'uprev' : True, 139 'uprev' : True,
143 'unittests' : False, 140 'unittests' : False,
144 'vm_tests' : False, 141 'vm_tests' : False,
145 'factory_install_mod' : False, 142 'factory_install_mod' : False,
146 'factory_test_mod' : False, 143 'factory_test_mod' : False,
147 }) 144 })
148 145
149 # TODO(dgarrett) delete when buildbot updated to use new names 146 # TODO(dgarrett) delete when buildbot updated to use new names
150 config['x86_agz_bin'] = config['x86-agz-bin'] 147 config['x86_agz_bin'] = config['x86-agz-bin']
151 config['x86_dogfood_bin'] = config['x86-dogfood-bin'] 148 config['x86_dogfood_bin'] = config['x86-dogfood-bin']
152 config['x86_pineview_bin'] = config['x86-pineview-bin'] 149 config['x86_pineview_bin'] = config['x86-pineview-bin']
153 config['arm_tegra2_bin'] = config['arm-tegra2-bin'] 150 config['arm_tegra2_bin'] = config['arm-tegra2-bin']
154 config['arm_generic_bin'] = config['arm-generic-bin'] 151 config['arm_generic_bin'] = config['arm-generic-bin']
OLDNEW
« no previous file with comments | « bin/cbuildbot.py ('k') | bin/cros_mark_chrome_as_stable.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698