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

Issue 1932143003: run_isolated: support non-isolated commands (Closed)

Created:
4 years, 7 months ago by nodir
Modified:
4 years, 7 months ago
Reviewers:
M-A Ruel
CC:
chromium-reviews, infra-reviews+luci-py_chromium.org
Base URL:
https://chromium.googlesource.com/external/github.com/luci/luci-py@run-isolated-download-stats
Target Ref:
refs/heads/master
Project:
luci-py
Visibility:
Public.

Description

run_isolated: support non-isolated commands Make --isolated option optional: * if not specified, treat args as a command, so run_isolated.py becomes a wrapper * --isolate-server option is required only if --isolated is specified or an arg contains ${ISOLATED_OUTDIR} * even if input isolated hash is not provided, we still upload output files if any, so name "run_isolated" still makes sense R=maruel@chromium.org BUG=601022 Committed: https://github.com/luci/luci-py/commit/ff263d1538f3434f1d92ee14c22de87beab596e4

Patch Set 1 #

Patch Set 2 : rebased #

Total comments: 12

Patch Set 3 : s/required=False/required/ #

Patch Set 4 : addressed comments #

Total comments: 1

Patch Set 5 : 80cols #

Unified diffs Side-by-side diffs Delta from patch set Stats (+142 lines, -62 lines) Patch
M client/isolate.py View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M client/isolateserver.py View 1 2 3 4 chunks +10 lines, -6 lines 0 comments Download
M client/run_isolated.py View 1 2 3 4 13 chunks +95 lines, -45 lines 0 comments Download
M client/swarming.py View 1 2 1 chunk +1 line, -1 line 0 comments Download
M client/tests/run_isolated_test.py View 1 2 3 8 chunks +33 lines, -7 lines 0 comments Download
M client/tools/parallel_execution.py View 1 2 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 14 (7 generated)
nodir
PTAL
4 years, 7 months ago (2016-04-29 22:41:22 UTC) #2
M-A Ruel
I'm OOO today, will try to complete the review later today at worst tomorrow morning. ...
4 years, 7 months ago (2016-05-02 14:18:14 UTC) #3
M-A Ruel
https://codereview.chromium.org/1932143003/diff/20001/client/run_isolated.py File client/run_isolated.py (right): https://codereview.chromium.org/1932143003/diff/20001/client/run_isolated.py#newcode456 client/run_isolated.py:456: the .isolated file. Otherwise, the command line to execute. ...
4 years, 7 months ago (2016-05-02 14:51:17 UTC) #4
nodir
https://codereview.chromium.org/1932143003/diff/20001/client/isolateserver.py File client/isolateserver.py (right): https://codereview.chromium.org/1932143003/diff/20001/client/isolateserver.py#newcode2184 client/isolateserver.py:2184: parser, options, set_exception_handler, required=True): On 2016/05/02 14:18:14, M-A Ruel ...
4 years, 7 months ago (2016-05-02 17:43:23 UTC) #8
M-A Ruel
lgtm, thanks! https://codereview.chromium.org/1932143003/diff/120001/client/run_isolated.py File client/run_isolated.py (right): https://codereview.chromium.org/1932143003/diff/120001/client/run_isolated.py#newcode445 client/run_isolated.py:445: command, isolated_hash, storage, cache, leak_temp_dir, result_json, root_dir, ...
4 years, 7 months ago (2016-05-03 13:55:23 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1932143003/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1932143003/140001
4 years, 7 months ago (2016-05-03 16:37:31 UTC) #12
commit-bot: I haz the power
4 years, 7 months ago (2016-05-03 16:39:59 UTC) #14
Message was sent while issue was closed.
Committed patchset #5 (id:140001) as
https://github.com/luci/luci-py/commit/ff263d1538f3434f1d92ee14c22de87beab596e4

Powered by Google App Engine
This is Rietveld 408576698