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

Side by Side Diff: recipe_modules/git/example.expected/count-objects_delta.json

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

Powered by Google App Engine
This is Rietveld 408576698