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

Side by Side Diff: bin/cbuildbot_config.py

Issue 4442001: Add more error checking to preflight queue. (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/crosutils.git
Patch Set: Quotes Created 10 years, 1 month 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.
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 -- If this bot is a master bot, select what overlays to push changes 22 overlays -- Select what overlays to look at. This can be 'public', 'private'
23 to. This can be 'public', 'private', or 'both'. There should only 23 or 'both'. There should only be one master bot pushing changes to
24 be one bot pushing changes to each overlay. 24 each overlay per branch.
25 """ 25 """
26 26
27 27
28 config = {} 28 config = {}
29 config['default'] = { 29 config['default'] = {
30 'board' : 'x86-generic', 30 'board' : 'x86-generic',
31 'uprev' : False, 31 'uprev' : False,
32 'master' : False, 32 'master' : False,
33 'important' : False, 33 'important' : False,
34 'unittests' : False, 34 'unittests' : False,
35 'smoke_bvt' : False, 35 'smoke_bvt' : False,
36 'overlays': 'public',
36 } 37 }
37 config['x86-generic-pre-flight-queue'] = { 38 config['x86-generic-pre-flight-queue'] = {
38 'board' : 'x86-generic', 39 'board' : 'x86-generic',
39 'uprev' : True, 40 'uprev' : True,
40 'master' : True, 41 'master' : True,
41 'important' : False, 42 'important' : False,
42 'hostname' : 'chromeosbuild2', 43 'hostname' : 'chromeosbuild2',
43 'unittests' : True, 44 'unittests' : True,
44 'smoke_bvt' : True, 45 'smoke_bvt' : True,
45 'overlays': 'public', 46 'overlays': 'public',
(...skipping 16 matching lines...) Expand all
62 'smoke_bvt' : True, 63 'smoke_bvt' : True,
63 'overlays': 'both', 64 'overlays': 'both',
64 } 65 }
65 config['x86_agz_bin'] = { 66 config['x86_agz_bin'] = {
66 'board' : 'x86-agz', 67 'board' : 'x86-agz',
67 'uprev' : True, 68 'uprev' : True,
68 'master' : False, 69 'master' : False,
69 'important' : False, 70 'important' : False,
70 'unittests' : True, 71 'unittests' : True,
71 'smoke_bvt' : True, 72 'smoke_bvt' : True,
73 'overlays': 'private',
72 } 74 }
73 config['x86_dogfood_bin'] = { 75 config['x86_dogfood_bin'] = {
74 'board' : 'x86-dogfood', 76 'board' : 'x86-dogfood',
75 'uprev' : True, 77 'uprev' : True,
76 'master' : False, 78 'master' : False,
77 'important' : False, 79 'important' : False,
78 'unittests' : True, 80 'unittests' : True,
79 'smoke_bvt' : True, 81 'smoke_bvt' : True,
82 'overlays': 'private',
80 } 83 }
81 config['x86_pineview_bin'] = { 84 config['x86_pineview_bin'] = {
82 'board' : 'x86-pineview', 85 'board' : 'x86-pineview',
83 'uprev' : True, 86 'uprev' : True,
84 'master' : False, 87 'master' : False,
85 'important' : False, 88 'important' : False,
86 'hostname' : 'codf200.jail',
87 'unittests': True, 89 'unittests': True,
90 'overlays': 'public',
88 } 91 }
89 config['arm_tegra2_bin'] = { 92 config['arm_tegra2_bin'] = {
90 'board' : 'tegra2', 93 'board' : 'tegra2',
91 'uprev' : True, 94 'uprev' : True,
92 'master' : False, 95 'master' : False,
93 'important' : False, 96 'important' : False,
94 'hostname' : 'codg172.jail',
95 'unittests' : False, 97 'unittests' : False,
96 } 98 'overlays': 'public',
97 config['arm_voguev210_bin'] = {
98 'board' : 'voguev210',
99 'uprev' : True,
100 'master' : False,
101 'important' : False,
102 'hostname' : 'codf196.jail',
103 'unittests' : False,
104 }
105 config['arm_beagleboard_bin'] = {
106 'board' : 'beagleboard',
107 'master' : False,
108 'uprev' : True,
109 'important' : False,
110 'hostname' : 'codf202.jail',
111 'unittests' : False,
112 }
113 config['arm_st1q_bin'] = {
114 'board' : 'st1q',
115 'uprev' : True,
116 'master' : False,
117 'important' : False,
118 'hostname' : 'codg158.jail',
119 'unittests' : False,
120 } 99 }
121 config['arm_generic_bin'] = { 100 config['arm_generic_bin'] = {
122 'board' : 'arm-generic', 101 'board' : 'arm-generic',
123 'uprev' : True, 102 'uprev' : True,
124 'master' : False, 103 'master' : False,
125 'important' : False, 104 'important' : False,
126 'hostname' : 'codg175.jail',
127 'unittests' : False, 105 'unittests' : False,
106 'overlays': 'public',
128 } 107 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698