Chromium Code Reviews| 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 import base64 | 5 import base64 |
| 6 import json | 6 import json |
| 7 import zlib | 7 import zlib |
| 8 | 8 |
| 9 | 9 |
| 10 DEPS = [ | 10 DEPS = [ |
| (...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 139 slavename='test', | 139 slavename='test', |
| 140 repository='https://chromium.googlesource.com/chromiumos/tryjobs.git', | 140 repository='https://chromium.googlesource.com/chromiumos/tryjobs.git', |
| 141 revision=api.gitiles.make_hash('test'), | 141 revision=api.gitiles.make_hash('test'), |
| 142 cbb_config='internal-paladin', | 142 cbb_config='internal-paladin', |
| 143 cbb_extra_args='["--timeout", "14400", "--remote-trybot",' | 143 cbb_extra_args='["--timeout", "14400", "--remote-trybot",' |
| 144 '"--remote-version=4"]', | 144 '"--remote-version=4"]', |
| 145 ) | 145 ) |
| 146 + api.chromite.seed_chromite_config(_CHROMITE_CONFIG) | 146 + api.chromite.seed_chromite_config(_CHROMITE_CONFIG) |
| 147 ) | 147 ) |
| 148 | 148 |
| 149 yield ( | |
| 150 api.test('release') | |
| 151 + api.properties( | |
| 152 mastername='chromiumos.tryserver', | |
| 153 buildername='paladin', | |
| 154 slavename='test', | |
| 155 repository='https://chromium.googlesource.com/chromiumos/tryjobs.git', | |
| 156 revision=api.gitiles.make_hash('test'), | |
| 157 cbb_config='x86-generic-full', | |
| 158 cbb_branch='release-R55-9999.B', | |
| 159 cbb_extra_args='["--timeout", "14400", "--remote-trybot",' | |
| 160 '"--remote-version=4"]', | |
| 161 ) | |
| 162 + api.chromite.seed_chromite_config(_CHROMITE_CONFIG) | |
| 163 ) | |
| 164 | |
| 165 yield ( | |
| 166 api.test('pre_git_cache_release') | |
| 167 + api.properties( | |
| 168 mastername='chromiumos.tryserver', | |
| 169 buildername='paladin', | |
| 170 slavename='test', | |
| 171 repository='https://chromium.googlesource.com/chromiumos/tryjobs.git', | |
| 172 revision=api.gitiles.make_hash('test'), | |
| 173 cbb_config='x86-generic-full', | |
| 174 cbb_branch='release-R54-8743.B', | |
| 175 cbb_extra_args='["--timeout", "14400", "--remote-trybot",' | |
| 176 '"--remote-version=4"]', | |
| 177 ) | |
| 178 + api.chromite.seed_chromite_config(_CHROMITE_CONFIG) | |
| 179 ) | |
| 180 | |
| 149 # Test a CrOS tryjob with compressed "cbb_extra_args". | 181 # Test a CrOS tryjob with compressed "cbb_extra_args". |
| 150 yield ( | 182 yield ( |
| 151 api.test('basic_compressed') | 183 api.test('basic_compressed') |
| 152 + api.properties( | 184 + api.properties( |
| 153 mastername='chromiumos.tryserver', | 185 mastername='chromiumos.tryserver', |
| 154 buildername='full', | 186 buildername='full', |
| 155 slavename='test', | 187 slavename='test', |
| 156 repository='https://chromium.googlesource.com/chromiumos/tryjobs.git', | 188 repository='https://chromium.googlesource.com/chromiumos/tryjobs.git', |
| 157 revision=api.gitiles.make_hash('test'), | 189 revision=api.gitiles.make_hash('test'), |
| 158 cbb_config='x86-generic-full', | 190 cbb_config='x86-generic-full', |
| (...skipping 23 matching lines...) Expand all Loading... | |
| 182 # Test a config with buildbucket properties | 214 # Test a config with buildbucket properties |
| 183 yield ( | 215 yield ( |
| 184 api.test('pre_cq_buildbucket_config') | 216 api.test('pre_cq_buildbucket_config') |
| 185 + api.properties( | 217 + api.properties( |
| 186 mastername='chromiumos.tryserver', | 218 mastername='chromiumos.tryserver', |
| 187 buildername='pre-cq', | 219 buildername='pre-cq', |
| 188 slavename='test', | 220 slavename='test', |
| 189 repository='https://chromium.googlesource.com/chromiumos/tryjobs.git', | 221 repository='https://chromium.googlesource.com/chromiumos/tryjobs.git', |
| 190 revision=api.gitiles.make_hash('test'), | 222 revision=api.gitiles.make_hash('test'), |
| 191 cbb_config='binhost-pre-cq', | 223 cbb_config='binhost-pre-cq', |
| 192 cbb_extra_args='["--timeout", "14400", "--remote-trybot",' | |
|
nxia1
2016/09/23 20:37:41
why are we removing this cbb_extra_args test?
dnj
2016/09/23 21:15:18
Do we actually use this for BuildBucket still? I t
| |
| 193 '"--remote-version=4"]', | |
| 194 buildbucket=json.dumps({'build': {'id':'12345'}}) | 224 buildbucket=json.dumps({'build': {'id':'12345'}}) |
| 195 ) | 225 ) |
| 196 + api.chromite.seed_chromite_config(_CHROMITE_CONFIG) | 226 + api.chromite.seed_chromite_config(_CHROMITE_CONFIG) |
| 197 ) | 227 ) |
| OLD | NEW |