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

Side by Side Diff: scripts/slave/recipes/boringssl_docs.py

Issue 2319853002: Remove ignored bot_update "force" parameter. (Closed)
Patch Set: rebase Created 4 years, 3 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 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 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 """Generates BoringSSL documentation and uploads it to Cloud Storage.""" 5 """Generates BoringSSL documentation and uploads it to Cloud Storage."""
6 6
7 7
8 DEPS = [ 8 DEPS = [
9 'chromium', 9 'chromium',
10 'depot_tools/bot_update', 10 'depot_tools/bot_update',
11 'depot_tools/tryserver', 11 'depot_tools/tryserver',
12 'depot_tools/gclient', 12 'depot_tools/gclient',
13 'gsutil', 13 'gsutil',
14 'recipe_engine/path', 14 'recipe_engine/path',
15 'recipe_engine/properties', 15 'recipe_engine/properties',
16 'recipe_engine/python', 16 'recipe_engine/python',
17 ] 17 ]
18 18
19 19
20 def RunSteps(api): 20 def RunSteps(api):
21 # Sync and pull in everything. 21 # Sync and pull in everything.
22 api.gclient.set_config('boringssl') 22 api.gclient.set_config('boringssl')
23 api.bot_update.ensure_checkout(force=True) 23 api.bot_update.ensure_checkout()
24 api.gclient.runhooks() 24 api.gclient.runhooks()
25 25
26 # Set up paths. 26 # Set up paths.
27 util = api.path['checkout'].join('util') 27 util = api.path['checkout'].join('util')
28 go_env = util.join('bot', 'go', 'env.py') 28 go_env = util.join('bot', 'go', 'env.py')
29 output = api.path.mkdtemp('boringssl-docs') 29 output = api.path.mkdtemp('boringssl-docs')
30 30
31 # Generate and upload documentation. 31 # Generate and upload documentation.
32 api.python('generate', go_env, ['go', 'run', 'doc.go', '-out', output], 32 api.python('generate', go_env, ['go', 'run', 'doc.go', '-out', output],
33 cwd=util) 33 cwd=util)
(...skipping 12 matching lines...) Expand all
46 ) 46 )
47 47
48 yield ( 48 yield (
49 api.test('boringssl-docs-gerrit') + 49 api.test('boringssl-docs-gerrit') +
50 api.properties.tryserver_gerrit( 50 api.properties.tryserver_gerrit(
51 gerrit_host='boringssl-review.googlesource.com', 51 gerrit_host='boringssl-review.googlesource.com',
52 full_project_name='boringssl', 52 full_project_name='boringssl',
53 mastername='actually-no-master', buildername='docs', 53 mastername='actually-no-master', buildername='docs',
54 slavename='swarming-slave') 54 slavename='swarming-slave')
55 ) 55 )
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698