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