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