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]/src", | 8 "[SLAVE_BUILD]/src", |
9 "--url", | 9 "--url", |
10 "https://chromium.googlesource.com/chromium/src.git" | 10 "https://chromium.googlesource.com/chromium/src.git" |
11 ], | 11 ], |
| 12 "cwd": "[SLAVE_BUILD]", |
12 "name": "git setup" | 13 "name": "git setup" |
13 }, | 14 }, |
14 { | 15 { |
15 "cmd": [ | 16 "cmd": [ |
16 "git", | 17 "git", |
17 "count-objects", | 18 "count-objects", |
18 "-v" | 19 "-v" |
19 ], | 20 ], |
20 "cwd": "[CWD]/src", | 21 "cwd": "[SLAVE_BUILD]/src", |
21 "name": "count-objects before git fetch", | 22 "name": "count-objects before git fetch", |
22 "stdout": "/path/to/tmp/", | 23 "stdout": "/path/to/tmp/", |
23 "~followup_annotations": [ | 24 "~followup_annotations": [ |
24 "@@@STEP_LOG_LINE@result@ count: 1000@@@", | 25 "@@@STEP_LOG_LINE@result@ count: 1000@@@", |
25 "@@@STEP_LOG_LINE@result@ garbage: 1000@@@", | 26 "@@@STEP_LOG_LINE@result@ garbage: 1000@@@", |
26 "@@@STEP_LOG_LINE@result@ packs: 1000@@@", | 27 "@@@STEP_LOG_LINE@result@ packs: 1000@@@", |
27 "@@@STEP_LOG_LINE@result@ in_pack: 1000@@@", | 28 "@@@STEP_LOG_LINE@result@ in_pack: 1000@@@", |
28 "@@@STEP_LOG_LINE@result@ size-pack: 1000@@@", | 29 "@@@STEP_LOG_LINE@result@ size-pack: 1000@@@", |
29 "@@@STEP_LOG_LINE@result@ size-garbage: 1000@@@", | 30 "@@@STEP_LOG_LINE@result@ size-garbage: 1000@@@", |
30 "@@@STEP_LOG_LINE@result@ prune-packable: 1000@@@", | 31 "@@@STEP_LOG_LINE@result@ prune-packable: 1000@@@", |
31 "@@@STEP_LOG_LINE@result@ size: 1000@@@", | 32 "@@@STEP_LOG_LINE@result@ size: 1000@@@", |
32 "@@@STEP_LOG_END@result@@@" | 33 "@@@STEP_LOG_END@result@@@" |
33 ] | 34 ] |
34 }, | 35 }, |
35 { | 36 { |
36 "cmd": [ | 37 "cmd": [ |
37 "git", | 38 "git", |
38 "retry", | 39 "retry", |
39 "fetch", | 40 "fetch", |
40 "origin", | 41 "origin", |
41 "master", | 42 "master", |
42 "--recurse-submodules" | 43 "--recurse-submodules" |
43 ], | 44 ], |
44 "cwd": "[CWD]/src", | 45 "cwd": "[SLAVE_BUILD]/src", |
45 "name": "git fetch" | 46 "name": "git fetch" |
46 }, | 47 }, |
47 { | 48 { |
48 "cmd": [ | 49 "cmd": [ |
49 "git", | 50 "git", |
50 "count-objects", | 51 "count-objects", |
51 "-v" | 52 "-v" |
52 ], | 53 ], |
53 "cwd": "[CWD]/src", | 54 "cwd": "[SLAVE_BUILD]/src", |
54 "name": "count-objects after git fetch", | 55 "name": "count-objects after git fetch", |
55 "stdout": "/path/to/tmp/", | 56 "stdout": "/path/to/tmp/", |
56 "~followup_annotations": [ | 57 "~followup_annotations": [ |
57 "@@@STEP_TEXT@size delta: +1.95 MiB@@@", | 58 "@@@STEP_TEXT@size delta: +1.95 MiB@@@", |
58 "@@@STEP_LOG_LINE@result@ count: 2000@@@", | 59 "@@@STEP_LOG_LINE@result@ count: 2000@@@", |
59 "@@@STEP_LOG_LINE@result@ garbage: 2000@@@", | 60 "@@@STEP_LOG_LINE@result@ garbage: 2000@@@", |
60 "@@@STEP_LOG_LINE@result@ packs: 2000@@@", | 61 "@@@STEP_LOG_LINE@result@ packs: 2000@@@", |
61 "@@@STEP_LOG_LINE@result@ in_pack: 2000@@@", | 62 "@@@STEP_LOG_LINE@result@ in_pack: 2000@@@", |
62 "@@@STEP_LOG_LINE@result@ size-pack: 2000@@@", | 63 "@@@STEP_LOG_LINE@result@ size-pack: 2000@@@", |
63 "@@@STEP_LOG_LINE@result@ size-garbage: 2000@@@", | 64 "@@@STEP_LOG_LINE@result@ size-garbage: 2000@@@", |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
96 "@@@STEP_LOG_END@delta@@@" | 97 "@@@STEP_LOG_END@delta@@@" |
97 ] | 98 ] |
98 }, | 99 }, |
99 { | 100 { |
100 "cmd": [ | 101 "cmd": [ |
101 "git", | 102 "git", |
102 "checkout", | 103 "checkout", |
103 "-f", | 104 "-f", |
104 "FETCH_HEAD" | 105 "FETCH_HEAD" |
105 ], | 106 ], |
106 "cwd": "[CWD]/src", | 107 "cwd": "[SLAVE_BUILD]/src", |
107 "name": "git checkout" | 108 "name": "git checkout" |
108 }, | 109 }, |
109 { | 110 { |
110 "cmd": [ | 111 "cmd": [ |
111 "git", | 112 "git", |
112 "rev-parse", | 113 "rev-parse", |
113 "HEAD" | 114 "HEAD" |
114 ], | 115 ], |
115 "cwd": "[CWD]/src", | 116 "cwd": "[SLAVE_BUILD]/src", |
116 "name": "read revision", | 117 "name": "read revision", |
117 "stdout": "/path/to/tmp/", | 118 "stdout": "/path/to/tmp/", |
118 "~followup_annotations": [ | 119 "~followup_annotations": [ |
119 "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@" | 120 "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@" |
120 ] | 121 ] |
121 }, | 122 }, |
122 { | 123 { |
123 "cmd": [ | 124 "cmd": [ |
124 "git", | 125 "git", |
125 "clean", | 126 "clean", |
126 "-f", | 127 "-f", |
127 "-d", | 128 "-d", |
128 "-x" | 129 "-x" |
129 ], | 130 ], |
130 "cwd": "[CWD]/src", | 131 "cwd": "[SLAVE_BUILD]/src", |
131 "name": "git clean" | 132 "name": "git clean" |
132 }, | 133 }, |
133 { | 134 { |
134 "cmd": [ | 135 "cmd": [ |
135 "git", | 136 "git", |
136 "submodule", | 137 "submodule", |
137 "sync" | 138 "sync" |
138 ], | 139 ], |
139 "cwd": "[CWD]/src", | 140 "cwd": "[SLAVE_BUILD]/src", |
140 "name": "submodule sync" | 141 "name": "submodule sync" |
141 }, | 142 }, |
142 { | 143 { |
143 "cmd": [ | 144 "cmd": [ |
144 "git", | 145 "git", |
145 "submodule", | 146 "submodule", |
146 "update", | 147 "update", |
147 "--init", | 148 "--init", |
148 "--recursive" | 149 "--recursive" |
149 ], | 150 ], |
150 "cwd": "[CWD]/src", | 151 "cwd": "[SLAVE_BUILD]/src", |
151 "name": "submodule update" | 152 "name": "submodule update" |
152 }, | 153 }, |
153 { | 154 { |
154 "cmd": [ | 155 "cmd": [ |
155 "git", | 156 "git", |
156 "-c", | 157 "-c", |
157 "foo=bar", | 158 "foo=bar", |
158 "count-objects", | 159 "count-objects", |
159 "-v" | 160 "-v" |
160 ], | 161 ], |
161 "cwd": "[CWD]/src", | 162 "cwd": "[SLAVE_BUILD]/src", |
162 "name": "count-objects", | 163 "name": "count-objects", |
163 "stdout": "/path/to/tmp/" | 164 "stdout": "/path/to/tmp/" |
164 }, | 165 }, |
165 { | 166 { |
166 "cmd": [ | 167 "cmd": [ |
167 "git", | 168 "git", |
168 "config", | 169 "config", |
169 "--get", | 170 "--get", |
170 "remote.origin.url" | 171 "remote.origin.url" |
171 ], | 172 ], |
172 "cwd": "[CWD]/src", | 173 "cwd": "[SLAVE_BUILD]/src", |
173 "name": "git config remote.origin.url", | 174 "name": "git config remote.origin.url", |
174 "stdout": "/path/to/tmp/", | 175 "stdout": "/path/to/tmp/", |
175 "~followup_annotations": [ | 176 "~followup_annotations": [ |
176 "@@@STEP_TEXT@foo@@@" | 177 "@@@STEP_TEXT@foo@@@" |
177 ] | 178 ] |
178 }, | 179 }, |
179 { | 180 { |
180 "cmd": [ | 181 "cmd": [ |
181 "git", | 182 "git", |
182 "show", | 183 "show", |
183 "HEAD", | 184 "HEAD", |
184 "--format=%at", | 185 "--format=%at", |
185 "-s" | 186 "-s" |
186 ], | 187 ], |
187 "cwd": "[CWD]/src", | 188 "cwd": "[SLAVE_BUILD]/src", |
188 "name": "git show", | 189 "name": "git show", |
189 "stdout": "/path/to/tmp/" | 190 "stdout": "/path/to/tmp/" |
190 }, | 191 }, |
191 { | 192 { |
192 "cmd": [ | 193 "cmd": [ |
193 "git", | 194 "git", |
194 "fetch", | 195 "fetch", |
195 "origin", | 196 "origin", |
196 "--tags" | 197 "--tags" |
197 ], | 198 ], |
198 "cwd": "[CWD]/src", | 199 "cwd": "[SLAVE_BUILD]/src", |
199 "name": "git fetch tags" | 200 "name": "git fetch tags" |
200 }, | 201 }, |
201 { | 202 { |
202 "cmd": [ | 203 "cmd": [ |
203 "git", | 204 "git", |
204 "status" | 205 "status" |
205 ], | 206 ], |
206 "cwd": "[CWD]/src", | 207 "cwd": "[SLAVE_BUILD]/src", |
207 "name": "git status" | 208 "name": "git status" |
208 }, | 209 }, |
209 { | 210 { |
210 "cmd": [ | 211 "cmd": [ |
211 "git", | 212 "git", |
212 "status" | 213 "status" |
213 ], | 214 ], |
214 "cwd": "[CWD]/src", | 215 "cwd": "[SLAVE_BUILD]/src", |
215 "name": "git status can_fail_build" | 216 "name": "git status can_fail_build" |
216 }, | 217 }, |
217 { | 218 { |
218 "cmd": [ | 219 "cmd": [ |
219 "git", | 220 "git", |
220 "status" | 221 "status" |
221 ], | 222 ], |
222 "cwd": "[CWD]/src", | 223 "cwd": "[SLAVE_BUILD]/src", |
223 "name": "git status cannot_fail_build" | 224 "name": "git status cannot_fail_build" |
224 }, | 225 }, |
225 { | 226 { |
226 "cmd": [ | 227 "cmd": [ |
227 "git", | 228 "git", |
228 "rebase", | 229 "rebase", |
229 "origin/master" | 230 "origin/master" |
230 ], | 231 ], |
231 "cwd": "[CWD]/src", | 232 "cwd": "[SLAVE_BUILD]/src", |
232 "name": "my repo rebase" | 233 "name": "my repo rebase" |
233 }, | 234 }, |
234 { | 235 { |
235 "cmd": [ | 236 "cmd": [ |
236 "git", | 237 "git", |
237 "bundle", | 238 "bundle", |
238 "create", | 239 "create", |
239 "[CWD]/all.bundle", | 240 "[SLAVE_BUILD]/all.bundle", |
240 "--all" | 241 "--all" |
241 ], | 242 ], |
242 "cwd": "[CWD]/src", | 243 "cwd": "[SLAVE_BUILD]/src", |
243 "name": "git bundle" | 244 "name": "git bundle" |
244 }, | 245 }, |
245 { | 246 { |
246 "name": "$result", | 247 "name": "$result", |
247 "recipe_result": null, | 248 "recipe_result": null, |
248 "status_code": 0 | 249 "status_code": 0 |
249 } | 250 } |
250 ] | 251 ] |
OLD | NEW |