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

Unified Diff: appengine/swarming/swarming_bot/bot_code/task_runner.py

Issue 2440353004: Return specific files, not just those in $(ISOLATED_OUTDIR) (Closed)
Patch Set: Return files specified by --output in addition to those in output dir Created 4 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | client/run_isolated.py » ('j') | client/run_isolated.py » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: appengine/swarming/swarming_bot/bot_code/task_runner.py
diff --git a/appengine/swarming/swarming_bot/bot_code/task_runner.py b/appengine/swarming/swarming_bot/bot_code/task_runner.py
index 9a5fc8937abefb90fac7c03cc6f1015190af7edf..372f388abba306e56e34b4cea691df56da134435 100644
--- a/appengine/swarming/swarming_bot/bot_code/task_runner.py
+++ b/appengine/swarming/swarming_bot/bot_code/task_runner.py
@@ -107,6 +107,9 @@ def get_isolated_args(
'--isolated', isolated_input,
])
+ for output in task_details.outputs:
+ cmd.extend(['--output', output])
+
if task_details.cipd_input and task_details.cipd_input.get('packages'):
for pkg in task_details.cipd_input.get('packages'):
cmd.extend([
@@ -177,6 +180,7 @@ class TaskDetails(object):
self.hard_timeout = data['hard_timeout']
self.io_timeout = data['io_timeout']
self.task_id = data['task_id']
+ self.outputs = data.get('outputs', [])
@staticmethod
def load(path):
« no previous file with comments | « no previous file | client/run_isolated.py » ('j') | client/run_isolated.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698