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

Side by Side Diff: scripts/slave/recipes/syzygy/continuous.py

Issue 2282913002: Delete all references to GIT_MODE=True from build (Closed)
Patch Set: 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
« no previous file with comments | « scripts/slave/recipes/swarming/staging.py ('k') | scripts/slave/recipes/syzygy/coverage.py » ('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 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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 """Buildbot recipe definition for the various Syzygy continuous builders. 5 """Buildbot recipe definition for the various Syzygy continuous builders.
6 6
7 To be tested using a command-line like: 7 To be tested using a command-line like:
8 8
9 /build/scripts/tools/run_recipe.py syzygy/continuous 9 /build/scripts/tools/run_recipe.py syzygy/continuous
10 revision=0e9f25b1098271be2b096fd1c095d6d907cf86f7 10 revision=0e9f25b1098271be2b096fd1c095d6d907cf86f7
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 54
55 def RunSteps(api, buildername, blamelist, revision): 55 def RunSteps(api, buildername, blamelist, revision):
56 """Generates the sequence of steps that will be run by the slave.""" 56 """Generates the sequence of steps that will be run by the slave."""
57 assert buildername in BUILDERS 57 assert buildername in BUILDERS
58 58
59 # Configure the build environment. 59 # Configure the build environment.
60 s = api.syzygy 60 s = api.syzygy
61 config, kwargs = BUILDERS[buildername] 61 config, kwargs = BUILDERS[buildername]
62 s.set_config(config, **kwargs) 62 s.set_config(config, **kwargs)
63 api.chromium.set_config(config, **kwargs) 63 api.chromium.set_config(config, **kwargs)
64 api.gclient.set_config(config, GIT_MODE=True, **kwargs) 64 api.gclient.set_config(config, **kwargs)
65 65
66 # Clean up any running processes on the slave. 66 # Clean up any running processes on the slave.
67 s.taskkill() 67 s.taskkill()
68 68
69 # Checkout and compile the project. 69 # Checkout and compile the project.
70 s.checkout() 70 s.checkout()
71 s.runhooks() 71 s.runhooks()
72 s.compile() 72 s.compile()
73 73
74 # Load and run the unittests. 74 # Load and run the unittests.
(...skipping 20 matching lines...) Expand all
95 props = {'blamelist': blamelist, 95 props = {'blamelist': blamelist,
96 'buildername': 'Syzygy Smoke Test', 96 'buildername': 'Syzygy Smoke Test',
97 'revision': revision} 97 'revision': revision}
98 api.trigger(props) 98 api.trigger(props)
99 99
100 100
101 def GenTests(api): 101 def GenTests(api):
102 """Generates an end-to-end successful test for each builder.""" 102 """Generates an end-to-end successful test for each builder."""
103 for buildername in BUILDERS.iterkeys(): 103 for buildername in BUILDERS.iterkeys():
104 yield api.syzygy.generate_test(api, buildername) 104 yield api.syzygy.generate_test(api, buildername)
OLDNEW
« no previous file with comments | « scripts/slave/recipes/swarming/staging.py ('k') | scripts/slave/recipes/syzygy/coverage.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698