Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(19)

Side by Side Diff: recipes/recipes/recipes_py_continuous.py

Issue 2242803002: Switch to cipd module in depot_tools (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: trybots Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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')
OLDNEW
« no previous file with comments | « recipes/recipes/recipe_autoroller.expected/with_auth.json ('k') | recipes/recipes/recipes_py_continuous.expected/basic.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698