OLD | NEW |
1 [ | 1 [ |
2 { | 2 { |
3 "cmd": [ | 3 "cmd": [ |
4 "python", | 4 "python", |
5 "-u", | 5 "-u", |
6 "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", | 6 "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", |
7 "--path", | 7 "--path", |
8 "[CWD]/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 ], |
22 "cwd": "[CWD]/swarming.client", | 23 "cwd": "[SLAVE_BUILD]/swarming.client", |
23 "name": "git fetch (swarming_client)" | 24 "name": "git fetch (swarming_client)" |
24 }, | 25 }, |
25 { | 26 { |
26 "cmd": [ | 27 "cmd": [ |
27 "git", | 28 "git", |
28 "checkout", | 29 "checkout", |
29 "-f", | 30 "-f", |
30 "FETCH_HEAD" | 31 "FETCH_HEAD" |
31 ], | 32 ], |
32 "cwd": "[CWD]/swarming.client", | 33 "cwd": "[SLAVE_BUILD]/swarming.client", |
33 "name": "git checkout (swarming_client)" | 34 "name": "git checkout (swarming_client)" |
34 }, | 35 }, |
35 { | 36 { |
36 "cmd": [ | 37 "cmd": [ |
37 "git", | 38 "git", |
38 "rev-parse", | 39 "rev-parse", |
39 "HEAD" | 40 "HEAD" |
40 ], | 41 ], |
41 "cwd": "[CWD]/swarming.client", | 42 "cwd": "[SLAVE_BUILD]/swarming.client", |
42 "name": "read revision", | 43 "name": "read revision", |
43 "stdout": "/path/to/tmp/", | 44 "stdout": "/path/to/tmp/", |
44 "~followup_annotations": [ | 45 "~followup_annotations": [ |
45 "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@" | 46 "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@" |
46 ] | 47 ] |
47 }, | 48 }, |
48 { | 49 { |
49 "cmd": [ | 50 "cmd": [ |
50 "git", | 51 "git", |
51 "clean", | 52 "clean", |
52 "-f", | 53 "-f", |
53 "-d", | 54 "-d", |
54 "-x" | 55 "-x" |
55 ], | 56 ], |
56 "cwd": "[CWD]/swarming.client", | 57 "cwd": "[SLAVE_BUILD]/swarming.client", |
57 "name": "git clean (swarming_client)" | 58 "name": "git clean (swarming_client)" |
58 }, | 59 }, |
59 { | 60 { |
60 "cmd": [ | 61 "cmd": [ |
61 "git", | 62 "git", |
62 "submodule", | 63 "submodule", |
63 "sync" | 64 "sync" |
64 ], | 65 ], |
65 "cwd": "[CWD]/swarming.client", | 66 "cwd": "[SLAVE_BUILD]/swarming.client", |
66 "name": "submodule sync (swarming_client)" | 67 "name": "submodule sync (swarming_client)" |
67 }, | 68 }, |
68 { | 69 { |
69 "cmd": [ | 70 "cmd": [ |
70 "git", | 71 "git", |
71 "submodule", | 72 "submodule", |
72 "update", | 73 "update", |
73 "--init", | 74 "--init", |
74 "--recursive" | 75 "--recursive" |
75 ], | 76 ], |
76 "cwd": "[CWD]/swarming.client", | 77 "cwd": "[SLAVE_BUILD]/swarming.client", |
77 "name": "submodule update (swarming_client)" | 78 "name": "submodule update (swarming_client)" |
78 }, | 79 }, |
79 { | 80 { |
80 "cmd": [ | 81 "cmd": [ |
81 "cat" | 82 "cat" |
82 ], | 83 ], |
| 84 "cwd": "[SLAVE_BUILD]", |
83 "name": "read test spec", | 85 "name": "read test spec", |
84 "stdout": "/path/to/tmp/json", | 86 "stdout": "/path/to/tmp/json", |
85 "~followup_annotations": [ | 87 "~followup_annotations": [ |
86 "@@@STEP_LOG_LINE@json.output@[@@@", | 88 "@@@STEP_LOG_LINE@json.output@[@@@", |
87 "@@@STEP_LOG_LINE@json.output@ \"test1\", @@@", | 89 "@@@STEP_LOG_LINE@json.output@ \"test1\", @@@", |
88 "@@@STEP_LOG_LINE@json.output@ \"test2\"@@@", | 90 "@@@STEP_LOG_LINE@json.output@ \"test2\"@@@", |
89 "@@@STEP_LOG_LINE@json.output@]@@@", | 91 "@@@STEP_LOG_LINE@json.output@]@@@", |
90 "@@@STEP_LOG_END@json.output@@@" | 92 "@@@STEP_LOG_END@json.output@@@" |
91 ] | 93 ] |
92 }, | 94 }, |
93 { | 95 { |
94 "cmd": [ | 96 "cmd": [ |
95 "python", | 97 "python", |
96 "-u", | 98 "-u", |
97 "RECIPE_MODULE[build::isolate]/resources/find_isolated_tests.py", | 99 "RECIPE_MODULE[build::isolate]/resources/find_isolated_tests.py", |
98 "--build-dir", | 100 "--build-dir", |
99 "[ROOT]/b/build", | 101 "[BUILD]", |
100 "--output-json", | 102 "--output-json", |
101 "/path/to/tmp/json" | 103 "/path/to/tmp/json" |
102 ], | 104 ], |
| 105 "cwd": "[SLAVE_BUILD]", |
103 "name": "find isolated tests", | 106 "name": "find isolated tests", |
104 "~followup_annotations": [ | 107 "~followup_annotations": [ |
105 "@@@STEP_LOG_LINE@json.output@{@@@", | 108 "@@@STEP_LOG_LINE@json.output@{@@@", |
106 "@@@STEP_LOG_LINE@json.output@ \"extra_test\": \"[dummy hash for extra_te
st]\", @@@", | 109 "@@@STEP_LOG_LINE@json.output@ \"extra_test\": \"[dummy hash for extra_te
st]\", @@@", |
107 "@@@STEP_LOG_LINE@json.output@ \"test1\": \"[dummy hash for test1]\", @@@
", | 110 "@@@STEP_LOG_LINE@json.output@ \"test1\": \"[dummy hash for test1]\", @@@
", |
108 "@@@STEP_LOG_LINE@json.output@ \"test2\": \"[dummy hash for test2]\"@@@", | 111 "@@@STEP_LOG_LINE@json.output@ \"test2\": \"[dummy hash for test2]\"@@@", |
109 "@@@STEP_LOG_LINE@json.output@}@@@", | 112 "@@@STEP_LOG_LINE@json.output@}@@@", |
110 "@@@STEP_LOG_END@json.output@@@", | 113 "@@@STEP_LOG_END@json.output@@@", |
111 "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"test1\": \"[dummy hash for test1]\"
, \"test2\": \"[dummy hash for test2]\"}@@@" | 114 "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"test1\": \"[dummy hash for test1]\"
, \"test2\": \"[dummy hash for test2]\"}@@@" |
112 ] | 115 ] |
113 }, | 116 }, |
114 { | 117 { |
115 "cmd": [ | 118 "cmd": [ |
116 "python", | 119 "python", |
117 "-u", | 120 "-u", |
118 "RECIPE_MODULE[build::isolate]/resources/isolate.py", | 121 "RECIPE_MODULE[build::isolate]/resources/isolate.py", |
119 "[CWD]/swarming.client", | 122 "[SLAVE_BUILD]/swarming.client", |
120 "batcharchive", | 123 "batcharchive", |
121 "--dump-json", | 124 "--dump-json", |
122 "/path/to/tmp/json", | 125 "/path/to/tmp/json", |
123 "--isolate-server", | 126 "--isolate-server", |
124 "https://isolateserver-dev.appspot.com", | 127 "https://isolateserver-dev.appspot.com", |
125 "[ROOT]/b/build/test1.isolated.gen.json", | 128 "[BUILD]/test1.isolated.gen.json", |
126 "[ROOT]/b/build/test2.isolated.gen.json" | 129 "[BUILD]/test2.isolated.gen.json" |
127 ], | 130 ], |
| 131 "cwd": "[SLAVE_BUILD]", |
128 "name": "isolate tests", | 132 "name": "isolate tests", |
129 "~followup_annotations": [ | 133 "~followup_annotations": [ |
130 "@@@STEP_LOG_LINE@json.output@{@@@", | 134 "@@@STEP_LOG_LINE@json.output@{@@@", |
131 "@@@STEP_LOG_LINE@json.output@ \"test1\": \"[dummy hash for test1]\", @@@
", | 135 "@@@STEP_LOG_LINE@json.output@ \"test1\": \"[dummy hash for test1]\", @@@
", |
132 "@@@STEP_LOG_LINE@json.output@ \"test2\": \"[dummy hash for test2]\"@@@", | 136 "@@@STEP_LOG_LINE@json.output@ \"test2\": \"[dummy hash for test2]\"@@@", |
133 "@@@STEP_LOG_LINE@json.output@}@@@", | 137 "@@@STEP_LOG_LINE@json.output@}@@@", |
134 "@@@STEP_LOG_END@json.output@@@", | 138 "@@@STEP_LOG_END@json.output@@@", |
135 "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"test1\": \"[dummy hash for test1]\"
, \"test2\": \"[dummy hash for test2]\"}@@@" | 139 "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"test1\": \"[dummy hash for test1]\"
, \"test2\": \"[dummy hash for test2]\"}@@@" |
136 ] | 140 ] |
137 }, | 141 }, |
138 { | 142 { |
139 "name": "$result", | 143 "name": "$result", |
140 "recipe_result": null, | 144 "recipe_result": null, |
141 "status_code": 0 | 145 "status_code": 0 |
142 } | 146 } |
143 ] | 147 ] |
OLD | NEW |