Eric Boren | 7e97dc0 | 2017-02-02 09:02:37 -0500 | [diff] [blame] | 1 | [ |
| 2 | { |
| 3 | "cmd": [ |
Mike Klein | 20f0078 | 2017-02-02 18:55:03 -0500 | [diff] [blame] | 4 | "[START_DIR]/skia/platform_tools/ios/bin/ios_push_if_needed", |
| 5 | "[START_DIR]/skia/resources", |
Mike Klein | e0b048c | 2017-02-03 13:31:05 -0500 | [diff] [blame] | 6 | "resources" |
Mike Klein | 20f0078 | 2017-02-02 18:55:03 -0500 | [diff] [blame] | 7 | ], |
Eric Boren | bbb24f2 | 2017-03-21 08:20:33 -0400 | [diff] [blame] | 8 | "env": { |
| 9 | "BUILDTYPE": "Release", |
| 10 | "CHROME_HEADLESS": "1", |
| 11 | "IOS_BUNDLE_ID": "com.google.dm", |
| 12 | "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]", |
| 13 | "SKIA_OUT": "[START_DIR]/out" |
| 14 | }, |
Mike Klein | 20f0078 | 2017-02-02 18:55:03 -0500 | [diff] [blame] | 15 | "name": "push_if_needed [START_DIR]/skia/resources" |
| 16 | }, |
| 17 | { |
| 18 | "cmd": [ |
Eric Boren | 7e97dc0 | 2017-02-02 09:02:37 -0500 | [diff] [blame] | 19 | "python", |
| 20 | "-u", |
| 21 | "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", |
| 22 | "[START_DIR]/skia/infra/bots/assets/skp/VERSION", |
| 23 | "/path/to/tmp/" |
| 24 | ], |
Eric Boren | bbb24f2 | 2017-03-21 08:20:33 -0400 | [diff] [blame] | 25 | "env": { |
| 26 | "IOS_BUNDLE_ID": "com.google.dm" |
| 27 | }, |
Eric Boren | a159085 | 2017-03-20 12:48:31 -0400 | [diff] [blame] | 28 | "infra_step": true, |
Eric Boren | 7e97dc0 | 2017-02-02 09:02:37 -0500 | [diff] [blame] | 29 | "name": "Get downloaded SKP VERSION" |
| 30 | }, |
| 31 | { |
| 32 | "cmd": [ |
| 33 | "python", |
| 34 | "-u", |
| 35 | "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", |
| 36 | "42", |
| 37 | "[START_DIR]/tmp/SKP_VERSION" |
| 38 | ], |
Eric Boren | bbb24f2 | 2017-03-21 08:20:33 -0400 | [diff] [blame] | 39 | "env": { |
| 40 | "IOS_BUNDLE_ID": "com.google.dm" |
| 41 | }, |
Eric Boren | a159085 | 2017-03-20 12:48:31 -0400 | [diff] [blame] | 42 | "infra_step": true, |
Eric Boren | 7e97dc0 | 2017-02-02 09:02:37 -0500 | [diff] [blame] | 43 | "name": "write SKP_VERSION" |
| 44 | }, |
| 45 | { |
| 46 | "cmd": [ |
Mike Klein | e0b048c | 2017-02-03 13:31:05 -0500 | [diff] [blame] | 47 | "[START_DIR]/skia/platform_tools/ios/bin/ios_cat_file", |
| 48 | "tmp/SKP_VERSION" |
| 49 | ], |
Eric Boren | bbb24f2 | 2017-03-21 08:20:33 -0400 | [diff] [blame] | 50 | "env": { |
| 51 | "BUILDTYPE": "Release", |
| 52 | "CHROME_HEADLESS": "1", |
| 53 | "IOS_BUNDLE_ID": "com.google.dm", |
| 54 | "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]", |
| 55 | "SKIA_OUT": "[START_DIR]/out" |
| 56 | }, |
Mike Klein | e0b048c | 2017-02-03 13:31:05 -0500 | [diff] [blame] | 57 | "name": "cat_file tmp/SKP_VERSION", |
| 58 | "stdout": "/path/to/tmp/" |
| 59 | }, |
| 60 | { |
| 61 | "cmd": [ |
| 62 | "[START_DIR]/skia/platform_tools/ios/bin/ios_rm", |
| 63 | "tmp/SKP_VERSION" |
| 64 | ], |
Eric Boren | bbb24f2 | 2017-03-21 08:20:33 -0400 | [diff] [blame] | 65 | "env": { |
| 66 | "BUILDTYPE": "Release", |
| 67 | "CHROME_HEADLESS": "1", |
| 68 | "IOS_BUNDLE_ID": "com.google.dm", |
| 69 | "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]", |
| 70 | "SKIA_OUT": "[START_DIR]/out" |
| 71 | }, |
Mike Klein | e0b048c | 2017-02-03 13:31:05 -0500 | [diff] [blame] | 72 | "name": "rm tmp/SKP_VERSION" |
| 73 | }, |
| 74 | { |
| 75 | "cmd": [ |
| 76 | "[START_DIR]/skia/platform_tools/ios/bin/ios_rm", |
| 77 | "skps" |
| 78 | ], |
Eric Boren | bbb24f2 | 2017-03-21 08:20:33 -0400 | [diff] [blame] | 79 | "env": { |
| 80 | "BUILDTYPE": "Release", |
| 81 | "CHROME_HEADLESS": "1", |
| 82 | "IOS_BUNDLE_ID": "com.google.dm", |
| 83 | "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]", |
| 84 | "SKIA_OUT": "[START_DIR]/out" |
| 85 | }, |
Mike Klein | e0b048c | 2017-02-03 13:31:05 -0500 | [diff] [blame] | 86 | "name": "rm skps" |
| 87 | }, |
| 88 | { |
| 89 | "cmd": [ |
| 90 | "[START_DIR]/skia/platform_tools/ios/bin/ios_mkdir", |
| 91 | "skps" |
| 92 | ], |
Eric Boren | bbb24f2 | 2017-03-21 08:20:33 -0400 | [diff] [blame] | 93 | "env": { |
| 94 | "BUILDTYPE": "Release", |
| 95 | "CHROME_HEADLESS": "1", |
| 96 | "IOS_BUNDLE_ID": "com.google.dm", |
| 97 | "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]", |
| 98 | "SKIA_OUT": "[START_DIR]/out" |
| 99 | }, |
Mike Klein | e0b048c | 2017-02-03 13:31:05 -0500 | [diff] [blame] | 100 | "name": "mkdir skps" |
| 101 | }, |
| 102 | { |
| 103 | "cmd": [ |
| 104 | "[START_DIR]/skia/platform_tools/ios/bin/ios_push_if_needed", |
| 105 | "[START_DIR]/skp", |
| 106 | "skps" |
| 107 | ], |
Eric Boren | bbb24f2 | 2017-03-21 08:20:33 -0400 | [diff] [blame] | 108 | "env": { |
| 109 | "BUILDTYPE": "Release", |
| 110 | "CHROME_HEADLESS": "1", |
| 111 | "IOS_BUNDLE_ID": "com.google.dm", |
| 112 | "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]", |
| 113 | "SKIA_OUT": "[START_DIR]/out" |
| 114 | }, |
Mike Klein | e0b048c | 2017-02-03 13:31:05 -0500 | [diff] [blame] | 115 | "name": "push_if_needed [START_DIR]/skp" |
| 116 | }, |
| 117 | { |
| 118 | "cmd": [ |
| 119 | "[START_DIR]/skia/platform_tools/ios/bin/ios_push_file", |
| 120 | "[START_DIR]/tmp/SKP_VERSION", |
| 121 | "tmp/SKP_VERSION" |
| 122 | ], |
Eric Boren | bbb24f2 | 2017-03-21 08:20:33 -0400 | [diff] [blame] | 123 | "env": { |
| 124 | "BUILDTYPE": "Release", |
| 125 | "CHROME_HEADLESS": "1", |
| 126 | "IOS_BUNDLE_ID": "com.google.dm", |
| 127 | "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]", |
| 128 | "SKIA_OUT": "[START_DIR]/out" |
| 129 | }, |
Mike Klein | e0b048c | 2017-02-03 13:31:05 -0500 | [diff] [blame] | 130 | "name": "push_file [START_DIR]/tmp/SKP_VERSION" |
| 131 | }, |
| 132 | { |
| 133 | "cmd": [ |
Eric Boren | 7e97dc0 | 2017-02-02 09:02:37 -0500 | [diff] [blame] | 134 | "python", |
| 135 | "-u", |
| 136 | "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", |
| 137 | "[START_DIR]/skia/infra/bots/assets/skimage/VERSION", |
| 138 | "/path/to/tmp/" |
| 139 | ], |
Eric Boren | bbb24f2 | 2017-03-21 08:20:33 -0400 | [diff] [blame] | 140 | "env": { |
| 141 | "IOS_BUNDLE_ID": "com.google.dm" |
| 142 | }, |
Eric Boren | a159085 | 2017-03-20 12:48:31 -0400 | [diff] [blame] | 143 | "infra_step": true, |
Eric Boren | 7e97dc0 | 2017-02-02 09:02:37 -0500 | [diff] [blame] | 144 | "name": "Get downloaded skimage VERSION" |
| 145 | }, |
| 146 | { |
| 147 | "cmd": [ |
| 148 | "python", |
| 149 | "-u", |
| 150 | "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", |
| 151 | "42", |
| 152 | "[START_DIR]/tmp/SK_IMAGE_VERSION" |
| 153 | ], |
Eric Boren | bbb24f2 | 2017-03-21 08:20:33 -0400 | [diff] [blame] | 154 | "env": { |
| 155 | "IOS_BUNDLE_ID": "com.google.dm" |
| 156 | }, |
Eric Boren | a159085 | 2017-03-20 12:48:31 -0400 | [diff] [blame] | 157 | "infra_step": true, |
Eric Boren | 7e97dc0 | 2017-02-02 09:02:37 -0500 | [diff] [blame] | 158 | "name": "write SK_IMAGE_VERSION" |
| 159 | }, |
| 160 | { |
| 161 | "cmd": [ |
Mike Klein | e0b048c | 2017-02-03 13:31:05 -0500 | [diff] [blame] | 162 | "[START_DIR]/skia/platform_tools/ios/bin/ios_cat_file", |
| 163 | "tmp/SK_IMAGE_VERSION" |
| 164 | ], |
Eric Boren | bbb24f2 | 2017-03-21 08:20:33 -0400 | [diff] [blame] | 165 | "env": { |
| 166 | "BUILDTYPE": "Release", |
| 167 | "CHROME_HEADLESS": "1", |
| 168 | "IOS_BUNDLE_ID": "com.google.dm", |
| 169 | "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]", |
| 170 | "SKIA_OUT": "[START_DIR]/out" |
| 171 | }, |
Mike Klein | e0b048c | 2017-02-03 13:31:05 -0500 | [diff] [blame] | 172 | "name": "cat_file tmp/SK_IMAGE_VERSION", |
| 173 | "stdout": "/path/to/tmp/" |
| 174 | }, |
| 175 | { |
| 176 | "cmd": [ |
| 177 | "[START_DIR]/skia/platform_tools/ios/bin/ios_rm", |
| 178 | "tmp/SK_IMAGE_VERSION" |
| 179 | ], |
Eric Boren | bbb24f2 | 2017-03-21 08:20:33 -0400 | [diff] [blame] | 180 | "env": { |
| 181 | "BUILDTYPE": "Release", |
| 182 | "CHROME_HEADLESS": "1", |
| 183 | "IOS_BUNDLE_ID": "com.google.dm", |
| 184 | "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]", |
| 185 | "SKIA_OUT": "[START_DIR]/out" |
| 186 | }, |
Mike Klein | e0b048c | 2017-02-03 13:31:05 -0500 | [diff] [blame] | 187 | "name": "rm tmp/SK_IMAGE_VERSION" |
| 188 | }, |
| 189 | { |
| 190 | "cmd": [ |
| 191 | "[START_DIR]/skia/platform_tools/ios/bin/ios_rm", |
| 192 | "images" |
| 193 | ], |
Eric Boren | bbb24f2 | 2017-03-21 08:20:33 -0400 | [diff] [blame] | 194 | "env": { |
| 195 | "BUILDTYPE": "Release", |
| 196 | "CHROME_HEADLESS": "1", |
| 197 | "IOS_BUNDLE_ID": "com.google.dm", |
| 198 | "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]", |
| 199 | "SKIA_OUT": "[START_DIR]/out" |
| 200 | }, |
Mike Klein | e0b048c | 2017-02-03 13:31:05 -0500 | [diff] [blame] | 201 | "name": "rm images" |
| 202 | }, |
| 203 | { |
| 204 | "cmd": [ |
| 205 | "[START_DIR]/skia/platform_tools/ios/bin/ios_mkdir", |
| 206 | "images" |
| 207 | ], |
Eric Boren | bbb24f2 | 2017-03-21 08:20:33 -0400 | [diff] [blame] | 208 | "env": { |
| 209 | "BUILDTYPE": "Release", |
| 210 | "CHROME_HEADLESS": "1", |
| 211 | "IOS_BUNDLE_ID": "com.google.dm", |
| 212 | "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]", |
| 213 | "SKIA_OUT": "[START_DIR]/out" |
| 214 | }, |
Mike Klein | e0b048c | 2017-02-03 13:31:05 -0500 | [diff] [blame] | 215 | "name": "mkdir images" |
| 216 | }, |
| 217 | { |
| 218 | "cmd": [ |
| 219 | "[START_DIR]/skia/platform_tools/ios/bin/ios_push_if_needed", |
| 220 | "[START_DIR]/skimage", |
| 221 | "images" |
| 222 | ], |
Eric Boren | bbb24f2 | 2017-03-21 08:20:33 -0400 | [diff] [blame] | 223 | "env": { |
| 224 | "BUILDTYPE": "Release", |
| 225 | "CHROME_HEADLESS": "1", |
| 226 | "IOS_BUNDLE_ID": "com.google.dm", |
| 227 | "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]", |
| 228 | "SKIA_OUT": "[START_DIR]/out" |
| 229 | }, |
Mike Klein | e0b048c | 2017-02-03 13:31:05 -0500 | [diff] [blame] | 230 | "name": "push_if_needed [START_DIR]/skimage" |
| 231 | }, |
| 232 | { |
| 233 | "cmd": [ |
| 234 | "[START_DIR]/skia/platform_tools/ios/bin/ios_push_file", |
| 235 | "[START_DIR]/tmp/SK_IMAGE_VERSION", |
| 236 | "tmp/SK_IMAGE_VERSION" |
| 237 | ], |
Eric Boren | bbb24f2 | 2017-03-21 08:20:33 -0400 | [diff] [blame] | 238 | "env": { |
| 239 | "BUILDTYPE": "Release", |
| 240 | "CHROME_HEADLESS": "1", |
| 241 | "IOS_BUNDLE_ID": "com.google.dm", |
| 242 | "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]", |
| 243 | "SKIA_OUT": "[START_DIR]/out" |
| 244 | }, |
Mike Klein | e0b048c | 2017-02-03 13:31:05 -0500 | [diff] [blame] | 245 | "name": "push_file [START_DIR]/tmp/SK_IMAGE_VERSION" |
| 246 | }, |
| 247 | { |
| 248 | "cmd": [ |
Eric Boren | 7e97dc0 | 2017-02-02 09:02:37 -0500 | [diff] [blame] | 249 | "python", |
| 250 | "-u", |
| 251 | "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", |
| 252 | "[START_DIR]/skia/infra/bots/assets/svg/VERSION", |
| 253 | "/path/to/tmp/" |
| 254 | ], |
Eric Boren | bbb24f2 | 2017-03-21 08:20:33 -0400 | [diff] [blame] | 255 | "env": { |
| 256 | "IOS_BUNDLE_ID": "com.google.dm" |
| 257 | }, |
Eric Boren | a159085 | 2017-03-20 12:48:31 -0400 | [diff] [blame] | 258 | "infra_step": true, |
Eric Boren | 7e97dc0 | 2017-02-02 09:02:37 -0500 | [diff] [blame] | 259 | "name": "Get downloaded SVG VERSION" |
| 260 | }, |
| 261 | { |
| 262 | "cmd": [ |
| 263 | "python", |
| 264 | "-u", |
| 265 | "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", |
| 266 | "42", |
| 267 | "[START_DIR]/tmp/SVG_VERSION" |
| 268 | ], |
Eric Boren | bbb24f2 | 2017-03-21 08:20:33 -0400 | [diff] [blame] | 269 | "env": { |
| 270 | "IOS_BUNDLE_ID": "com.google.dm" |
| 271 | }, |
Eric Boren | a159085 | 2017-03-20 12:48:31 -0400 | [diff] [blame] | 272 | "infra_step": true, |
Eric Boren | 7e97dc0 | 2017-02-02 09:02:37 -0500 | [diff] [blame] | 273 | "name": "write SVG_VERSION" |
| 274 | }, |
| 275 | { |
| 276 | "cmd": [ |
Mike Klein | e0b048c | 2017-02-03 13:31:05 -0500 | [diff] [blame] | 277 | "[START_DIR]/skia/platform_tools/ios/bin/ios_cat_file", |
| 278 | "tmp/SVG_VERSION" |
| 279 | ], |
Eric Boren | bbb24f2 | 2017-03-21 08:20:33 -0400 | [diff] [blame] | 280 | "env": { |
| 281 | "BUILDTYPE": "Release", |
| 282 | "CHROME_HEADLESS": "1", |
| 283 | "IOS_BUNDLE_ID": "com.google.dm", |
| 284 | "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]", |
| 285 | "SKIA_OUT": "[START_DIR]/out" |
| 286 | }, |
Mike Klein | e0b048c | 2017-02-03 13:31:05 -0500 | [diff] [blame] | 287 | "name": "cat_file tmp/SVG_VERSION", |
| 288 | "stdout": "/path/to/tmp/" |
| 289 | }, |
| 290 | { |
| 291 | "cmd": [ |
| 292 | "[START_DIR]/skia/platform_tools/ios/bin/ios_rm", |
| 293 | "tmp/SVG_VERSION" |
| 294 | ], |
Eric Boren | bbb24f2 | 2017-03-21 08:20:33 -0400 | [diff] [blame] | 295 | "env": { |
| 296 | "BUILDTYPE": "Release", |
| 297 | "CHROME_HEADLESS": "1", |
| 298 | "IOS_BUNDLE_ID": "com.google.dm", |
| 299 | "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]", |
| 300 | "SKIA_OUT": "[START_DIR]/out" |
| 301 | }, |
Mike Klein | e0b048c | 2017-02-03 13:31:05 -0500 | [diff] [blame] | 302 | "name": "rm tmp/SVG_VERSION" |
| 303 | }, |
| 304 | { |
| 305 | "cmd": [ |
| 306 | "[START_DIR]/skia/platform_tools/ios/bin/ios_rm", |
| 307 | "svgs" |
| 308 | ], |
Eric Boren | bbb24f2 | 2017-03-21 08:20:33 -0400 | [diff] [blame] | 309 | "env": { |
| 310 | "BUILDTYPE": "Release", |
| 311 | "CHROME_HEADLESS": "1", |
| 312 | "IOS_BUNDLE_ID": "com.google.dm", |
| 313 | "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]", |
| 314 | "SKIA_OUT": "[START_DIR]/out" |
| 315 | }, |
Mike Klein | e0b048c | 2017-02-03 13:31:05 -0500 | [diff] [blame] | 316 | "name": "rm svgs" |
| 317 | }, |
| 318 | { |
| 319 | "cmd": [ |
| 320 | "[START_DIR]/skia/platform_tools/ios/bin/ios_mkdir", |
| 321 | "svgs" |
| 322 | ], |
Eric Boren | bbb24f2 | 2017-03-21 08:20:33 -0400 | [diff] [blame] | 323 | "env": { |
| 324 | "BUILDTYPE": "Release", |
| 325 | "CHROME_HEADLESS": "1", |
| 326 | "IOS_BUNDLE_ID": "com.google.dm", |
| 327 | "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]", |
| 328 | "SKIA_OUT": "[START_DIR]/out" |
| 329 | }, |
Mike Klein | e0b048c | 2017-02-03 13:31:05 -0500 | [diff] [blame] | 330 | "name": "mkdir svgs" |
| 331 | }, |
| 332 | { |
| 333 | "cmd": [ |
| 334 | "[START_DIR]/skia/platform_tools/ios/bin/ios_push_if_needed", |
| 335 | "[START_DIR]/svg", |
| 336 | "svgs" |
| 337 | ], |
Eric Boren | bbb24f2 | 2017-03-21 08:20:33 -0400 | [diff] [blame] | 338 | "env": { |
| 339 | "BUILDTYPE": "Release", |
| 340 | "CHROME_HEADLESS": "1", |
| 341 | "IOS_BUNDLE_ID": "com.google.dm", |
| 342 | "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]", |
| 343 | "SKIA_OUT": "[START_DIR]/out" |
| 344 | }, |
Mike Klein | e0b048c | 2017-02-03 13:31:05 -0500 | [diff] [blame] | 345 | "name": "push_if_needed [START_DIR]/svg" |
| 346 | }, |
| 347 | { |
| 348 | "cmd": [ |
| 349 | "[START_DIR]/skia/platform_tools/ios/bin/ios_push_file", |
| 350 | "[START_DIR]/tmp/SVG_VERSION", |
| 351 | "tmp/SVG_VERSION" |
| 352 | ], |
Eric Boren | bbb24f2 | 2017-03-21 08:20:33 -0400 | [diff] [blame] | 353 | "env": { |
| 354 | "BUILDTYPE": "Release", |
| 355 | "CHROME_HEADLESS": "1", |
| 356 | "IOS_BUNDLE_ID": "com.google.dm", |
| 357 | "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]", |
| 358 | "SKIA_OUT": "[START_DIR]/out" |
| 359 | }, |
Mike Klein | e0b048c | 2017-02-03 13:31:05 -0500 | [diff] [blame] | 360 | "name": "push_file [START_DIR]/tmp/SVG_VERSION" |
| 361 | }, |
| 362 | { |
| 363 | "cmd": [ |
Eric Boren | 7e97dc0 | 2017-02-02 09:02:37 -0500 | [diff] [blame] | 364 | "python", |
| 365 | "-u", |
Eric Boren | 5128bd4 | 2017-03-06 08:06:16 -0500 | [diff] [blame] | 366 | "RECIPE_MODULE[build::file]/resources/fileutil.py", |
| 367 | "rmtree", |
Eric Boren | 7e97dc0 | 2017-02-02 09:02:37 -0500 | [diff] [blame] | 368 | "[CUSTOM_[SWARM_OUT_DIR]]/dm" |
| 369 | ], |
| 370 | "env": { |
Eric Boren | bbb24f2 | 2017-03-21 08:20:33 -0400 | [diff] [blame] | 371 | "IOS_BUNDLE_ID": "com.google.dm", |
Eric Boren | 7e97dc0 | 2017-02-02 09:02:37 -0500 | [diff] [blame] | 372 | "PYTHONPATH": "[START_DIR]/skia/infra/bots/.recipe_deps/build/scripts" |
| 373 | }, |
Eric Boren | a159085 | 2017-03-20 12:48:31 -0400 | [diff] [blame] | 374 | "infra_step": true, |
Eric Boren | 5128bd4 | 2017-03-06 08:06:16 -0500 | [diff] [blame] | 375 | "name": "rmtree dm" |
Eric Boren | 7e97dc0 | 2017-02-02 09:02:37 -0500 | [diff] [blame] | 376 | }, |
| 377 | { |
| 378 | "cmd": [ |
| 379 | "python", |
| 380 | "-u", |
| 381 | "\nimport sys, os\npath = sys.argv[1]\nmode = int(sys.argv[2])\nif not os.path.isdir(path):\n if os.path.exists(path):\n print \"%s exists but is not a dir\" % path\n sys.exit(1)\n os.makedirs(path, mode)\n", |
| 382 | "[CUSTOM_[SWARM_OUT_DIR]]/dm", |
| 383 | "511" |
| 384 | ], |
Eric Boren | bbb24f2 | 2017-03-21 08:20:33 -0400 | [diff] [blame] | 385 | "env": { |
| 386 | "IOS_BUNDLE_ID": "com.google.dm" |
| 387 | }, |
Eric Boren | a159085 | 2017-03-20 12:48:31 -0400 | [diff] [blame] | 388 | "infra_step": true, |
Eric Boren | 7e97dc0 | 2017-02-02 09:02:37 -0500 | [diff] [blame] | 389 | "name": "makedirs dm", |
| 390 | "~followup_annotations": [ |
| 391 | "@@@STEP_LOG_LINE@python.inline@@@@", |
| 392 | "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", |
| 393 | "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", |
| 394 | "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", |
| 395 | "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", |
| 396 | "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", |
| 397 | "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@", |
| 398 | "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", |
| 399 | "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", |
| 400 | "@@@STEP_LOG_END@python.inline@@@" |
| 401 | ] |
| 402 | }, |
| 403 | { |
| 404 | "cmd": [ |
Mike Klein | e0b048c | 2017-02-03 13:31:05 -0500 | [diff] [blame] | 405 | "[START_DIR]/skia/platform_tools/ios/bin/ios_rm", |
| 406 | "dm" |
| 407 | ], |
Eric Boren | bbb24f2 | 2017-03-21 08:20:33 -0400 | [diff] [blame] | 408 | "env": { |
| 409 | "BUILDTYPE": "Release", |
| 410 | "CHROME_HEADLESS": "1", |
| 411 | "IOS_BUNDLE_ID": "com.google.dm", |
| 412 | "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]", |
| 413 | "SKIA_OUT": "[START_DIR]/out" |
| 414 | }, |
Mike Klein | e0b048c | 2017-02-03 13:31:05 -0500 | [diff] [blame] | 415 | "name": "rm dm" |
| 416 | }, |
| 417 | { |
| 418 | "cmd": [ |
| 419 | "[START_DIR]/skia/platform_tools/ios/bin/ios_mkdir", |
| 420 | "dm" |
| 421 | ], |
Eric Boren | bbb24f2 | 2017-03-21 08:20:33 -0400 | [diff] [blame] | 422 | "env": { |
| 423 | "BUILDTYPE": "Release", |
| 424 | "CHROME_HEADLESS": "1", |
| 425 | "IOS_BUNDLE_ID": "com.google.dm", |
| 426 | "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]", |
| 427 | "SKIA_OUT": "[START_DIR]/out" |
| 428 | }, |
Mike Klein | e0b048c | 2017-02-03 13:31:05 -0500 | [diff] [blame] | 429 | "name": "mkdir dm" |
| 430 | }, |
| 431 | { |
| 432 | "cmd": [ |
Eric Boren | 7e97dc0 | 2017-02-02 09:02:37 -0500 | [diff] [blame] | 433 | "python", |
| 434 | "-u", |
| 435 | "\nimport sys, os\npath = sys.argv[1]\nmode = int(sys.argv[2])\nif not os.path.isdir(path):\n if os.path.exists(path):\n print \"%s exists but is not a dir\" % path\n sys.exit(1)\n os.makedirs(path, mode)\n", |
| 436 | "[START_DIR]/tmp", |
| 437 | "511" |
| 438 | ], |
Eric Boren | bbb24f2 | 2017-03-21 08:20:33 -0400 | [diff] [blame] | 439 | "env": { |
| 440 | "IOS_BUNDLE_ID": "com.google.dm" |
| 441 | }, |
Eric Boren | a159085 | 2017-03-20 12:48:31 -0400 | [diff] [blame] | 442 | "infra_step": true, |
Eric Boren | 7e97dc0 | 2017-02-02 09:02:37 -0500 | [diff] [blame] | 443 | "name": "makedirs tmp_dir", |
| 444 | "~followup_annotations": [ |
| 445 | "@@@STEP_LOG_LINE@python.inline@@@@", |
| 446 | "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", |
| 447 | "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", |
| 448 | "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", |
| 449 | "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", |
| 450 | "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", |
| 451 | "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@", |
| 452 | "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", |
| 453 | "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", |
| 454 | "@@@STEP_LOG_END@python.inline@@@" |
| 455 | ] |
| 456 | }, |
| 457 | { |
| 458 | "cmd": [ |
| 459 | "python", |
| 460 | "-u", |
| 461 | "\nimport contextlib\nimport math\nimport socket\nimport sys\nimport time\nimport urllib2\n\nHASHES_URL = 'https://gold.skia.org/_/hashes'\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", |
| 462 | "[START_DIR]/tmp/uninteresting_hashes.txt" |
| 463 | ], |
Eric Boren | bbb24f2 | 2017-03-21 08:20:33 -0400 | [diff] [blame] | 464 | "env": { |
| 465 | "BUILDTYPE": "Release", |
| 466 | "CHROME_HEADLESS": "1", |
| 467 | "IOS_BUNDLE_ID": "com.google.dm", |
| 468 | "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]", |
| 469 | "SKIA_OUT": "[START_DIR]/out" |
| 470 | }, |
Eric Boren | a159085 | 2017-03-20 12:48:31 -0400 | [diff] [blame] | 471 | "infra_step": true, |
Eric Boren | 7e97dc0 | 2017-02-02 09:02:37 -0500 | [diff] [blame] | 472 | "name": "get uninteresting hashes", |
| 473 | "~followup_annotations": [ |
| 474 | "@@@STEP_LOG_LINE@python.inline@@@@", |
| 475 | "@@@STEP_LOG_LINE@python.inline@import contextlib@@@", |
| 476 | "@@@STEP_LOG_LINE@python.inline@import math@@@", |
| 477 | "@@@STEP_LOG_LINE@python.inline@import socket@@@", |
| 478 | "@@@STEP_LOG_LINE@python.inline@import sys@@@", |
| 479 | "@@@STEP_LOG_LINE@python.inline@import time@@@", |
| 480 | "@@@STEP_LOG_LINE@python.inline@import urllib2@@@", |
| 481 | "@@@STEP_LOG_LINE@python.inline@@@@", |
| 482 | "@@@STEP_LOG_LINE@python.inline@HASHES_URL = 'https://gold.skia.org/_/hashes'@@@", |
| 483 | "@@@STEP_LOG_LINE@python.inline@RETRIES = 5@@@", |
| 484 | "@@@STEP_LOG_LINE@python.inline@TIMEOUT = 60@@@", |
| 485 | "@@@STEP_LOG_LINE@python.inline@WAIT_BASE = 15@@@", |
| 486 | "@@@STEP_LOG_LINE@python.inline@@@@", |
| 487 | "@@@STEP_LOG_LINE@python.inline@socket.setdefaulttimeout(TIMEOUT)@@@", |
| 488 | "@@@STEP_LOG_LINE@python.inline@for retry in range(RETRIES):@@@", |
| 489 | "@@@STEP_LOG_LINE@python.inline@ try:@@@", |
| 490 | "@@@STEP_LOG_LINE@python.inline@ with contextlib.closing(@@@", |
| 491 | "@@@STEP_LOG_LINE@python.inline@ urllib2.urlopen(HASHES_URL, timeout=TIMEOUT)) as w:@@@", |
| 492 | "@@@STEP_LOG_LINE@python.inline@ hashes = w.read()@@@", |
| 493 | "@@@STEP_LOG_LINE@python.inline@ with open(sys.argv[1], 'w') as f:@@@", |
| 494 | "@@@STEP_LOG_LINE@python.inline@ f.write(hashes)@@@", |
| 495 | "@@@STEP_LOG_LINE@python.inline@ break@@@", |
| 496 | "@@@STEP_LOG_LINE@python.inline@ except Exception as e:@@@", |
| 497 | "@@@STEP_LOG_LINE@python.inline@ print 'Failed to get uninteresting hashes from %s:' % HASHES_URL@@@", |
| 498 | "@@@STEP_LOG_LINE@python.inline@ print e@@@", |
| 499 | "@@@STEP_LOG_LINE@python.inline@ if retry == RETRIES:@@@", |
| 500 | "@@@STEP_LOG_LINE@python.inline@ raise@@@", |
| 501 | "@@@STEP_LOG_LINE@python.inline@ waittime = WAIT_BASE * math.pow(2, retry)@@@", |
| 502 | "@@@STEP_LOG_LINE@python.inline@ print 'Retry in %d seconds.' % waittime@@@", |
| 503 | "@@@STEP_LOG_LINE@python.inline@ time.sleep(waittime)@@@", |
| 504 | "@@@STEP_LOG_END@python.inline@@@" |
| 505 | ] |
| 506 | }, |
| 507 | { |
| 508 | "cmd": [ |
Mike Klein | 20f0078 | 2017-02-02 18:55:03 -0500 | [diff] [blame] | 509 | "[START_DIR]/skia/platform_tools/ios/bin/ios_push_file", |
| 510 | "[START_DIR]/tmp/uninteresting_hashes.txt", |
Mike Klein | e0b048c | 2017-02-03 13:31:05 -0500 | [diff] [blame] | 511 | "tmp/uninteresting_hashes.txt" |
Mike Klein | 20f0078 | 2017-02-02 18:55:03 -0500 | [diff] [blame] | 512 | ], |
Eric Boren | bbb24f2 | 2017-03-21 08:20:33 -0400 | [diff] [blame] | 513 | "env": { |
| 514 | "BUILDTYPE": "Release", |
| 515 | "CHROME_HEADLESS": "1", |
| 516 | "IOS_BUNDLE_ID": "com.google.dm", |
| 517 | "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]", |
| 518 | "SKIA_OUT": "[START_DIR]/out" |
| 519 | }, |
Mike Klein | 20f0078 | 2017-02-02 18:55:03 -0500 | [diff] [blame] | 520 | "name": "push_file [START_DIR]/tmp/uninteresting_hashes.txt" |
| 521 | }, |
| 522 | { |
| 523 | "cmd": [ |
Mike Klein | 33b003b | 2017-02-02 14:05:11 -0500 | [diff] [blame] | 524 | "ios-deploy", |
| 525 | "-b", |
Mike Klein | f6168ae | 2017-02-02 16:43:21 -0500 | [diff] [blame] | 526 | "[START_DIR]/out/Release/dm.app", |
| 527 | "-I", |
| 528 | "--args", |
Brian Osman | bf826af | 2017-04-05 16:35:53 -0400 | [diff] [blame^] | 529 | "--undefok --resourcePath resources --skps skps --images images/dm --colorImages images/colorspace --nameByHash --properties gitHash abc123 master client.skia builder Test-iOS-Clang-iPadMini4-GPU-GX6450-arm-Release build_number 5 --svgs svgs --key arch arm compiler Clang configuration Release cpu_or_gpu GPU cpu_or_gpu_value GX6450 model iPadMini4 os iOS --uninterestingHashesFile tmp/uninteresting_hashes.txt --writePath dm --nocpu --randomProcessorTest --config 8888 srgb pdf gles glesdft glessrgb glesmsaa4 serialize-8888 tiles_rt-8888 pic-8888 --src tests gm image colorImage svg --blacklist glessrgb image _ _ 8888 image _ _ gles skp _ _ _ image gen_platf rgba32abf.bmp _ image gen_platf rgb24prof.bmp _ image gen_platf rgb24lprof.bmp _ image gen_platf 8bpp-pixeldata-cropped.bmp _ image gen_platf 4bpp-pixeldata-cropped.bmp _ image gen_platf 32bpp-pixeldata-cropped.bmp _ image gen_platf 24bpp-pixeldata-cropped.bmp _ image gen_platf frame_larger_than_image.gif _ image gen_platf inc0.png _ image gen_platf inc1.png _ image gen_platf inc2.png _ image gen_platf inc3.png _ image gen_platf inc4.png _ image gen_platf inc5.png _ image gen_platf inc6.png _ image gen_platf inc7.png _ image gen_platf inc8.png _ image gen_platf inc9.png _ image gen_platf inc10.png _ image gen_platf inc11.png _ image gen_platf inc12.png _ image gen_platf inc13.png _ image gen_platf inc14.png _ test _ GrShape serialize-8888 gm _ bleed_image serialize-8888 gm _ c_gms serialize-8888 gm _ colortype serialize-8888 gm _ colortype_xfermodes serialize-8888 gm _ drawfilter serialize-8888 gm _ fontmgr_bounds_0.75_0 serialize-8888 gm _ fontmgr_bounds_1_-0.25 serialize-8888 gm _ fontmgr_bounds serialize-8888 gm _ fontmgr_match serialize-8888 gm _ fontmgr_iter serialize-8888 gm _ imagemasksubset serialize-8888 gm _ bitmapfilters serialize-8888 gm _ bitmapshaders serialize-8888 gm _ bleed serialize-8888 gm _ bleed_alpha_bmp serialize-8888 gm _ bleed_alpha_bmp_shader serialize-8888 gm _ convex_poly_clip serialize-8888 gm _ extractalpha serialize-8888 gm _ filterbitmap_checkerboard_32_32_g8 serialize-8888 gm _ filterbitmap_image_mandrill_64 serialize-8888 gm _ shadows serialize-8888 gm _ simpleaaclip_aaclip serialize-8888 gm _ composeshader_bitmap serialize-8888 gm _ scaled_tilemodes_npot serialize-8888 gm _ scaled_tilemodes serialize-8888 gm _ typefacerendering_pfaMac serialize-8888 gm _ parsedpaths serialize-8888 gm _ ImageGeneratorExternal_rect serialize-8888 gm _ ImageGeneratorExternal_shader serialize-8888 gm _ shadow_utils serialize-8888 gm _ bleed_alpha_image serialize-8888 gm _ bleed_alpha_image_shader pic-8888 gm _ drawfilter pic-8888 gm _ image-cacherator-from-picture serialize-8888 gm _ image-cacherator-from-picture pic-8888 gm _ image-cacherator-from-raster serialize-8888 gm _ image-cacherator-from-raster pic-8888 gm _ image-cacherator-from-ctable serialize-8888 gm _ image-cacherator-from-ctable pic-8888 gm _ gamut serialize-8888 gm _ gamut pic-8888 gm _ complexclip4_bw serialize-8888 gm _ complexclip4_bw pic-8888 gm _ complexclip4_aa serialize-8888 gm _ complexclip4_aa tiles_rt-8888 gm _ complexclip4_bw tiles_rt-8888 gm _ complexclip4_aa _ image _ interlaced1.png _ image _ interlaced2.png _ image _ interlaced3.png _ image _ .arw _ image _ .cr2 _ image _ .dng _ image _ .nef _ image _ .nrw _ image _ .orf _ image _ .raf _ image _ .rw2 _ image _ .pef _ image _ .srw _ image _ .ARW _ image _ .CR2 _ image _ .DNG _ image _ .NEF _ image _ .NRW _ image _ .ORF _ image _ .RAF _ image _ .RW2 _ image _ .PEF _ image _ .SRW" |
Mike Klein | 33b003b | 2017-02-02 14:05:11 -0500 | [diff] [blame] | 530 | ], |
Kevin Lubick | 0a51b48 | 2017-02-06 12:45:29 -0500 | [diff] [blame] | 531 | "env": { |
| 532 | "BUILDTYPE": "Release", |
| 533 | "CHROME_HEADLESS": "1", |
Mike Klein | 3b36c06 | 2017-02-06 13:44:12 -0500 | [diff] [blame] | 534 | "IOS_BUNDLE_ID": "com.google.dm", |
Eric Boren | bbb24f2 | 2017-03-21 08:20:33 -0400 | [diff] [blame] | 535 | "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]", |
Kevin Lubick | 0a51b48 | 2017-02-06 12:45:29 -0500 | [diff] [blame] | 536 | "SKIA_OUT": "[START_DIR]/out" |
| 537 | }, |
Mike Klein | f6168ae | 2017-02-02 16:43:21 -0500 | [diff] [blame] | 538 | "name": "dm" |
Eric Boren | 7e97dc0 | 2017-02-02 09:02:37 -0500 | [diff] [blame] | 539 | }, |
| 540 | { |
Mike Klein | 20f0078 | 2017-02-02 18:55:03 -0500 | [diff] [blame] | 541 | "cmd": [ |
| 542 | "[START_DIR]/skia/platform_tools/ios/bin/ios_pull_if_needed", |
Mike Klein | e0b048c | 2017-02-03 13:31:05 -0500 | [diff] [blame] | 543 | "dm", |
Mike Klein | 20f0078 | 2017-02-02 18:55:03 -0500 | [diff] [blame] | 544 | "[CUSTOM_[SWARM_OUT_DIR]]/dm" |
| 545 | ], |
Eric Boren | bbb24f2 | 2017-03-21 08:20:33 -0400 | [diff] [blame] | 546 | "env": { |
| 547 | "BUILDTYPE": "Release", |
| 548 | "CHROME_HEADLESS": "1", |
| 549 | "IOS_BUNDLE_ID": "com.google.dm", |
| 550 | "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]", |
| 551 | "SKIA_OUT": "[START_DIR]/out" |
| 552 | }, |
Mike Klein | e0b048c | 2017-02-03 13:31:05 -0500 | [diff] [blame] | 553 | "name": "pull_if_needed dm" |
Mike Klein | 20f0078 | 2017-02-02 18:55:03 -0500 | [diff] [blame] | 554 | }, |
| 555 | { |
Eric Boren | 7e97dc0 | 2017-02-02 09:02:37 -0500 | [diff] [blame] | 556 | "name": "$result", |
| 557 | "recipe_result": null, |
| 558 | "status_code": 0 |
| 559 | } |
| 560 | ] |