| 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. |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 arm = { |
| 69 # VM/tests are broken on arm. |
| 70 'unittests' : False, |
| 71 'vm_tests' : False, |
| 72 |
| 73 # These images don't work for arm. |
| 74 'factory_install_mod' : False, |
| 75 'factory_test_mod' : False, |
| 76 } |
| 77 |
| 78 full = { |
| 79 # Full builds are test build to show that we can build from scratch, |
| 80 # so use settings to build from scratch, and archive the results. |
| 81 'usepkg' : False, |
| 82 'chroot_replace' : True, |
| 83 |
| 84 'archive_build' : True |
| 85 } |
| 86 |
| 87 |
| 68 config = {} | 88 config = {} |
| 69 | 89 |
| 70 config['x86-generic-pre-flight-queue'] = default.copy() | 90 config['x86-generic-pre-flight-queue'] = default.copy() |
| 71 config['x86-generic-pre-flight-queue'].update({ | 91 config['x86-generic-pre-flight-queue'].update({ |
| 72 'board' : 'x86-generic', | 92 'board' : 'x86-generic', |
| 73 'uprev' : True, | |
| 74 'master' : True, | 93 'master' : True, |
| 75 'hostname' : 'chromeosbuild2', | 94 'hostname' : 'chromeosbuild2', |
| 95 |
| 96 'uprev' : True, |
| 76 'rev_overlays': 'public', | 97 'rev_overlays': 'public', |
| 77 'push_overlays': 'public', | 98 'push_overlays': 'public', |
| 78 }) | 99 }) |
| 79 | 100 |
| 80 config['x86-generic-chrome-pre-flight-queue'] = \ | 101 config['x86-generic-chrome-pre-flight-queue'] = \ |
| 81 config['x86-generic-pre-flight-queue'] | 102 config['x86-generic-pre-flight-queue'] |
| 82 | 103 |
| 83 config['x86-mario-pre-flight-queue'] = default.copy() | 104 config['x86-mario-pre-flight-queue'] = default.copy() |
| 84 config['x86-mario-pre-flight-queue'].update({ | 105 config['x86-mario-pre-flight-queue'].update({ |
| 85 'board' : 'x86-mario', | 106 'board' : 'x86-mario', |
| 107 'master' : True, |
| 108 |
| 86 'uprev' : True, | 109 'uprev' : True, |
| 87 'master' : True, | |
| 88 'rev_overlays': 'both', | 110 'rev_overlays': 'both', |
| 89 'push_overlays': 'private', | 111 'push_overlays': 'private', |
| 90 }) | 112 }) |
| 91 | 113 |
| 92 config['x86-mario-pre-flight-branch'] = default.copy() | 114 config['x86-mario-pre-flight-branch'] = default.copy() |
| 93 config['x86-mario-pre-flight-branch'].update({ | 115 config['x86-mario-pre-flight-branch'].update({ |
| 94 'board' : 'x86-mario', | 116 'board' : 'x86-mario', |
| 117 'master' : True, |
| 118 |
| 95 'uprev' : True, | 119 'uprev' : True, |
| 96 'master' : True, | |
| 97 'rev_overlays': 'both', | 120 'rev_overlays': 'both', |
| 98 'push_overlays': 'both', | 121 'push_overlays': 'both', |
| 99 }) | 122 }) |
| 100 | 123 |
| 101 config['x86-agz-bin'] = default.copy() | 124 config['x86-agz-bin'] = default.copy() |
| 102 config['x86-agz-bin'].update({ | 125 config['x86-agz-bin'].update({ |
| 103 'board' : 'x86-agz', | 126 'board' : 'x86-agz', |
| 127 |
| 104 'uprev' : True, | 128 'uprev' : True, |
| 105 'rev_overlays': 'both', | 129 'rev_overlays': 'both', |
| 106 'push_overlays': None, | 130 'push_overlays': None, |
| 107 }) | 131 }) |
| 108 | 132 |
| 109 config['x86-dogfood-bin'] = default.copy() | 133 config['x86-dogfood-bin'] = default.copy() |
| 110 config['x86-dogfood-bin'].update({ | 134 config['x86-dogfood-bin'].update({ |
| 111 'board' : 'x86-dogfood', | 135 'board' : 'x86-dogfood', |
| 136 |
| 112 'uprev' : True, | 137 'uprev' : True, |
| 113 'rev_overlays': 'both', | 138 'rev_overlays': 'both', |
| 114 'push_overlays': None, | 139 'push_overlays': None, |
| 115 }) | 140 }) |
| 116 | 141 |
| 117 config['x86-pineview-bin'] = default.copy() | 142 config['x86-pineview-bin'] = default.copy() |
| 118 config['x86-pineview-bin'].update({ | 143 config['x86-pineview-bin'].update({ |
| 119 'board' : 'x86-pineview', | 144 'board' : 'x86-pineview', |
| 145 |
| 120 'uprev' : True, | 146 'uprev' : True, |
| 121 'rev_overlays': 'public', | 147 'rev_overlays': 'public', |
| 122 'push_overlays': None, | 148 'push_overlays': None, |
| 123 }) | 149 }) |
| 124 | 150 |
| 125 config['arm-tegra2-bin'] = default.copy() | 151 config['arm-tegra2-bin'] = default.copy() |
| 152 config['arm-tegra2-bin'].update(arm) |
| 126 config['arm-tegra2-bin'].update({ | 153 config['arm-tegra2-bin'].update({ |
| 127 'board' : 'tegra2_dev-board', | 154 'board' : 'tegra2_dev-board', |
| 155 |
| 128 'uprev' : True, | 156 'uprev' : True, |
| 129 'unittests' : False, | |
| 130 'vm_tests' : False, | |
| 131 'rev_overlays': 'public', | 157 'rev_overlays': 'public', |
| 132 'factory_install_mod' : False, | 158 'push_overlays': None, |
| 133 'factory_test_mod' : False, | |
| 134 }) | 159 }) |
| 135 | 160 |
| 136 config['arm-generic-bin'] = default.copy() | 161 config['arm-generic-bin'] = default.copy() |
| 162 config['arm-generic-bin'].update(arm) |
| 137 config['arm-generic-bin'].update({ | 163 config['arm-generic-bin'].update({ |
| 138 'board' : 'arm-generic', | 164 'board' : 'arm-generic', |
| 165 |
| 139 'uprev' : True, | 166 'uprev' : True, |
| 140 'unittests' : False, | 167 'rev_overlays': 'public', |
| 141 'vm_tests' : False, | 168 'push_overlays': None, |
| 142 'factory_install_mod' : False, | 169 }) |
| 143 'factory_test_mod' : False, | 170 |
| 171 config['arm-generic-full'] = default.copy() |
| 172 config['arm-generic-full'].update(arm) |
| 173 config['arm-generic-full'].update(full) |
| 174 config['arm-generic-full'].update({ |
| 175 'board' : 'arm-generic', |
| 176 }) |
| 177 |
| 178 config['arm-tegra2-full'] = default.copy() |
| 179 config['arm-tegra2-full'].update(arm) |
| 180 config['arm-tegra2-full'].update(full) |
| 181 config['arm-tegra2-full'].update({ |
| 182 'board' : 'tegra2_dev-board', |
| 183 }) |
| 184 |
| 185 config['x86-generic-full'] = default.copy() |
| 186 config['x86-generic-full'].update(full) |
| 187 config['x86-generic-full'].update({ |
| 188 'board' : 'x86-generic', |
| 189 }) |
| 190 |
| 191 config['x86-pineview-full'] = default.copy() |
| 192 config['x86-pineview-full'].update(full) |
| 193 config['x86-pineview-full'].update({ |
| 194 'board' : 'x86-pineview', |
| 144 }) | 195 }) |
| 145 | 196 |
| 146 # TODO(dgarrett) delete when buildbot updated to use new names | 197 # TODO(dgarrett) delete when buildbot updated to use new names |
| 147 config['x86_agz_bin'] = config['x86-agz-bin'] | 198 config['x86_agz_bin'] = config['x86-agz-bin'] |
| 148 config['x86_dogfood_bin'] = config['x86-dogfood-bin'] | 199 config['x86_dogfood_bin'] = config['x86-dogfood-bin'] |
| 149 config['x86_pineview_bin'] = config['x86-pineview-bin'] | 200 config['x86_pineview_bin'] = config['x86-pineview-bin'] |
| 150 config['arm_tegra2_bin'] = config['arm-tegra2-bin'] | 201 config['arm_tegra2_bin'] = config['arm-tegra2-bin'] |
| 151 config['arm_generic_bin'] = config['arm-generic-bin'] | 202 config['arm_generic_bin'] = config['arm-generic-bin'] |
| OLD | NEW |