| 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 -- Only one allowed to be True. This bot controls the uprev process. | 13 master -- Only one allowed to be True. This bot controls the uprev process. |
| 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 | 22 |
| 22 """ | 23 """ |
| 23 | 24 |
| 24 | 25 |
| 25 config = {} | 26 config = {} |
| 26 config['default'] = { | 27 config['default'] = { |
| 27 'board' : 'x86-generic', | 28 'board' : 'x86-generic', |
| 28 'uprev' : False, | 29 'uprev' : False, |
| 29 'master' : False, | 30 'master' : False, |
| 30 'important' : False, | 31 'important' : False, |
| 31 'unittests' : False, | 32 'unittests' : False, |
| 33 'smoke_bvt' : False, |
| 32 } | 34 } |
| 33 config['x86-generic-pre-flight-queue'] = { | 35 config['x86-generic-pre-flight-queue'] = { |
| 34 'board' : 'x86-generic', | 36 'board' : 'x86-generic', |
| 35 'uprev' : True, | 37 'uprev' : True, |
| 36 'master' : True, | 38 'master' : True, |
| 37 'important' : False, | 39 'important' : False, |
| 38 'hostname' : 'chromeosbuild2', | 40 'hostname' : 'chromeosbuild2', |
| 39 'unittests' : True, | 41 'unittests' : True, |
| 42 'smoke_bvt' : True, |
| 40 } | 43 } |
| 41 config['x86_pineview_bin'] = { | 44 config['x86_pineview_bin'] = { |
| 42 'board' : 'x86-pineview', | 45 'board' : 'x86-pineview', |
| 43 'uprev' : True, | 46 'uprev' : True, |
| 44 'master' : False, | 47 'master' : False, |
| 45 'important' : False, | 48 'important' : False, |
| 46 'hostname' : 'codf200.jail', | 49 'hostname' : 'codf200.jail', |
| 47 'unittests': True, | 50 'unittests': True, |
| 51 'smoke_bvt' : True, |
| 48 } | 52 } |
| 49 config['arm_tegra2_bin'] = { | 53 config['arm_tegra2_bin'] = { |
| 50 'board' : 'tegra2', | 54 'board' : 'tegra2', |
| 51 'uprev' : True, | 55 'uprev' : True, |
| 52 'master' : False, | 56 'master' : False, |
| 53 'important' : False, | 57 'important' : False, |
| 54 'hostname' : 'codg172.jail', | 58 'hostname' : 'codg172.jail', |
| 55 'unittests' : False, | 59 'unittests' : False, |
| 56 } | 60 } |
| 57 config['arm_voguev210_bin'] = { | 61 config['arm_voguev210_bin'] = { |
| (...skipping 21 matching lines...) Expand all Loading... |
| 79 'unittests' : False, | 83 'unittests' : False, |
| 80 } | 84 } |
| 81 config['arm_generic_bin'] = { | 85 config['arm_generic_bin'] = { |
| 82 'board' : 'arm-generic', | 86 'board' : 'arm-generic', |
| 83 'uprev' : True, | 87 'uprev' : True, |
| 84 'master' : False, | 88 'master' : False, |
| 85 'important' : False, | 89 'important' : False, |
| 86 'hostname' : 'codg175.jail', | 90 'hostname' : 'codg175.jail', |
| 87 'unittests' : False, | 91 'unittests' : False, |
| 88 } | 92 } |
| OLD | NEW |