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

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

Issue 1917263002: Revert of 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: 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 "[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 "retry", 18 "retry",
18 "fetch", 19 "fetch",
19 "origin", 20 "origin",
20 "master", 21 "master",
21 "--recurse-submodules" 22 "--recurse-submodules"
22 ], 23 ],
23 "cwd": "[CWD]/src", 24 "cwd": "[SLAVE_BUILD]/src",
24 "name": "git fetch" 25 "name": "git fetch"
25 }, 26 },
26 { 27 {
27 "cmd": [ 28 "cmd": [
28 "git", 29 "git",
29 "checkout", 30 "checkout",
30 "-f", 31 "-f",
31 "FETCH_HEAD" 32 "FETCH_HEAD"
32 ], 33 ],
33 "cwd": "[CWD]/src", 34 "cwd": "[SLAVE_BUILD]/src",
34 "name": "git checkout" 35 "name": "git checkout"
35 }, 36 },
36 { 37 {
37 "cmd": [ 38 "cmd": [
38 "git", 39 "git",
39 "rev-parse", 40 "rev-parse",
40 "HEAD" 41 "HEAD"
41 ], 42 ],
42 "cwd": "[CWD]/src", 43 "cwd": "[SLAVE_BUILD]/src",
43 "name": "read revision", 44 "name": "read revision",
44 "stdout": "/path/to/tmp/", 45 "stdout": "/path/to/tmp/",
45 "~followup_annotations": [ 46 "~followup_annotations": [
46 "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@" 47 "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@"
47 ] 48 ]
48 }, 49 },
49 { 50 {
50 "cmd": [ 51 "cmd": [
51 "git", 52 "git",
52 "clean", 53 "clean",
53 "-f", 54 "-f",
54 "-d", 55 "-d",
55 "-x" 56 "-x"
56 ], 57 ],
57 "cwd": "[CWD]/src", 58 "cwd": "[SLAVE_BUILD]/src",
58 "name": "git clean" 59 "name": "git clean"
59 }, 60 },
60 { 61 {
61 "cmd": [ 62 "cmd": [
62 "git", 63 "git",
63 "submodule", 64 "submodule",
64 "sync" 65 "sync"
65 ], 66 ],
66 "cwd": "[CWD]/src", 67 "cwd": "[SLAVE_BUILD]/src",
67 "name": "submodule sync" 68 "name": "submodule sync"
68 }, 69 },
69 { 70 {
70 "cmd": [ 71 "cmd": [
71 "git", 72 "git",
72 "submodule", 73 "submodule",
73 "update", 74 "update",
74 "--init", 75 "--init",
75 "--recursive" 76 "--recursive"
76 ], 77 ],
77 "cwd": "[CWD]/src", 78 "cwd": "[SLAVE_BUILD]/src",
78 "name": "submodule update" 79 "name": "submodule update"
79 }, 80 },
80 { 81 {
81 "cmd": [ 82 "cmd": [
82 "git", 83 "git",
83 "-c", 84 "-c",
84 "foo=bar", 85 "foo=bar",
85 "count-objects", 86 "count-objects",
86 "-v" 87 "-v"
87 ], 88 ],
88 "cwd": "[CWD]/src", 89 "cwd": "[SLAVE_BUILD]/src",
89 "name": "count-objects", 90 "name": "count-objects",
90 "stdout": "/path/to/tmp/", 91 "stdout": "/path/to/tmp/",
91 "~followup_annotations": [ 92 "~followup_annotations": [
92 "step returned non-zero exit code: 1", 93 "step returned non-zero exit code: 1",
93 "@@@STEP_EXCEPTION@@@" 94 "@@@STEP_EXCEPTION@@@"
94 ] 95 ]
95 }, 96 },
96 { 97 {
97 "cmd": [ 98 "cmd": [
98 "git", 99 "git",
99 "config", 100 "config",
100 "--get", 101 "--get",
101 "remote.origin.url" 102 "remote.origin.url"
102 ], 103 ],
103 "cwd": "[CWD]/src", 104 "cwd": "[SLAVE_BUILD]/src",
104 "name": "git config remote.origin.url", 105 "name": "git config remote.origin.url",
105 "stdout": "/path/to/tmp/", 106 "stdout": "/path/to/tmp/",
106 "~followup_annotations": [ 107 "~followup_annotations": [
107 "@@@STEP_TEXT@foo@@@" 108 "@@@STEP_TEXT@foo@@@"
108 ] 109 ]
109 }, 110 },
110 { 111 {
111 "cmd": [ 112 "cmd": [
112 "git", 113 "git",
113 "show", 114 "show",
114 "HEAD", 115 "HEAD",
115 "--format=%at", 116 "--format=%at",
116 "-s" 117 "-s"
117 ], 118 ],
118 "cwd": "[CWD]/src", 119 "cwd": "[SLAVE_BUILD]/src",
119 "name": "git show", 120 "name": "git show",
120 "stdout": "/path/to/tmp/" 121 "stdout": "/path/to/tmp/"
121 }, 122 },
122 { 123 {
123 "cmd": [ 124 "cmd": [
124 "git", 125 "git",
125 "fetch", 126 "fetch",
126 "origin", 127 "origin",
127 "--tags" 128 "--tags"
128 ], 129 ],
129 "cwd": "[CWD]/src", 130 "cwd": "[SLAVE_BUILD]/src",
130 "name": "git fetch tags" 131 "name": "git fetch tags"
131 }, 132 },
132 { 133 {
133 "cmd": [ 134 "cmd": [
134 "git", 135 "git",
135 "status" 136 "status"
136 ], 137 ],
137 "cwd": "[CWD]/src", 138 "cwd": "[SLAVE_BUILD]/src",
138 "name": "git status" 139 "name": "git status"
139 }, 140 },
140 { 141 {
141 "cmd": [ 142 "cmd": [
142 "git", 143 "git",
143 "status" 144 "status"
144 ], 145 ],
145 "cwd": "[CWD]/src", 146 "cwd": "[SLAVE_BUILD]/src",
146 "name": "git status can_fail_build" 147 "name": "git status can_fail_build"
147 }, 148 },
148 { 149 {
149 "cmd": [ 150 "cmd": [
150 "git", 151 "git",
151 "status" 152 "status"
152 ], 153 ],
153 "cwd": "[CWD]/src", 154 "cwd": "[SLAVE_BUILD]/src",
154 "name": "git status cannot_fail_build" 155 "name": "git status cannot_fail_build"
155 }, 156 },
156 { 157 {
157 "cmd": [ 158 "cmd": [
158 "git", 159 "git",
159 "rebase", 160 "rebase",
160 "origin/master" 161 "origin/master"
161 ], 162 ],
162 "cwd": "[CWD]/src", 163 "cwd": "[SLAVE_BUILD]/src",
163 "name": "my repo rebase" 164 "name": "my repo rebase"
164 }, 165 },
165 { 166 {
166 "cmd": [ 167 "cmd": [
167 "git", 168 "git",
168 "bundle", 169 "bundle",
169 "create", 170 "create",
170 "[CWD]/all.bundle", 171 "[SLAVE_BUILD]/all.bundle",
171 "--all" 172 "--all"
172 ], 173 ],
173 "cwd": "[CWD]/src", 174 "cwd": "[SLAVE_BUILD]/src",
174 "name": "git bundle" 175 "name": "git bundle"
175 }, 176 },
176 { 177 {
177 "name": "$result", 178 "name": "$result",
178 "recipe_result": null, 179 "recipe_result": null,
179 "status_code": 0 180 "status_code": 0
180 } 181 }
181 ] 182 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698