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