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 from recipe_engine.recipe_api import Property | 5 from recipe_engine.recipe_api import Property |
6 | 6 |
7 DEPS = [ | 7 DEPS = [ |
8 'build/cipd', | |
9 'depot_tools/bot_update', | 8 'depot_tools/bot_update', |
| 9 'depot_tools/cipd', |
10 'depot_tools/gclient', | 10 'depot_tools/gclient', |
11 'recipe_engine/path', | 11 'recipe_engine/path', |
12 'recipe_engine/properties', | 12 'recipe_engine/properties', |
13 ] | 13 ] |
14 | 14 |
15 | 15 |
16 PROPERTIES = { | 16 PROPERTIES = { |
17 'mastername': Property(default=''), | 17 'mastername': Property(default=''), |
18 'buildername': Property(default=''), | 18 'buildername': Property(default=''), |
19 'buildnumber': Property(default=-1, kind=int), | 19 'buildnumber': Property(default=-1, kind=int), |
(...skipping 14 matching lines...) Expand all Loading... |
34 | 34 |
35 api.cipd.install_client() | 35 api.cipd.install_client() |
36 api.cipd.create( | 36 api.cipd.create( |
37 api.path['checkout'].join('infra', 'cipd', 'recipes-py.yaml'), | 37 api.path['checkout'].join('infra', 'cipd', 'recipes-py.yaml'), |
38 refs=['latest'], | 38 refs=['latest'], |
39 tags=tags) | 39 tags=tags) |
40 | 40 |
41 | 41 |
42 def GenTests(api): | 42 def GenTests(api): |
43 yield api.test('basic') + api.properties(path_config='kitchen') | 43 yield api.test('basic') + api.properties(path_config='kitchen') |
OLD | NEW |