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

Side by Side Diff: scripts/slave/recipe_modules/isolate/example.expected/basic.json

Issue 1115453002: Recipes: make cwd default to slave_build (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: rebase Created 5 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 | Annotate | Revision Log
OLDNEW
1 [ 1 [
2 { 2 {
3 "cmd": [ 3 "cmd": [
4 "python", 4 "python",
5 "-u", 5 "-u",
6 "[BUILD]/scripts/slave/git_setup.py", 6 "[BUILD]/scripts/slave/git_setup.py",
7 "--path", 7 "--path",
8 "[SLAVE_BUILD]/swarming.client", 8 "[SLAVE_BUILD]/swarming.client",
9 "--url", 9 "--url",
10 "https://chromium.googlesource.com/external/swarming.client.git" 10 "https://chromium.googlesource.com/external/swarming.client.git"
11 ], 11 ],
12 "cwd": "[SLAVE_BUILD]",
12 "name": "git setup (swarming_client)" 13 "name": "git setup (swarming_client)"
13 }, 14 },
14 { 15 {
15 "cmd": [ 16 "cmd": [
16 "git", 17 "git",
17 "retry", 18 "retry",
18 "fetch", 19 "fetch",
19 "origin", 20 "origin",
20 "master" 21 "master"
21 ], 22 ],
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 "--init", 61 "--init",
61 "--recursive" 62 "--recursive"
62 ], 63 ],
63 "cwd": "[SLAVE_BUILD]/swarming.client", 64 "cwd": "[SLAVE_BUILD]/swarming.client",
64 "name": "submodule update (swarming_client)" 65 "name": "submodule update (swarming_client)"
65 }, 66 },
66 { 67 {
67 "cmd": [ 68 "cmd": [
68 "cat" 69 "cat"
69 ], 70 ],
71 "cwd": "[SLAVE_BUILD]",
70 "name": "read test spec", 72 "name": "read test spec",
71 "stdout": "/path/to/tmp/json", 73 "stdout": "/path/to/tmp/json",
72 "~followup_annotations": [ 74 "~followup_annotations": [
73 "@@@STEP_LOG_LINE@json.output@[@@@", 75 "@@@STEP_LOG_LINE@json.output@[@@@",
74 "@@@STEP_LOG_LINE@json.output@ \"test1\", @@@", 76 "@@@STEP_LOG_LINE@json.output@ \"test1\", @@@",
75 "@@@STEP_LOG_LINE@json.output@ \"test2\"@@@", 77 "@@@STEP_LOG_LINE@json.output@ \"test2\"@@@",
76 "@@@STEP_LOG_LINE@json.output@]@@@", 78 "@@@STEP_LOG_LINE@json.output@]@@@",
77 "@@@STEP_LOG_END@json.output@@@" 79 "@@@STEP_LOG_END@json.output@@@"
78 ] 80 ]
79 }, 81 },
80 { 82 {
81 "cmd": [ 83 "cmd": [
82 "python", 84 "python",
83 "-u", 85 "-u",
84 "RECIPE_MODULE[isolate]/resources/find_isolated_tests.py", 86 "RECIPE_MODULE[isolate]/resources/find_isolated_tests.py",
85 "--build-dir", 87 "--build-dir",
86 "[BUILD]", 88 "[BUILD]",
87 "--output-json", 89 "--output-json",
88 "/path/to/tmp/json" 90 "/path/to/tmp/json"
89 ], 91 ],
92 "cwd": "[SLAVE_BUILD]",
90 "name": "find isolated tests", 93 "name": "find isolated tests",
91 "~followup_annotations": [ 94 "~followup_annotations": [
92 "@@@STEP_LOG_LINE@json.output@{@@@", 95 "@@@STEP_LOG_LINE@json.output@{@@@",
93 "@@@STEP_LOG_LINE@json.output@ \"test1\": \"[dummy hash for test1]\", @@@ ", 96 "@@@STEP_LOG_LINE@json.output@ \"test1\": \"[dummy hash for test1]\", @@@ ",
94 "@@@STEP_LOG_LINE@json.output@ \"test2\": \"[dummy hash for test2]\"@@@", 97 "@@@STEP_LOG_LINE@json.output@ \"test2\": \"[dummy hash for test2]\"@@@",
95 "@@@STEP_LOG_LINE@json.output@}@@@", 98 "@@@STEP_LOG_LINE@json.output@}@@@",
96 "@@@STEP_LOG_END@json.output@@@", 99 "@@@STEP_LOG_END@json.output@@@",
97 "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"test1\": \"[dummy hash for test1]\" , \"test2\": \"[dummy hash for test2]\"}@@@" 100 "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"test1\": \"[dummy hash for test1]\" , \"test2\": \"[dummy hash for test2]\"}@@@"
98 ] 101 ]
99 }, 102 },
100 { 103 {
101 "cmd": [ 104 "cmd": [
102 "python", 105 "python",
103 "-u", 106 "-u",
104 "[SLAVE_BUILD]/swarming.client/isolate.py", 107 "[SLAVE_BUILD]/swarming.client/isolate.py",
105 "batcharchive", 108 "batcharchive",
106 "--dump-json", 109 "--dump-json",
107 "/path/to/tmp/json", 110 "/path/to/tmp/json",
108 "--isolate-server", 111 "--isolate-server",
109 "https://isolateserver-dev.appspot.com", 112 "https://isolateserver-dev.appspot.com",
110 "[BUILD]/test1.isolated.gen.json", 113 "[BUILD]/test1.isolated.gen.json",
111 "[BUILD]/test2.isolated.gen.json" 114 "[BUILD]/test2.isolated.gen.json"
112 ], 115 ],
116 "cwd": "[SLAVE_BUILD]",
113 "name": "isolate tests", 117 "name": "isolate tests",
114 "~followup_annotations": [ 118 "~followup_annotations": [
115 "@@@STEP_LOG_LINE@json.output@{@@@", 119 "@@@STEP_LOG_LINE@json.output@{@@@",
116 "@@@STEP_LOG_LINE@json.output@ \"test1\": \"[dummy hash for test1]\", @@@ ", 120 "@@@STEP_LOG_LINE@json.output@ \"test1\": \"[dummy hash for test1]\", @@@ ",
117 "@@@STEP_LOG_LINE@json.output@ \"test2\": \"[dummy hash for test2]\"@@@", 121 "@@@STEP_LOG_LINE@json.output@ \"test2\": \"[dummy hash for test2]\"@@@",
118 "@@@STEP_LOG_LINE@json.output@}@@@", 122 "@@@STEP_LOG_LINE@json.output@}@@@",
119 "@@@STEP_LOG_END@json.output@@@", 123 "@@@STEP_LOG_END@json.output@@@",
120 "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"test1\": \"[dummy hash for test1]\" , \"test2\": \"[dummy hash for test2]\"}@@@" 124 "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"test1\": \"[dummy hash for test1]\" , \"test2\": \"[dummy hash for test2]\"}@@@"
121 ] 125 ]
122 } 126 }
123 ] 127 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698