blob: fd77ff35b68c58da1c322f0e291bba877c11277c [file] [log] [blame]
Eric Boren7e97dc02017-02-02 09:02:37 -05001[
2 {
3 "cmd": [
Eric Borenb7023162018-05-04 13:46:15 -04004 "python",
5 "-u",
6 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
7 "--json-output",
8 "/path/to/tmp/json",
9 "ensure-directory",
10 "--mode",
11 "0777",
12 "[START_DIR]/tmp"
13 ],
14 "infra_step": true,
15 "name": "makedirs tmp_dir"
16 },
17 {
18 "cmd": [
Stephan Altmueller63e843d2017-04-25 11:38:38 -040019 "ios.py"
20 ],
21 "env": {
Stephan Altmueller63e843d2017-04-25 11:38:38 -040022 "CHROME_HEADLESS": "1",
23 "IOS_BUNDLE_ID": "com.google.dm",
24 "IOS_MOUNT_POINT": "[START_DIR]/mnt_iosdevice",
Eric Boren0f690102018-05-15 15:04:58 -040025 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]"
Stephan Altmueller63e843d2017-04-25 11:38:38 -040026 },
27 "infra_step": true,
28 "name": "setup_device"
29 },
30 {
31 "cmd": [
32 "ideviceinstaller",
33 "-i",
Eric Boren322a8592018-06-01 10:08:53 -040034 "[START_DIR]/build/dm.app"
Stephan Altmueller63e843d2017-04-25 11:38:38 -040035 ],
36 "env": {
Stephan Altmueller63e843d2017-04-25 11:38:38 -040037 "CHROME_HEADLESS": "1",
38 "IOS_BUNDLE_ID": "com.google.dm",
39 "IOS_MOUNT_POINT": "[START_DIR]/mnt_iosdevice",
Eric Boren0f690102018-05-15 15:04:58 -040040 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]"
Stephan Altmueller63e843d2017-04-25 11:38:38 -040041 },
42 "infra_step": true,
43 "name": "install_dm"
44 },
45 {
46 "cmd": [
47 "ideviceinstaller",
48 "-i",
Eric Boren322a8592018-06-01 10:08:53 -040049 "[START_DIR]/build/nanobench.app"
Stephan Altmueller63e843d2017-04-25 11:38:38 -040050 ],
51 "env": {
Stephan Altmueller63e843d2017-04-25 11:38:38 -040052 "CHROME_HEADLESS": "1",
53 "IOS_BUNDLE_ID": "com.google.dm",
54 "IOS_MOUNT_POINT": "[START_DIR]/mnt_iosdevice",
Eric Boren0f690102018-05-15 15:04:58 -040055 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]"
Stephan Altmueller63e843d2017-04-25 11:38:38 -040056 },
57 "infra_step": true,
58 "name": "install_nanobench"
59 },
60 {
61 "cmd": [
Mike Klein20f00782017-02-02 18:55:03 -050062 "[START_DIR]/skia/platform_tools/ios/bin/ios_push_if_needed",
63 "[START_DIR]/skia/resources",
Mike Kleine0b048c2017-02-03 13:31:05 -050064 "resources"
Mike Klein20f00782017-02-02 18:55:03 -050065 ],
Eric Borenbbb24f22017-03-21 08:20:33 -040066 "env": {
Eric Borenbbb24f22017-03-21 08:20:33 -040067 "CHROME_HEADLESS": "1",
68 "IOS_BUNDLE_ID": "com.google.dm",
Stephan Altmueller63e843d2017-04-25 11:38:38 -040069 "IOS_MOUNT_POINT": "[START_DIR]/mnt_iosdevice",
Eric Boren0f690102018-05-15 15:04:58 -040070 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]"
Eric Borenbbb24f22017-03-21 08:20:33 -040071 },
Stephan Altmueller63e843d2017-04-25 11:38:38 -040072 "infra_step": true,
Mike Klein20f00782017-02-02 18:55:03 -050073 "name": "push_if_needed [START_DIR]/skia/resources"
74 },
75 {
76 "cmd": [
Eric Boren7e97dc02017-02-02 09:02:37 -050077 "python",
78 "-u",
Eric Boren3e2ffd72017-06-16 13:10:22 -040079 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
80 "--json-output",
81 "/path/to/tmp/json",
82 "copy",
Eric Boren7e97dc02017-02-02 09:02:37 -050083 "[START_DIR]/skia/infra/bots/assets/skp/VERSION",
84 "/path/to/tmp/"
85 ],
Eric Borenbbb24f22017-03-21 08:20:33 -040086 "env": {
Stephan Altmueller63e843d2017-04-25 11:38:38 -040087 "IOS_BUNDLE_ID": "com.google.dm",
88 "IOS_MOUNT_POINT": "[START_DIR]/mnt_iosdevice"
Eric Borenbbb24f22017-03-21 08:20:33 -040089 },
Eric Borena1590852017-03-20 12:48:31 -040090 "infra_step": true,
Ben Wagnerf20710e2018-03-19 16:52:37 -040091 "name": "Get skp VERSION"
Eric Boren7e97dc02017-02-02 09:02:37 -050092 },
93 {
94 "cmd": [
95 "python",
96 "-u",
Eric Boren3e2ffd72017-06-16 13:10:22 -040097 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
98 "--json-output",
99 "/path/to/tmp/json",
100 "copy",
Eric Boren7e97dc02017-02-02 09:02:37 -0500101 "42",
102 "[START_DIR]/tmp/SKP_VERSION"
103 ],
Eric Borenbbb24f22017-03-21 08:20:33 -0400104 "env": {
Stephan Altmueller63e843d2017-04-25 11:38:38 -0400105 "IOS_BUNDLE_ID": "com.google.dm",
106 "IOS_MOUNT_POINT": "[START_DIR]/mnt_iosdevice"
Eric Borenbbb24f22017-03-21 08:20:33 -0400107 },
Eric Borena1590852017-03-20 12:48:31 -0400108 "infra_step": true,
Eric Boren7e97dc02017-02-02 09:02:37 -0500109 "name": "write SKP_VERSION"
110 },
111 {
112 "cmd": [
Mike Kleine0b048c2017-02-03 13:31:05 -0500113 "[START_DIR]/skia/platform_tools/ios/bin/ios_cat_file",
114 "tmp/SKP_VERSION"
115 ],
Eric Borenbbb24f22017-03-21 08:20:33 -0400116 "env": {
Eric Borenbbb24f22017-03-21 08:20:33 -0400117 "CHROME_HEADLESS": "1",
118 "IOS_BUNDLE_ID": "com.google.dm",
Stephan Altmueller63e843d2017-04-25 11:38:38 -0400119 "IOS_MOUNT_POINT": "[START_DIR]/mnt_iosdevice",
Eric Boren0f690102018-05-15 15:04:58 -0400120 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]"
Eric Borenbbb24f22017-03-21 08:20:33 -0400121 },
Stephan Altmueller63e843d2017-04-25 11:38:38 -0400122 "infra_step": true,
Mike Kleine0b048c2017-02-03 13:31:05 -0500123 "name": "cat_file tmp/SKP_VERSION",
124 "stdout": "/path/to/tmp/"
125 },
126 {
127 "cmd": [
128 "[START_DIR]/skia/platform_tools/ios/bin/ios_rm",
129 "tmp/SKP_VERSION"
130 ],
Eric Borenbbb24f22017-03-21 08:20:33 -0400131 "env": {
Eric Borenbbb24f22017-03-21 08:20:33 -0400132 "CHROME_HEADLESS": "1",
133 "IOS_BUNDLE_ID": "com.google.dm",
Stephan Altmueller63e843d2017-04-25 11:38:38 -0400134 "IOS_MOUNT_POINT": "[START_DIR]/mnt_iosdevice",
Eric Boren0f690102018-05-15 15:04:58 -0400135 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]"
Eric Borenbbb24f22017-03-21 08:20:33 -0400136 },
Stephan Altmueller63e843d2017-04-25 11:38:38 -0400137 "infra_step": true,
Mike Kleine0b048c2017-02-03 13:31:05 -0500138 "name": "rm tmp/SKP_VERSION"
139 },
140 {
141 "cmd": [
142 "[START_DIR]/skia/platform_tools/ios/bin/ios_rm",
143 "skps"
144 ],
Eric Borenbbb24f22017-03-21 08:20:33 -0400145 "env": {
Eric Borenbbb24f22017-03-21 08:20:33 -0400146 "CHROME_HEADLESS": "1",
147 "IOS_BUNDLE_ID": "com.google.dm",
Stephan Altmueller63e843d2017-04-25 11:38:38 -0400148 "IOS_MOUNT_POINT": "[START_DIR]/mnt_iosdevice",
Eric Boren0f690102018-05-15 15:04:58 -0400149 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]"
Eric Borenbbb24f22017-03-21 08:20:33 -0400150 },
Stephan Altmueller63e843d2017-04-25 11:38:38 -0400151 "infra_step": true,
Mike Kleine0b048c2017-02-03 13:31:05 -0500152 "name": "rm skps"
153 },
154 {
155 "cmd": [
156 "[START_DIR]/skia/platform_tools/ios/bin/ios_mkdir",
157 "skps"
158 ],
Eric Borenbbb24f22017-03-21 08:20:33 -0400159 "env": {
Eric Borenbbb24f22017-03-21 08:20:33 -0400160 "CHROME_HEADLESS": "1",
161 "IOS_BUNDLE_ID": "com.google.dm",
Stephan Altmueller63e843d2017-04-25 11:38:38 -0400162 "IOS_MOUNT_POINT": "[START_DIR]/mnt_iosdevice",
Eric Boren0f690102018-05-15 15:04:58 -0400163 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]"
Eric Borenbbb24f22017-03-21 08:20:33 -0400164 },
Stephan Altmueller63e843d2017-04-25 11:38:38 -0400165 "infra_step": true,
Mike Kleine0b048c2017-02-03 13:31:05 -0500166 "name": "mkdir skps"
167 },
168 {
169 "cmd": [
170 "[START_DIR]/skia/platform_tools/ios/bin/ios_push_if_needed",
171 "[START_DIR]/skp",
172 "skps"
173 ],
Eric Borenbbb24f22017-03-21 08:20:33 -0400174 "env": {
Eric Borenbbb24f22017-03-21 08:20:33 -0400175 "CHROME_HEADLESS": "1",
176 "IOS_BUNDLE_ID": "com.google.dm",
Stephan Altmueller63e843d2017-04-25 11:38:38 -0400177 "IOS_MOUNT_POINT": "[START_DIR]/mnt_iosdevice",
Eric Boren0f690102018-05-15 15:04:58 -0400178 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]"
Eric Borenbbb24f22017-03-21 08:20:33 -0400179 },
Stephan Altmueller63e843d2017-04-25 11:38:38 -0400180 "infra_step": true,
Mike Kleine0b048c2017-02-03 13:31:05 -0500181 "name": "push_if_needed [START_DIR]/skp"
182 },
183 {
184 "cmd": [
185 "[START_DIR]/skia/platform_tools/ios/bin/ios_push_file",
186 "[START_DIR]/tmp/SKP_VERSION",
187 "tmp/SKP_VERSION"
188 ],
Eric Borenbbb24f22017-03-21 08:20:33 -0400189 "env": {
Eric Borenbbb24f22017-03-21 08:20:33 -0400190 "CHROME_HEADLESS": "1",
191 "IOS_BUNDLE_ID": "com.google.dm",
Stephan Altmueller63e843d2017-04-25 11:38:38 -0400192 "IOS_MOUNT_POINT": "[START_DIR]/mnt_iosdevice",
Eric Boren0f690102018-05-15 15:04:58 -0400193 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]"
Eric Borenbbb24f22017-03-21 08:20:33 -0400194 },
Stephan Altmueller63e843d2017-04-25 11:38:38 -0400195 "infra_step": true,
Mike Kleine0b048c2017-02-03 13:31:05 -0500196 "name": "push_file [START_DIR]/tmp/SKP_VERSION"
197 },
198 {
199 "cmd": [
Eric Boren7e97dc02017-02-02 09:02:37 -0500200 "python",
201 "-u",
Eric Boren3e2ffd72017-06-16 13:10:22 -0400202 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
203 "--json-output",
204 "/path/to/tmp/json",
205 "copy",
Eric Boren7e97dc02017-02-02 09:02:37 -0500206 "[START_DIR]/skia/infra/bots/assets/skimage/VERSION",
207 "/path/to/tmp/"
208 ],
Eric Borenbbb24f22017-03-21 08:20:33 -0400209 "env": {
Stephan Altmueller63e843d2017-04-25 11:38:38 -0400210 "IOS_BUNDLE_ID": "com.google.dm",
211 "IOS_MOUNT_POINT": "[START_DIR]/mnt_iosdevice"
Eric Borenbbb24f22017-03-21 08:20:33 -0400212 },
Eric Borena1590852017-03-20 12:48:31 -0400213 "infra_step": true,
Ben Wagnerf20710e2018-03-19 16:52:37 -0400214 "name": "Get skimage VERSION"
Eric Boren7e97dc02017-02-02 09:02:37 -0500215 },
216 {
217 "cmd": [
218 "python",
219 "-u",
Eric Boren3e2ffd72017-06-16 13:10:22 -0400220 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
221 "--json-output",
222 "/path/to/tmp/json",
223 "copy",
Eric Boren7e97dc02017-02-02 09:02:37 -0500224 "42",
225 "[START_DIR]/tmp/SK_IMAGE_VERSION"
226 ],
Eric Borenbbb24f22017-03-21 08:20:33 -0400227 "env": {
Stephan Altmueller63e843d2017-04-25 11:38:38 -0400228 "IOS_BUNDLE_ID": "com.google.dm",
229 "IOS_MOUNT_POINT": "[START_DIR]/mnt_iosdevice"
Eric Borenbbb24f22017-03-21 08:20:33 -0400230 },
Eric Borena1590852017-03-20 12:48:31 -0400231 "infra_step": true,
Eric Boren7e97dc02017-02-02 09:02:37 -0500232 "name": "write SK_IMAGE_VERSION"
233 },
234 {
235 "cmd": [
Mike Kleine0b048c2017-02-03 13:31:05 -0500236 "[START_DIR]/skia/platform_tools/ios/bin/ios_cat_file",
237 "tmp/SK_IMAGE_VERSION"
238 ],
Eric Borenbbb24f22017-03-21 08:20:33 -0400239 "env": {
Eric Borenbbb24f22017-03-21 08:20:33 -0400240 "CHROME_HEADLESS": "1",
241 "IOS_BUNDLE_ID": "com.google.dm",
Stephan Altmueller63e843d2017-04-25 11:38:38 -0400242 "IOS_MOUNT_POINT": "[START_DIR]/mnt_iosdevice",
Eric Boren0f690102018-05-15 15:04:58 -0400243 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]"
Eric Borenbbb24f22017-03-21 08:20:33 -0400244 },
Stephan Altmueller63e843d2017-04-25 11:38:38 -0400245 "infra_step": true,
Mike Kleine0b048c2017-02-03 13:31:05 -0500246 "name": "cat_file tmp/SK_IMAGE_VERSION",
247 "stdout": "/path/to/tmp/"
248 },
249 {
250 "cmd": [
251 "[START_DIR]/skia/platform_tools/ios/bin/ios_rm",
252 "tmp/SK_IMAGE_VERSION"
253 ],
Eric Borenbbb24f22017-03-21 08:20:33 -0400254 "env": {
Eric Borenbbb24f22017-03-21 08:20:33 -0400255 "CHROME_HEADLESS": "1",
256 "IOS_BUNDLE_ID": "com.google.dm",
Stephan Altmueller63e843d2017-04-25 11:38:38 -0400257 "IOS_MOUNT_POINT": "[START_DIR]/mnt_iosdevice",
Eric Boren0f690102018-05-15 15:04:58 -0400258 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]"
Eric Borenbbb24f22017-03-21 08:20:33 -0400259 },
Stephan Altmueller63e843d2017-04-25 11:38:38 -0400260 "infra_step": true,
Mike Kleine0b048c2017-02-03 13:31:05 -0500261 "name": "rm tmp/SK_IMAGE_VERSION"
262 },
263 {
264 "cmd": [
265 "[START_DIR]/skia/platform_tools/ios/bin/ios_rm",
266 "images"
267 ],
Eric Borenbbb24f22017-03-21 08:20:33 -0400268 "env": {
Eric Borenbbb24f22017-03-21 08:20:33 -0400269 "CHROME_HEADLESS": "1",
270 "IOS_BUNDLE_ID": "com.google.dm",
Stephan Altmueller63e843d2017-04-25 11:38:38 -0400271 "IOS_MOUNT_POINT": "[START_DIR]/mnt_iosdevice",
Eric Boren0f690102018-05-15 15:04:58 -0400272 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]"
Eric Borenbbb24f22017-03-21 08:20:33 -0400273 },
Stephan Altmueller63e843d2017-04-25 11:38:38 -0400274 "infra_step": true,
Mike Kleine0b048c2017-02-03 13:31:05 -0500275 "name": "rm images"
276 },
277 {
278 "cmd": [
279 "[START_DIR]/skia/platform_tools/ios/bin/ios_mkdir",
280 "images"
281 ],
Eric Borenbbb24f22017-03-21 08:20:33 -0400282 "env": {
Eric Borenbbb24f22017-03-21 08:20:33 -0400283 "CHROME_HEADLESS": "1",
284 "IOS_BUNDLE_ID": "com.google.dm",
Stephan Altmueller63e843d2017-04-25 11:38:38 -0400285 "IOS_MOUNT_POINT": "[START_DIR]/mnt_iosdevice",
Eric Boren0f690102018-05-15 15:04:58 -0400286 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]"
Eric Borenbbb24f22017-03-21 08:20:33 -0400287 },
Stephan Altmueller63e843d2017-04-25 11:38:38 -0400288 "infra_step": true,
Mike Kleine0b048c2017-02-03 13:31:05 -0500289 "name": "mkdir images"
290 },
291 {
292 "cmd": [
293 "[START_DIR]/skia/platform_tools/ios/bin/ios_push_if_needed",
294 "[START_DIR]/skimage",
295 "images"
296 ],
Eric Borenbbb24f22017-03-21 08:20:33 -0400297 "env": {
Eric Borenbbb24f22017-03-21 08:20:33 -0400298 "CHROME_HEADLESS": "1",
299 "IOS_BUNDLE_ID": "com.google.dm",
Stephan Altmueller63e843d2017-04-25 11:38:38 -0400300 "IOS_MOUNT_POINT": "[START_DIR]/mnt_iosdevice",
Eric Boren0f690102018-05-15 15:04:58 -0400301 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]"
Eric Borenbbb24f22017-03-21 08:20:33 -0400302 },
Stephan Altmueller63e843d2017-04-25 11:38:38 -0400303 "infra_step": true,
Mike Kleine0b048c2017-02-03 13:31:05 -0500304 "name": "push_if_needed [START_DIR]/skimage"
305 },
306 {
307 "cmd": [
308 "[START_DIR]/skia/platform_tools/ios/bin/ios_push_file",
309 "[START_DIR]/tmp/SK_IMAGE_VERSION",
310 "tmp/SK_IMAGE_VERSION"
311 ],
Eric Borenbbb24f22017-03-21 08:20:33 -0400312 "env": {
Eric Borenbbb24f22017-03-21 08:20:33 -0400313 "CHROME_HEADLESS": "1",
314 "IOS_BUNDLE_ID": "com.google.dm",
Stephan Altmueller63e843d2017-04-25 11:38:38 -0400315 "IOS_MOUNT_POINT": "[START_DIR]/mnt_iosdevice",
Eric Boren0f690102018-05-15 15:04:58 -0400316 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]"
Eric Borenbbb24f22017-03-21 08:20:33 -0400317 },
Stephan Altmueller63e843d2017-04-25 11:38:38 -0400318 "infra_step": true,
Mike Kleine0b048c2017-02-03 13:31:05 -0500319 "name": "push_file [START_DIR]/tmp/SK_IMAGE_VERSION"
320 },
321 {
322 "cmd": [
Eric Boren7e97dc02017-02-02 09:02:37 -0500323 "python",
324 "-u",
Eric Boren3e2ffd72017-06-16 13:10:22 -0400325 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
326 "--json-output",
327 "/path/to/tmp/json",
328 "copy",
Eric Boren7e97dc02017-02-02 09:02:37 -0500329 "[START_DIR]/skia/infra/bots/assets/svg/VERSION",
330 "/path/to/tmp/"
331 ],
Eric Borenbbb24f22017-03-21 08:20:33 -0400332 "env": {
Stephan Altmueller63e843d2017-04-25 11:38:38 -0400333 "IOS_BUNDLE_ID": "com.google.dm",
334 "IOS_MOUNT_POINT": "[START_DIR]/mnt_iosdevice"
Eric Borenbbb24f22017-03-21 08:20:33 -0400335 },
Eric Borena1590852017-03-20 12:48:31 -0400336 "infra_step": true,
Ben Wagnerf20710e2018-03-19 16:52:37 -0400337 "name": "Get svg VERSION"
Eric Boren7e97dc02017-02-02 09:02:37 -0500338 },
339 {
340 "cmd": [
341 "python",
342 "-u",
Eric Boren3e2ffd72017-06-16 13:10:22 -0400343 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
344 "--json-output",
345 "/path/to/tmp/json",
346 "copy",
Eric Boren7e97dc02017-02-02 09:02:37 -0500347 "42",
348 "[START_DIR]/tmp/SVG_VERSION"
349 ],
Eric Borenbbb24f22017-03-21 08:20:33 -0400350 "env": {
Stephan Altmueller63e843d2017-04-25 11:38:38 -0400351 "IOS_BUNDLE_ID": "com.google.dm",
352 "IOS_MOUNT_POINT": "[START_DIR]/mnt_iosdevice"
Eric Borenbbb24f22017-03-21 08:20:33 -0400353 },
Eric Borena1590852017-03-20 12:48:31 -0400354 "infra_step": true,
Eric Boren7e97dc02017-02-02 09:02:37 -0500355 "name": "write SVG_VERSION"
356 },
357 {
358 "cmd": [
Mike Kleine0b048c2017-02-03 13:31:05 -0500359 "[START_DIR]/skia/platform_tools/ios/bin/ios_cat_file",
360 "tmp/SVG_VERSION"
361 ],
Eric Borenbbb24f22017-03-21 08:20:33 -0400362 "env": {
Eric Borenbbb24f22017-03-21 08:20:33 -0400363 "CHROME_HEADLESS": "1",
364 "IOS_BUNDLE_ID": "com.google.dm",
Stephan Altmueller63e843d2017-04-25 11:38:38 -0400365 "IOS_MOUNT_POINT": "[START_DIR]/mnt_iosdevice",
Eric Boren0f690102018-05-15 15:04:58 -0400366 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]"
Eric Borenbbb24f22017-03-21 08:20:33 -0400367 },
Stephan Altmueller63e843d2017-04-25 11:38:38 -0400368 "infra_step": true,
Mike Kleine0b048c2017-02-03 13:31:05 -0500369 "name": "cat_file tmp/SVG_VERSION",
370 "stdout": "/path/to/tmp/"
371 },
372 {
373 "cmd": [
374 "[START_DIR]/skia/platform_tools/ios/bin/ios_rm",
375 "tmp/SVG_VERSION"
376 ],
Eric Borenbbb24f22017-03-21 08:20:33 -0400377 "env": {
Eric Borenbbb24f22017-03-21 08:20:33 -0400378 "CHROME_HEADLESS": "1",
379 "IOS_BUNDLE_ID": "com.google.dm",
Stephan Altmueller63e843d2017-04-25 11:38:38 -0400380 "IOS_MOUNT_POINT": "[START_DIR]/mnt_iosdevice",
Eric Boren0f690102018-05-15 15:04:58 -0400381 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]"
Eric Borenbbb24f22017-03-21 08:20:33 -0400382 },
Stephan Altmueller63e843d2017-04-25 11:38:38 -0400383 "infra_step": true,
Mike Kleine0b048c2017-02-03 13:31:05 -0500384 "name": "rm tmp/SVG_VERSION"
385 },
386 {
387 "cmd": [
388 "[START_DIR]/skia/platform_tools/ios/bin/ios_rm",
389 "svgs"
390 ],
Eric Borenbbb24f22017-03-21 08:20:33 -0400391 "env": {
Eric Borenbbb24f22017-03-21 08:20:33 -0400392 "CHROME_HEADLESS": "1",
393 "IOS_BUNDLE_ID": "com.google.dm",
Stephan Altmueller63e843d2017-04-25 11:38:38 -0400394 "IOS_MOUNT_POINT": "[START_DIR]/mnt_iosdevice",
Eric Boren0f690102018-05-15 15:04:58 -0400395 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]"
Eric Borenbbb24f22017-03-21 08:20:33 -0400396 },
Stephan Altmueller63e843d2017-04-25 11:38:38 -0400397 "infra_step": true,
Mike Kleine0b048c2017-02-03 13:31:05 -0500398 "name": "rm svgs"
399 },
400 {
401 "cmd": [
402 "[START_DIR]/skia/platform_tools/ios/bin/ios_mkdir",
403 "svgs"
404 ],
Eric Borenbbb24f22017-03-21 08:20:33 -0400405 "env": {
Eric Borenbbb24f22017-03-21 08:20:33 -0400406 "CHROME_HEADLESS": "1",
407 "IOS_BUNDLE_ID": "com.google.dm",
Stephan Altmueller63e843d2017-04-25 11:38:38 -0400408 "IOS_MOUNT_POINT": "[START_DIR]/mnt_iosdevice",
Eric Boren0f690102018-05-15 15:04:58 -0400409 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]"
Eric Borenbbb24f22017-03-21 08:20:33 -0400410 },
Stephan Altmueller63e843d2017-04-25 11:38:38 -0400411 "infra_step": true,
Mike Kleine0b048c2017-02-03 13:31:05 -0500412 "name": "mkdir svgs"
413 },
414 {
415 "cmd": [
416 "[START_DIR]/skia/platform_tools/ios/bin/ios_push_if_needed",
417 "[START_DIR]/svg",
418 "svgs"
419 ],
Eric Borenbbb24f22017-03-21 08:20:33 -0400420 "env": {
Eric Borenbbb24f22017-03-21 08:20:33 -0400421 "CHROME_HEADLESS": "1",
422 "IOS_BUNDLE_ID": "com.google.dm",
Stephan Altmueller63e843d2017-04-25 11:38:38 -0400423 "IOS_MOUNT_POINT": "[START_DIR]/mnt_iosdevice",
Eric Boren0f690102018-05-15 15:04:58 -0400424 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]"
Eric Borenbbb24f22017-03-21 08:20:33 -0400425 },
Stephan Altmueller63e843d2017-04-25 11:38:38 -0400426 "infra_step": true,
Mike Kleine0b048c2017-02-03 13:31:05 -0500427 "name": "push_if_needed [START_DIR]/svg"
428 },
429 {
430 "cmd": [
431 "[START_DIR]/skia/platform_tools/ios/bin/ios_push_file",
432 "[START_DIR]/tmp/SVG_VERSION",
433 "tmp/SVG_VERSION"
434 ],
Eric Borenbbb24f22017-03-21 08:20:33 -0400435 "env": {
Eric Borenbbb24f22017-03-21 08:20:33 -0400436 "CHROME_HEADLESS": "1",
437 "IOS_BUNDLE_ID": "com.google.dm",
Stephan Altmueller63e843d2017-04-25 11:38:38 -0400438 "IOS_MOUNT_POINT": "[START_DIR]/mnt_iosdevice",
Eric Boren0f690102018-05-15 15:04:58 -0400439 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]"
Eric Borenbbb24f22017-03-21 08:20:33 -0400440 },
Stephan Altmueller63e843d2017-04-25 11:38:38 -0400441 "infra_step": true,
Mike Kleine0b048c2017-02-03 13:31:05 -0500442 "name": "push_file [START_DIR]/tmp/SVG_VERSION"
443 },
444 {
445 "cmd": [
Eric Boren9599b0f2018-04-17 15:55:57 -0400446 "python",
447 "-u",
448 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
449 "--json-output",
450 "/path/to/tmp/json",
451 "rmtree",
452 "[START_DIR]/test"
453 ],
454 "env": {
455 "IOS_BUNDLE_ID": "com.google.dm",
456 "IOS_MOUNT_POINT": "[START_DIR]/mnt_iosdevice"
457 },
458 "infra_step": true,
459 "name": "rmtree test"
460 },
461 {
462 "cmd": [
463 "python",
464 "-u",
465 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
466 "--json-output",
467 "/path/to/tmp/json",
468 "ensure-directory",
469 "--mode",
470 "0777",
471 "[START_DIR]/test"
472 ],
473 "env": {
474 "IOS_BUNDLE_ID": "com.google.dm",
475 "IOS_MOUNT_POINT": "[START_DIR]/mnt_iosdevice"
476 },
477 "infra_step": true,
478 "name": "makedirs test"
479 },
480 {
481 "cmd": [
Mike Kleine0b048c2017-02-03 13:31:05 -0500482 "[START_DIR]/skia/platform_tools/ios/bin/ios_rm",
483 "dm"
484 ],
Eric Borenbbb24f22017-03-21 08:20:33 -0400485 "env": {
Eric Borenbbb24f22017-03-21 08:20:33 -0400486 "CHROME_HEADLESS": "1",
487 "IOS_BUNDLE_ID": "com.google.dm",
Stephan Altmueller63e843d2017-04-25 11:38:38 -0400488 "IOS_MOUNT_POINT": "[START_DIR]/mnt_iosdevice",
Eric Boren0f690102018-05-15 15:04:58 -0400489 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]"
Eric Borenbbb24f22017-03-21 08:20:33 -0400490 },
Stephan Altmueller63e843d2017-04-25 11:38:38 -0400491 "infra_step": true,
Mike Kleine0b048c2017-02-03 13:31:05 -0500492 "name": "rm dm"
493 },
494 {
495 "cmd": [
496 "[START_DIR]/skia/platform_tools/ios/bin/ios_mkdir",
497 "dm"
498 ],
Eric Borenbbb24f22017-03-21 08:20:33 -0400499 "env": {
Eric Borenbbb24f22017-03-21 08:20:33 -0400500 "CHROME_HEADLESS": "1",
501 "IOS_BUNDLE_ID": "com.google.dm",
Stephan Altmueller63e843d2017-04-25 11:38:38 -0400502 "IOS_MOUNT_POINT": "[START_DIR]/mnt_iosdevice",
Eric Boren0f690102018-05-15 15:04:58 -0400503 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]"
Eric Borenbbb24f22017-03-21 08:20:33 -0400504 },
Stephan Altmueller63e843d2017-04-25 11:38:38 -0400505 "infra_step": true,
Mike Kleine0b048c2017-02-03 13:31:05 -0500506 "name": "mkdir dm"
507 },
508 {
509 "cmd": [
Eric Boren7e97dc02017-02-02 09:02:37 -0500510 "python",
511 "-u",
Stephan Altmuellerc19ebc52017-05-30 16:39:17 -0400512 "\nimport contextlib\nimport math\nimport socket\nimport sys\nimport time\nimport urllib2\n\nHASHES_URL = 'https://storage.googleapis.com/skia-infra-gm/hash_files/gold-prod-hashes.txt'\nRETRIES = 5\nTIMEOUT = 60\nWAIT_BASE = 15\n\nsocket.setdefaulttimeout(TIMEOUT)\nfor retry in range(RETRIES):\n try:\n with contextlib.closing(\n urllib2.urlopen(HASHES_URL, timeout=TIMEOUT)) as w:\n hashes = w.read()\n with open(sys.argv[1], 'w') as f:\n f.write(hashes)\n break\n except Exception as e:\n print 'Failed to get uninteresting hashes from %s:' % HASHES_URL\n print e\n if retry == RETRIES:\n raise\n waittime = WAIT_BASE * math.pow(2, retry)\n print 'Retry in %d seconds.' % waittime\n time.sleep(waittime)\n",
Eric Boren7e97dc02017-02-02 09:02:37 -0500513 "[START_DIR]/tmp/uninteresting_hashes.txt"
514 ],
Eric Borenbbb24f22017-03-21 08:20:33 -0400515 "env": {
Eric Borenbbb24f22017-03-21 08:20:33 -0400516 "CHROME_HEADLESS": "1",
517 "IOS_BUNDLE_ID": "com.google.dm",
Stephan Altmueller63e843d2017-04-25 11:38:38 -0400518 "IOS_MOUNT_POINT": "[START_DIR]/mnt_iosdevice",
Eric Boren0f690102018-05-15 15:04:58 -0400519 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]"
Eric Borenbbb24f22017-03-21 08:20:33 -0400520 },
Eric Borena1590852017-03-20 12:48:31 -0400521 "infra_step": true,
Eric Boren7e97dc02017-02-02 09:02:37 -0500522 "name": "get uninteresting hashes",
523 "~followup_annotations": [
524 "@@@STEP_LOG_LINE@python.inline@@@@",
525 "@@@STEP_LOG_LINE@python.inline@import contextlib@@@",
526 "@@@STEP_LOG_LINE@python.inline@import math@@@",
527 "@@@STEP_LOG_LINE@python.inline@import socket@@@",
528 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
529 "@@@STEP_LOG_LINE@python.inline@import time@@@",
530 "@@@STEP_LOG_LINE@python.inline@import urllib2@@@",
531 "@@@STEP_LOG_LINE@python.inline@@@@",
Stephan Altmuellerc19ebc52017-05-30 16:39:17 -0400532 "@@@STEP_LOG_LINE@python.inline@HASHES_URL = 'https://storage.googleapis.com/skia-infra-gm/hash_files/gold-prod-hashes.txt'@@@",
Eric Boren7e97dc02017-02-02 09:02:37 -0500533 "@@@STEP_LOG_LINE@python.inline@RETRIES = 5@@@",
534 "@@@STEP_LOG_LINE@python.inline@TIMEOUT = 60@@@",
535 "@@@STEP_LOG_LINE@python.inline@WAIT_BASE = 15@@@",
536 "@@@STEP_LOG_LINE@python.inline@@@@",
537 "@@@STEP_LOG_LINE@python.inline@socket.setdefaulttimeout(TIMEOUT)@@@",
538 "@@@STEP_LOG_LINE@python.inline@for retry in range(RETRIES):@@@",
539 "@@@STEP_LOG_LINE@python.inline@ try:@@@",
540 "@@@STEP_LOG_LINE@python.inline@ with contextlib.closing(@@@",
541 "@@@STEP_LOG_LINE@python.inline@ urllib2.urlopen(HASHES_URL, timeout=TIMEOUT)) as w:@@@",
542 "@@@STEP_LOG_LINE@python.inline@ hashes = w.read()@@@",
543 "@@@STEP_LOG_LINE@python.inline@ with open(sys.argv[1], 'w') as f:@@@",
544 "@@@STEP_LOG_LINE@python.inline@ f.write(hashes)@@@",
545 "@@@STEP_LOG_LINE@python.inline@ break@@@",
546 "@@@STEP_LOG_LINE@python.inline@ except Exception as e:@@@",
547 "@@@STEP_LOG_LINE@python.inline@ print 'Failed to get uninteresting hashes from %s:' % HASHES_URL@@@",
548 "@@@STEP_LOG_LINE@python.inline@ print e@@@",
549 "@@@STEP_LOG_LINE@python.inline@ if retry == RETRIES:@@@",
550 "@@@STEP_LOG_LINE@python.inline@ raise@@@",
551 "@@@STEP_LOG_LINE@python.inline@ waittime = WAIT_BASE * math.pow(2, retry)@@@",
552 "@@@STEP_LOG_LINE@python.inline@ print 'Retry in %d seconds.' % waittime@@@",
553 "@@@STEP_LOG_LINE@python.inline@ time.sleep(waittime)@@@",
554 "@@@STEP_LOG_END@python.inline@@@"
555 ]
556 },
557 {
558 "cmd": [
Mike Klein20f00782017-02-02 18:55:03 -0500559 "[START_DIR]/skia/platform_tools/ios/bin/ios_push_file",
560 "[START_DIR]/tmp/uninteresting_hashes.txt",
Mike Kleine0b048c2017-02-03 13:31:05 -0500561 "tmp/uninteresting_hashes.txt"
Mike Klein20f00782017-02-02 18:55:03 -0500562 ],
Eric Borenbbb24f22017-03-21 08:20:33 -0400563 "env": {
Eric Borenbbb24f22017-03-21 08:20:33 -0400564 "CHROME_HEADLESS": "1",
565 "IOS_BUNDLE_ID": "com.google.dm",
Stephan Altmueller63e843d2017-04-25 11:38:38 -0400566 "IOS_MOUNT_POINT": "[START_DIR]/mnt_iosdevice",
Eric Boren0f690102018-05-15 15:04:58 -0400567 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]"
Eric Borenbbb24f22017-03-21 08:20:33 -0400568 },
Stephan Altmueller63e843d2017-04-25 11:38:38 -0400569 "infra_step": true,
Mike Klein20f00782017-02-02 18:55:03 -0500570 "name": "push_file [START_DIR]/tmp/uninteresting_hashes.txt"
571 },
572 {
573 "cmd": [
Eric Borenf9aa9e52017-04-10 09:56:10 -0400574 "python",
575 "-u",
576 "import os\nprint os.environ.get('SWARMING_BOT_ID', '')\n"
577 ],
578 "env": {
Stephan Altmueller63e843d2017-04-25 11:38:38 -0400579 "IOS_BUNDLE_ID": "com.google.dm",
580 "IOS_MOUNT_POINT": "[START_DIR]/mnt_iosdevice"
Eric Borenf9aa9e52017-04-10 09:56:10 -0400581 },
582 "name": "get swarming bot id",
583 "stdout": "/path/to/tmp/",
584 "~followup_annotations": [
585 "@@@STEP_LOG_LINE@python.inline@import os@@@",
586 "@@@STEP_LOG_LINE@python.inline@print os.environ.get('SWARMING_BOT_ID', '')@@@",
587 "@@@STEP_LOG_END@python.inline@@@"
588 ]
589 },
590 {
591 "cmd": [
592 "python",
593 "-u",
594 "import os\nprint os.environ.get('SWARMING_TASK_ID', '')\n"
595 ],
596 "env": {
Stephan Altmueller63e843d2017-04-25 11:38:38 -0400597 "IOS_BUNDLE_ID": "com.google.dm",
598 "IOS_MOUNT_POINT": "[START_DIR]/mnt_iosdevice"
Eric Borenf9aa9e52017-04-10 09:56:10 -0400599 },
600 "name": "get swarming task id",
601 "stdout": "/path/to/tmp/",
602 "~followup_annotations": [
603 "@@@STEP_LOG_LINE@python.inline@import os@@@",
604 "@@@STEP_LOG_LINE@python.inline@print os.environ.get('SWARMING_TASK_ID', '')@@@",
605 "@@@STEP_LOG_END@python.inline@@@"
606 ]
607 },
608 {
609 "cmd": [
Stephan Altmueller63e843d2017-04-25 11:38:38 -0400610 "idevice-app-runner",
611 "-s",
612 "com.google.dm",
Mike Kleinf6168ae2017-02-02 16:43:21 -0500613 "--args",
Stephan Altmueller63e843d2017-04-25 11:38:38 -0400614 "--resourcePath",
615 "resources",
616 "--skps",
617 "skps",
618 "--images",
619 "images/dm",
620 "--colorImages",
621 "images/colorspace",
622 "--nameByHash",
623 "--properties",
624 "gitHash",
625 "abc123",
626 "builder",
Kevin Lubick9ef6de72017-10-15 21:05:58 -0400627 "Test-iOS-Clang-iPadPro-GPU-GT7800-arm64-Release-All",
Eric Boren9a9e3872017-11-29 12:33:22 -0500628 "buildbucket_build_id",
629 "123454321",
Stephan Altmueller63e843d2017-04-25 11:38:38 -0400630 "swarming_bot_id",
Ben Wagnerf835c222017-04-30 11:14:51 -0400631 "skia-bot-123",
Stephan Altmueller63e843d2017-04-25 11:38:38 -0400632 "swarming_task_id",
Ben Wagnerf835c222017-04-30 11:14:51 -0400633 "123456",
Stephan Altmueller63e843d2017-04-25 11:38:38 -0400634 "--svgs",
635 "svgs",
636 "--key",
637 "arch",
Ben Wagner6e0a6b32017-09-26 14:11:15 -0400638 "arm64",
Stephan Altmueller63e843d2017-04-25 11:38:38 -0400639 "compiler",
640 "Clang",
641 "configuration",
642 "Release",
643 "cpu_or_gpu",
644 "GPU",
645 "cpu_or_gpu_value",
Ben Wagner6e0a6b32017-09-26 14:11:15 -0400646 "GT7800",
Stephan Altmueller63e843d2017-04-25 11:38:38 -0400647 "model",
Ben Wagner6e0a6b32017-09-26 14:11:15 -0400648 "iPadPro",
Stephan Altmueller63e843d2017-04-25 11:38:38 -0400649 "os",
650 "iOS",
651 "--uninterestingHashesFile",
652 "tmp/uninteresting_hashes.txt",
653 "--writePath",
654 "dm",
Mike Klein97d6a7a2017-07-24 10:37:19 -0400655 "--dont_write",
656 "pdf",
Stephan Altmueller63e843d2017-04-25 11:38:38 -0400657 "--randomProcessorTest",
Mike Kleindf669812017-06-23 13:30:17 -0400658 "--threads",
659 "0",
Ben Wagner32fa5102017-08-10 21:25:55 -0400660 "--nocpu",
Stephan Altmueller63e843d2017-04-25 11:38:38 -0400661 "--config",
Stephan Altmueller63e843d2017-04-25 11:38:38 -0400662 "gles",
663 "glesdft",
664 "glessrgb",
Brian Osman5e117772018-06-20 14:53:06 -0400665 "glesesrgb",
Stephan Altmueller63e843d2017-04-25 11:38:38 -0400666 "--src",
667 "tests",
668 "gm",
669 "image",
670 "colorImage",
671 "svg",
672 "--blacklist",
Chris Daltonecf78ac2017-08-15 15:43:08 -0600673 "_",
674 "svg",
675 "_",
676 "svgparse_",
Stephan Altmueller63e843d2017-04-25 11:38:38 -0400677 "glessrgb",
678 "image",
679 "_",
680 "_",
Stephan Altmueller63e843d2017-04-25 11:38:38 -0400681 "gles",
682 "skp",
683 "_",
684 "_",
685 "_",
686 "image",
687 "gen_platf",
688 "rgba32abf.bmp",
689 "_",
690 "image",
691 "gen_platf",
692 "rgb24prof.bmp",
693 "_",
694 "image",
695 "gen_platf",
696 "rgb24lprof.bmp",
697 "_",
698 "image",
699 "gen_platf",
700 "8bpp-pixeldata-cropped.bmp",
701 "_",
702 "image",
703 "gen_platf",
704 "4bpp-pixeldata-cropped.bmp",
705 "_",
706 "image",
707 "gen_platf",
708 "32bpp-pixeldata-cropped.bmp",
709 "_",
710 "image",
711 "gen_platf",
712 "24bpp-pixeldata-cropped.bmp",
713 "_",
714 "image",
715 "gen_platf",
716 "frame_larger_than_image.gif",
717 "_",
718 "image",
719 "gen_platf",
720 "inc0.png",
721 "_",
722 "image",
723 "gen_platf",
724 "inc1.png",
725 "_",
726 "image",
727 "gen_platf",
728 "inc2.png",
729 "_",
730 "image",
731 "gen_platf",
732 "inc3.png",
733 "_",
734 "image",
735 "gen_platf",
736 "inc4.png",
737 "_",
738 "image",
739 "gen_platf",
740 "inc5.png",
741 "_",
742 "image",
743 "gen_platf",
744 "inc6.png",
745 "_",
746 "image",
747 "gen_platf",
748 "inc7.png",
749 "_",
750 "image",
751 "gen_platf",
752 "inc8.png",
753 "_",
754 "image",
755 "gen_platf",
756 "inc9.png",
757 "_",
758 "image",
759 "gen_platf",
760 "inc10.png",
761 "_",
762 "image",
763 "gen_platf",
764 "inc11.png",
765 "_",
766 "image",
767 "gen_platf",
768 "inc12.png",
769 "_",
770 "image",
771 "gen_platf",
772 "inc13.png",
773 "_",
774 "image",
775 "gen_platf",
776 "inc14.png",
777 "_",
Ben Wagner3f67914c2017-11-27 13:02:25 -0500778 "image",
779 "gen_platf",
780 "incInterlaced.gif",
781 "_",
782 "image",
783 "gen_platf",
784 "inc1.gif",
785 "_",
786 "image",
787 "gen_platf",
788 "inc0.gif",
789 "_",
790 "image",
791 "gen_platf",
792 "butterfly.gif",
793 "_",
Stephan Altmueller63e843d2017-04-25 11:38:38 -0400794 "test",
795 "_",
796 "GrShape",
Stephan Altmueller63e843d2017-04-25 11:38:38 -0400797 "_",
798 "image",
799 "_",
800 "interlaced1.png",
801 "_",
802 "image",
803 "_",
804 "interlaced2.png",
805 "_",
806 "image",
807 "_",
808 "interlaced3.png",
809 "_",
810 "image",
811 "_",
812 ".arw",
813 "_",
814 "image",
815 "_",
816 ".cr2",
817 "_",
818 "image",
819 "_",
820 ".dng",
821 "_",
822 "image",
823 "_",
824 ".nef",
825 "_",
826 "image",
827 "_",
828 ".nrw",
829 "_",
830 "image",
831 "_",
832 ".orf",
833 "_",
834 "image",
835 "_",
836 ".raf",
837 "_",
838 "image",
839 "_",
840 ".rw2",
841 "_",
842 "image",
843 "_",
844 ".pef",
845 "_",
846 "image",
847 "_",
848 ".srw",
849 "_",
850 "image",
851 "_",
852 ".ARW",
853 "_",
854 "image",
855 "_",
856 ".CR2",
857 "_",
858 "image",
859 "_",
860 ".DNG",
861 "_",
862 "image",
863 "_",
864 ".NEF",
865 "_",
866 "image",
867 "_",
868 ".NRW",
869 "_",
870 "image",
871 "_",
872 ".ORF",
873 "_",
874 "image",
875 "_",
876 ".RAF",
877 "_",
878 "image",
879 "_",
880 ".RW2",
881 "_",
882 "image",
883 "_",
884 ".PEF",
885 "_",
886 "image",
887 "_",
Stephan Altmuellere86af692017-07-21 10:12:45 -0400888 ".SRW",
Mike Kleinc207da82017-11-10 14:24:34 -0500889 "--nonativeFonts",
Stephan Altmuellere86af692017-07-21 10:12:45 -0400890 "--verbose"
Mike Klein33b003b2017-02-02 14:05:11 -0500891 ],
Kevin Lubick0a51b482017-02-06 12:45:29 -0500892 "env": {
Kevin Lubick0a51b482017-02-06 12:45:29 -0500893 "CHROME_HEADLESS": "1",
Mike Klein3b36c062017-02-06 13:44:12 -0500894 "IOS_BUNDLE_ID": "com.google.dm",
Stephan Altmueller63e843d2017-04-25 11:38:38 -0400895 "IOS_MOUNT_POINT": "[START_DIR]/mnt_iosdevice",
Eric Boren0f690102018-05-15 15:04:58 -0400896 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]"
Kevin Lubick0a51b482017-02-06 12:45:29 -0500897 },
Mike Kleinf6168ae2017-02-02 16:43:21 -0500898 "name": "dm"
Eric Boren7e97dc02017-02-02 09:02:37 -0500899 },
900 {
Mike Klein20f00782017-02-02 18:55:03 -0500901 "cmd": [
902 "[START_DIR]/skia/platform_tools/ios/bin/ios_pull_if_needed",
Mike Kleine0b048c2017-02-03 13:31:05 -0500903 "dm",
Eric Borencd0a98c2018-06-20 13:23:16 -0400904 "[START_DIR]/[SWARM_OUT_DIR]"
Mike Klein20f00782017-02-02 18:55:03 -0500905 ],
Eric Borenbbb24f22017-03-21 08:20:33 -0400906 "env": {
Eric Borenbbb24f22017-03-21 08:20:33 -0400907 "CHROME_HEADLESS": "1",
908 "IOS_BUNDLE_ID": "com.google.dm",
Stephan Altmueller63e843d2017-04-25 11:38:38 -0400909 "IOS_MOUNT_POINT": "[START_DIR]/mnt_iosdevice",
Eric Boren0f690102018-05-15 15:04:58 -0400910 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]"
Eric Borenbbb24f22017-03-21 08:20:33 -0400911 },
Stephan Altmueller63e843d2017-04-25 11:38:38 -0400912 "infra_step": true,
Mike Kleine0b048c2017-02-03 13:31:05 -0500913 "name": "pull_if_needed dm"
Mike Klein20f00782017-02-02 18:55:03 -0500914 },
915 {
Eric Boren7e97dc02017-02-02 09:02:37 -0500916 "name": "$result",
917 "recipe_result": null,
918 "status_code": 0
919 }
920]