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