OLD | NEW |
1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 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 | 5 |
6 # Recipe module for Skia Swarming trigger. | 6 # Recipe module for Skia Swarming trigger. |
7 | 7 |
8 | 8 |
9 import os | 9 import os |
10 import json | 10 import json |
(...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
263 'housekeeper', | 263 'housekeeper', |
264 api.properties['buildername'], | 264 api.properties['buildername'], |
265 api.properties['mastername'], | 265 api.properties['mastername'], |
266 api.properties['slavename'], | 266 api.properties['slavename'], |
267 api.properties['buildnumber'], | 267 api.properties['buildnumber'], |
268 builder_cfg, | 268 builder_cfg, |
269 got_revision, | 269 got_revision, |
270 infrabots_dir, | 270 infrabots_dir, |
271 idempotent=False, | 271 idempotent=False, |
272 store_output=False, | 272 store_output=False, |
273 extra_isolate_hashes=extra_isolate_hashes) | 273 extra_isolate_hashes=extra_isolate_hashes, |
| 274 cipd_packages=[cipd_pkg(api, infrabots_dir, 'go')], |
| 275 ) |
274 return api.swarming.collect_swarming_task(task) | 276 return api.swarming.collect_swarming_task(task) |
275 | 277 |
276 | 278 |
277 def recreate_skps_swarm(api, builder_cfg, got_revision, infrabots_dir, | 279 def recreate_skps_swarm(api, builder_cfg, got_revision, infrabots_dir, |
278 extra_isolate_hashes): | 280 extra_isolate_hashes): |
279 task = trigger_task( | 281 task = trigger_task( |
280 api, | 282 api, |
281 'RecreateSKPs', | 283 'RecreateSKPs', |
282 api.properties['buildername'], | 284 api.properties['buildername'], |
283 api.properties['mastername'], | 285 api.properties['mastername'], |
(...skipping 469 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
753 test += api.path.exists(*paths) | 755 test += api.path.exists(*paths) |
754 | 756 |
755 return test | 757 return test |
756 | 758 |
757 | 759 |
758 def GenTests(api): | 760 def GenTests(api): |
759 for mastername, slaves in TEST_BUILDERS.iteritems(): | 761 for mastername, slaves in TEST_BUILDERS.iteritems(): |
760 for slavename, builders_by_slave in slaves.iteritems(): | 762 for slavename, builders_by_slave in slaves.iteritems(): |
761 for builder in builders_by_slave: | 763 for builder in builders_by_slave: |
762 yield test_for_bot(api, builder, mastername, slavename) | 764 yield test_for_bot(api, builder, mastername, slavename) |
OLD | NEW |