Chromium Code Reviews| 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 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 -- If this bot is a master bot, select what overlays to push changes |
| 23 to. This can be 'public', 'private', or 'both'. There should only | 23 to. This can be 'public', 'private', or 'both'. There should only |
|
David James
2010/11/02 05:37:36
Here's the docs.
| |
| 24 be one bot pushing changes to each overlay. | 24 be one bot pushing changes to each overlay. |
| 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, |
| (...skipping 12 matching lines...) Expand all Loading... | |
| 46 } | 46 } |
| 47 config['x86-mario-pre-flight-queue'] = { | 47 config['x86-mario-pre-flight-queue'] = { |
| 48 'board' : 'x86-mario', | 48 'board' : 'x86-mario', |
| 49 'uprev' : True, | 49 'uprev' : True, |
| 50 'master' : True, | 50 'master' : True, |
| 51 'important' : False, | 51 'important' : False, |
| 52 'unittests' : True, | 52 'unittests' : True, |
| 53 'smoke_bvt' : True, | 53 'smoke_bvt' : True, |
| 54 'overlays': 'private', | 54 'overlays': 'private', |
| 55 } | 55 } |
| 56 config['x86-mario-pre-flight-branch'] = { | |
| 57 'board' : 'x86-mario', | |
| 58 'uprev' : True, | |
| 59 'master' : True, | |
| 60 'important' : False, | |
| 61 'unittests' : True, | |
| 62 'smoke_bvt' : True, | |
|
David James
2010/11/02 05:37:36
If 'master' is true then 'overlays' needs to be de
| |
| 63 } | |
| 56 config['x86_agz_bin'] = { | 64 config['x86_agz_bin'] = { |
| 57 'board' : 'x86-agz', | 65 'board' : 'x86-agz', |
| 58 'uprev' : True, | 66 'uprev' : True, |
| 59 'master' : False, | 67 'master' : False, |
| 60 'important' : False, | 68 'important' : False, |
| 61 'unittests' : True, | 69 'unittests' : True, |
| 62 'smoke_bvt' : True, | 70 'smoke_bvt' : True, |
| 63 } | 71 } |
| 64 config['x86_dogfood_bin'] = { | 72 config['x86_dogfood_bin'] = { |
| 65 'board' : 'x86-dogfood', | 73 'board' : 'x86-dogfood', |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 110 'unittests' : False, | 118 'unittests' : False, |
| 111 } | 119 } |
| 112 config['arm_generic_bin'] = { | 120 config['arm_generic_bin'] = { |
| 113 'board' : 'arm-generic', | 121 'board' : 'arm-generic', |
| 114 'uprev' : True, | 122 'uprev' : True, |
| 115 'master' : False, | 123 'master' : False, |
| 116 'important' : False, | 124 'important' : False, |
| 117 'hostname' : 'codg175.jail', | 125 'hostname' : 'codg175.jail', |
| 118 'unittests' : False, | 126 'unittests' : False, |
| 119 } | 127 } |
| OLD | NEW |