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

Side by Side Diff: client/tools/parallel_execution.py

Issue 1932143003: run_isolated: support non-isolated commands (Closed) Base URL: https://chromium.googlesource.com/external/github.com/luci/luci-py@run-isolated-download-stats
Patch Set: 80cols Created 4 years, 7 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 | « client/tests/run_isolated_test.py ('k') | no next file » | 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 LUCI Authors. All rights reserved. 1 # Copyright 2014 The LUCI Authors. All rights reserved.
2 # Use of this source code is governed by the Apache v2.0 license that can be 2 # Use of this source code is governed by the Apache v2.0 license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 """Toolset to run multiple Swarming tasks in parallel.""" 5 """Toolset to run multiple Swarming tasks in parallel."""
6 6
7 import getpass 7 import getpass
8 import json 8 import json
9 import os 9 import os
10 import optparse 10 import optparse
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 help='Seconds to allow the task to be pending for a bot to run before ' 178 help='Seconds to allow the task to be pending for a bot to run before '
179 'this task request expires.') 179 'this task request expires.')
180 180
181 def parse_args(self, *args, **kwargs): 181 def parse_args(self, *args, **kwargs):
182 options, args = logging_utils.OptionParserWithLogging.parse_args( 182 options, args = logging_utils.OptionParserWithLogging.parse_args(
183 self, *args, **kwargs) 183 self, *args, **kwargs)
184 options.swarming = options.swarming.rstrip('/') 184 options.swarming = options.swarming.rstrip('/')
185 if not options.swarming: 185 if not options.swarming:
186 self.error('--swarming is required.') 186 self.error('--swarming is required.')
187 auth.process_auth_options(self, options) 187 auth.process_auth_options(self, options)
188 isolateserver.process_isolate_server_options(self, options, False) 188 isolateserver.process_isolate_server_options(self, options, False, True)
189 options.dimensions = dict(options.dimensions) 189 options.dimensions = dict(options.dimensions)
190 return options, args 190 return options, args
191 191
192 def format_description(self, _): 192 def format_description(self, _):
193 return self.description 193 return self.description
OLDNEW
« no previous file with comments | « client/tests/run_isolated_test.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698