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

Side by Side Diff: infra/bots/recipes/swarm_infra.py

Issue 2415193002: Add infra_tests.py, recipe, buildbotless bot (Closed)
Patch Set: Fixes Created 4 years, 2 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
(Empty)
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
3 # found in the LICENSE file.
4
5
6 # Recipe which runs the Skia infra tests.
7
8
9 DEPS = [
10 'core',
11 'recipe_engine/path',
12 'recipe_engine/properties',
13 'recipe_engine/step',
14 'vars',
15 ]
16
17
18 def RunSteps(api):
19 api.vars.setup()
20 api.core.checkout_steps()
21
22 gopath = api.vars.checkout_root.join('gopath')
23 env = {'GOPATH': gopath}
24 api.step('update_go_pkgs',
25 cmd=['go', 'get', '-u', 'go.skia.org/infra/...'],
26 env=env)
27
28 infra_tests = api.vars.skia_dir.join(
29 'infra', 'bots', 'infra_tests.py')
30 api.step('infra_tests',
31 cmd=['python', infra_tests],
32 cwd=api.vars.skia_dir,
33 env=env)
34
35
36 def GenTests(api):
37 yield (
38 api.test('infra_tests') +
39 api.properties(buildername='Housekeeper-PerCommit-InfraTests',
40 mastername='client.skia.fyi',
41 slavename='dummy-slave',
42 buildnumber=5,
43 revision='abc123',
44 path_config='kitchen',
45 swarm_out_dir='[SWARM_OUT_DIR]')
46 )
OLDNEW
« no previous file with comments | « infra/bots/recipe_modules/vars/api.py ('k') | infra/bots/recipes/swarm_infra.expected/infra_tests.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698