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