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

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

Issue 2176973002: Correct recipe for w3c test autoroller bot. (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: correct typo in recipe 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
« no previous file with comments | « no previous file | recipes/recipes/w3c_test_autoroller.expected/w3c-test-autoroller.json » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 """Updates w3c tests automatically. 5 """Updates w3c tests automatically.
6 6
7 This recipe imports the latest changes to the w3c test repo and attempts 7 This recipe imports the latest changes to the w3c test repo and attempts
8 to upload and commit them if they pass on all commit queue try jobs 8 to upload and commit them if they pass on all commit queue try jobs
9 """ 9 """
10 10
11 DEPS = [ 11 DEPS = [
12 'depot_tools/bot_update', 12 'depot_tools/bot_update',
13 'depot_tools/gclient', 13 'depot_tools/gclient',
14 'depot_tools/git', 14 'depot_tools/git',
15 'recipe_engine/path', 15 'recipe_engine/path',
16 'recipe_engine/properties', 16 'recipe_engine/properties',
17 'recipe_engine/python', 17 'recipe_engine/python',
18 ] 18 ]
19 19
20 20
21 def RunSteps(api): 21 def RunSteps(api):
22 api.gclient.set_config('chromium') 22 api.gclient.set_config('chromium')
23 api.bot_update.ensure_checkout(force=True) 23 api.bot_update.ensure_checkout(force=True)
24 24
25 api.git('config', 'user.name', 'W3C Autoroll Bot') 25 api.git('config', 'user.name', 'W3C Autoroll Bot')
26 api.git('config', 'user.email', 'w3c-test-updater-bot@chromium.org') 26 api.git('config', 'user.email', 'w3c-test-updater-bot@chromium.org')
27 api.git('checkout', '-B', 'update_w3c_tests')
27 28
28 cwd = api.path['checkout'].join('third_party', 'WebKit') 29 cwd = api.path['checkout'].join('third_party', 'WebKit')
29 30
30 api.python('update wpt', 31 api.python('update wpt',
31 cwd.join('Tools', 'Scripts', 'update-w3c-deps'), 32 cwd.join('Tools', 'Scripts', 'update-w3c-deps'),
32 ['--auto-update', 'wpt'], 33 ['--auto-update', 'wpt'],
33 cwd=cwd) 34 cwd=cwd)
34 35
35 api.python('update wpt', 36 api.python('update wpt',
36 cwd.join('Tools', 'Scripts', 'update-w3c-deps'), 37 cwd.join('Tools', 'Scripts', 'update-w3c-deps'),
37 ['--auto-update', 'css'], 38 ['--auto-update', 'css'],
38 cwd=cwd) 39 cwd=cwd)
39 40
40 41
41 def GenTests(api): 42 def GenTests(api):
42 yield (api.test('w3c-test-autoroller') + 43 yield (api.test('w3c-test-autoroller') +
43 api.properties(mastername='chromium.infra.cron', 44 api.properties(mastername='chromium.infra.cron',
44 buildername='w3c-test-autoroller', 45 buildername='w3c-test-autoroller',
45 slavename='fake-slave')) 46 slavename='fake-slave'))
OLDNEW
« no previous file with comments | « no previous file | recipes/recipes/w3c_test_autoroller.expected/w3c-test-autoroller.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698