OLD | NEW |
1 # Copyright 2013 The Chromium Authors. All rights reserved. | 1 # Copyright 2013 The Chromium 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 DEPS = [ | 5 DEPS = [ |
6 'chromite', | 6 'chromite', |
7 'gitiles', | 7 'gitiles', |
8 'properties', | 8 'properties', |
9 ] | 9 ] |
10 | 10 |
(...skipping 19 matching lines...) Expand all Loading... |
30 }, | 30 }, |
31 } | 31 } |
32 | 32 |
33 def RunSteps(api): | 33 def RunSteps(api): |
34 # Load the appropriate configuration based on the master. | 34 # Load the appropriate configuration based on the master. |
35 api.chromite.configure( | 35 api.chromite.configure( |
36 api.properties, | 36 api.properties, |
37 _MASTER_CONFIG_MAP) | 37 _MASTER_CONFIG_MAP) |
38 | 38 |
39 # Run 'cbuildbot' common recipe. | 39 # Run 'cbuildbot' common recipe. |
40 api.chromite.run_cbuildbot( | 40 api.chromite.run_cbuildbot() |
41 api.properties['cbb_config']) | |
42 | 41 |
43 def GenTests(api): | 42 def GenTests(api): |
44 # | 43 # |
45 # master.chromiumos.chromium | 44 # master.chromiumos.chromium |
46 # | 45 # |
47 | 46 |
48 # Test a standard CrOS build triggered by a Chromium commit. | 47 # Test a standard CrOS build triggered by a Chromium commit. |
49 yield ( | 48 yield ( |
50 api.test('chromiumos_chromium_builder') | 49 api.test('chromiumos_chromium_builder') |
51 + api.properties( | 50 + api.properties( |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
121 # [Coverage] | 120 # [Coverage] |
122 # | 121 # |
123 | 122 |
124 # Test a standard CrOS build triggered by a Chromium commit. | 123 # Test a standard CrOS build triggered by a Chromium commit. |
125 yield ( | 124 yield ( |
126 api.test('chromiumos_coverage') | 125 api.test('chromiumos_coverage') |
127 + api.properties( | 126 + api.properties( |
128 mastername='chromiumos.coverage', | 127 mastername='chromiumos.coverage', |
129 buildername='Test', | 128 buildername='Test', |
130 slavename='test', | 129 slavename='test', |
131 buildnumber='', # Possibility from BuildBot when buildnumber is '0'. | 130 buildnumber=0, |
132 repository='https://chromium.googlesource.com/chromiumos/' | 131 repository='https://chromium.googlesource.com/chromiumos/' |
133 'chromite.git', | 132 'chromite.git', |
134 revision='fdea0dde664e229976ddb2224328da152fba15b1', | 133 revision='fdea0dde664e229976ddb2224328da152fba15b1', |
135 branch='master', | 134 branch='master', |
136 cbb_config='x86-generic-full', | 135 cbb_config='x86-generic-full', |
137 cbb_branch='checkout-this-chromite-branch', | 136 cbb_branch='factory-1412.B', |
138 cbb_variant='test', | 137 cbb_variant='test', |
139 cbb_debug=True, | 138 cbb_debug=True, |
140 config_repo='https://fake.googlesource.com/myconfig/repo.git', | 139 config_repo='https://fake.googlesource.com/myconfig/repo.git', |
141 ) | 140 ) |
142 ) | 141 ) |
OLD | NEW |