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

Side by Side Diff: scripts/slave/recipes/nacl_ports.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 DEPS = [ 5 DEPS = [
6 'chromium', 6 'chromium',
7 'depot_tools/bot_update', 7 'depot_tools/bot_update',
8 'depot_tools/gclient', 8 'depot_tools/gclient',
9 'recipe_engine/path', 9 'recipe_engine/path',
10 'recipe_engine/platform', 10 'recipe_engine/platform',
11 'recipe_engine/properties', 11 'recipe_engine/properties',
12 'recipe_engine/python', 12 'recipe_engine/python',
13 'recipe_engine/step', 13 'recipe_engine/step',
14 ] 14 ]
15 15
16 16
17 def _CheckoutSteps(api): 17 def _CheckoutSteps(api):
18 api.gclient.set_config('webports') 18 api.gclient.set_config('webports')
19 result = api.bot_update.ensure_checkout(force=True) 19 result = api.bot_update.ensure_checkout()
20 api.gclient.runhooks() 20 api.gclient.runhooks()
21 # HACK(aneeshm): Borrowed from iannucci's hack in nacl.py. 21 # HACK(aneeshm): Borrowed from iannucci's hack in nacl.py.
22 got_revision = result.presentation.properties['got_revision'] 22 got_revision = result.presentation.properties['got_revision']
23 return got_revision 23 return got_revision
24 24
25 def _AnnotatedStepsSteps(api, got_revision): 25 def _AnnotatedStepsSteps(api, got_revision):
26 # Default environemnt; required by all builders. 26 # Default environemnt; required by all builders.
27 env = { 27 env = {
28 'BUILDBOT_MASTERNAME': api.properties['mastername'], 28 'BUILDBOT_MASTERNAME': api.properties['mastername'],
29 'BUILDBOT_BUILDERNAME': api.properties['buildername'], 29 'BUILDBOT_BUILDERNAME': api.properties['buildername'],
(...skipping 15 matching lines...) Expand all
45 _AnnotatedStepsSteps(api, got_revision) 45 _AnnotatedStepsSteps(api, got_revision)
46 46
47 def GenTests(api): 47 def GenTests(api):
48 yield api.test('linux') +\ 48 yield api.test('linux') +\
49 api.platform('linux', 64) +\ 49 api.platform('linux', 64) +\
50 api.properties(mastername = 'client.nacl.ports') +\ 50 api.properties(mastername = 'client.nacl.ports') +\
51 api.properties(buildername = 'linux-glibc-0') +\ 51 api.properties(buildername = 'linux-glibc-0') +\
52 api.properties(revision = 'abcd') +\ 52 api.properties(revision = 'abcd') +\
53 api.properties(slavename = 'TestSlave') +\ 53 api.properties(slavename = 'TestSlave') +\
54 api.properties(slavetype = 'BuilderTester') 54 api.properties(slavetype = 'BuilderTester')
OLDNEW
« no previous file with comments | « scripts/slave/recipes/nacl/sdk_build.expected/basic.json ('k') | scripts/slave/recipes/nacl_ports.expected/linux.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698