| OLD | NEW |
| 1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 DEPS = [ | 5 DEPS = [ |
| 6 "depot_tools/bot_update", | 6 "depot_tools/bot_update", |
| 7 "depot_tools/gclient", | 7 "depot_tools/gclient", |
| 8 "recipe_engine/path", | 8 "recipe_engine/path", |
| 9 "recipe_engine/properties", | 9 "recipe_engine/properties", |
| 10 "recipe_engine/python", | 10 "recipe_engine/python", |
| 11 "recipe_engine/step", | 11 "recipe_engine/step", |
| 12 "trigger", | 12 "trigger", |
| 13 ] | 13 ] |
| 14 | 14 |
| 15 | 15 |
| 16 def target_dartino_linux_debug_arm_dev_steps(api): | 16 def target_dartino_linux_debug_arm_dev_steps(api): |
| 17 build_properties = api.properties.legacy() | 17 build_properties = api.properties.legacy() |
| 18 # update scripts step; implicitly run by recipe engine. | 18 # update scripts step; implicitly run by recipe engine. |
| 19 # bot_update step | 19 # bot_update step |
| 20 src_cfg = api.gclient.make_config(GIT_MODE=True) | 20 src_cfg = api.gclient.make_config() |
| 21 soln = src_cfg.solutions.add() | 21 soln = src_cfg.solutions.add() |
| 22 soln.name = "sdk" | 22 soln.name = "sdk" |
| 23 soln.url = "https://github.com/dartino/sdk.git" | 23 soln.url = "https://github.com/dartino/sdk.git" |
| 24 soln.custom_deps = {} | 24 soln.custom_deps = {} |
| 25 soln.custom_vars = {} | 25 soln.custom_vars = {} |
| 26 api.gclient.c = src_cfg | 26 api.gclient.c = src_cfg |
| 27 result = api.bot_update.ensure_checkout(force=True, no_shallow=True) | 27 result = api.bot_update.ensure_checkout(force=True, no_shallow=True) |
| 28 build_properties.update(result.json.output.get("properties", {})) | 28 build_properties.update(result.json.output.get("properties", {})) |
| 29 # gclient revert step; made unnecessary by bot_update | 29 # gclient revert step; made unnecessary by bot_update |
| 30 # gclient update step; made unnecessary by bot_update | 30 # gclient update step; made unnecessary by bot_update |
| (...skipping 28 matching lines...) Expand all Loading... |
| 59 args=["--kill_browsers=True"], | 59 args=["--kill_browsers=True"], |
| 60 env={"BUILDBOT_JAVA_HOME": api.path["checkout"].join( | 60 env={"BUILDBOT_JAVA_HOME": api.path["checkout"].join( |
| 61 "third_party", "java", "linux", "j2sdk")}, | 61 "third_party", "java", "linux", "j2sdk")}, |
| 62 cwd=api.path["checkout"]) | 62 cwd=api.path["checkout"]) |
| 63 | 63 |
| 64 | 64 |
| 65 def dartino_mac_debug_asan_x86_dev_steps(api): | 65 def dartino_mac_debug_asan_x86_dev_steps(api): |
| 66 build_properties = api.properties.legacy() | 66 build_properties = api.properties.legacy() |
| 67 # update scripts step; implicitly run by recipe engine. | 67 # update scripts step; implicitly run by recipe engine. |
| 68 # bot_update step | 68 # bot_update step |
| 69 src_cfg = api.gclient.make_config(GIT_MODE=True) | 69 src_cfg = api.gclient.make_config() |
| 70 soln = src_cfg.solutions.add() | 70 soln = src_cfg.solutions.add() |
| 71 soln.name = "sdk" | 71 soln.name = "sdk" |
| 72 soln.url = "https://github.com/dartino/sdk.git" | 72 soln.url = "https://github.com/dartino/sdk.git" |
| 73 soln.custom_deps = {} | 73 soln.custom_deps = {} |
| 74 soln.custom_vars = {} | 74 soln.custom_vars = {} |
| 75 api.gclient.c = src_cfg | 75 api.gclient.c = src_cfg |
| 76 result = api.bot_update.ensure_checkout(force=True, no_shallow=True) | 76 result = api.bot_update.ensure_checkout(force=True, no_shallow=True) |
| 77 build_properties.update(result.json.output.get("properties", {})) | 77 build_properties.update(result.json.output.get("properties", {})) |
| 78 # gclient revert step; made unnecessary by bot_update | 78 # gclient revert step; made unnecessary by bot_update |
| 79 # gclient update step; made unnecessary by bot_update | 79 # gclient update step; made unnecessary by bot_update |
| (...skipping 25 matching lines...) Expand all Loading... |
| 105 "task_kill.py"), | 105 "task_kill.py"), |
| 106 args=["--kill_browsers=True"], | 106 args=["--kill_browsers=True"], |
| 107 env={}, | 107 env={}, |
| 108 cwd=api.path["checkout"]) | 108 cwd=api.path["checkout"]) |
| 109 | 109 |
| 110 | 110 |
| 111 def target_dartino_linux_release_arm_dev_steps(api): | 111 def target_dartino_linux_release_arm_dev_steps(api): |
| 112 build_properties = api.properties.legacy() | 112 build_properties = api.properties.legacy() |
| 113 # update scripts step; implicitly run by recipe engine. | 113 # update scripts step; implicitly run by recipe engine. |
| 114 # bot_update step | 114 # bot_update step |
| 115 src_cfg = api.gclient.make_config(GIT_MODE=True) | 115 src_cfg = api.gclient.make_config() |
| 116 soln = src_cfg.solutions.add() | 116 soln = src_cfg.solutions.add() |
| 117 soln.name = "sdk" | 117 soln.name = "sdk" |
| 118 soln.url = "https://github.com/dartino/sdk.git" | 118 soln.url = "https://github.com/dartino/sdk.git" |
| 119 soln.custom_deps = {} | 119 soln.custom_deps = {} |
| 120 soln.custom_vars = {} | 120 soln.custom_vars = {} |
| 121 api.gclient.c = src_cfg | 121 api.gclient.c = src_cfg |
| 122 result = api.bot_update.ensure_checkout(force=True, no_shallow=True) | 122 result = api.bot_update.ensure_checkout(force=True, no_shallow=True) |
| 123 build_properties.update(result.json.output.get("properties", {})) | 123 build_properties.update(result.json.output.get("properties", {})) |
| 124 # gclient revert step; made unnecessary by bot_update | 124 # gclient revert step; made unnecessary by bot_update |
| 125 # gclient update step; made unnecessary by bot_update | 125 # gclient update step; made unnecessary by bot_update |
| (...skipping 28 matching lines...) Expand all Loading... |
| 154 args=["--kill_browsers=True"], | 154 args=["--kill_browsers=True"], |
| 155 env={"BUILDBOT_JAVA_HOME": api.path["checkout"].join( | 155 env={"BUILDBOT_JAVA_HOME": api.path["checkout"].join( |
| 156 "third_party", "java", "linux", "j2sdk")}, | 156 "third_party", "java", "linux", "j2sdk")}, |
| 157 cwd=api.path["checkout"]) | 157 cwd=api.path["checkout"]) |
| 158 | 158 |
| 159 | 159 |
| 160 def dartino_lk_debug_arm_qemu_dev_steps(api): | 160 def dartino_lk_debug_arm_qemu_dev_steps(api): |
| 161 build_properties = api.properties.legacy() | 161 build_properties = api.properties.legacy() |
| 162 # update scripts step; implicitly run by recipe engine. | 162 # update scripts step; implicitly run by recipe engine. |
| 163 # bot_update step | 163 # bot_update step |
| 164 src_cfg = api.gclient.make_config(GIT_MODE=True) | 164 src_cfg = api.gclient.make_config() |
| 165 soln = src_cfg.solutions.add() | 165 soln = src_cfg.solutions.add() |
| 166 soln.name = "sdk" | 166 soln.name = "sdk" |
| 167 soln.url = "https://github.com/dartino/sdk.git" | 167 soln.url = "https://github.com/dartino/sdk.git" |
| 168 soln.custom_deps = {} | 168 soln.custom_deps = {} |
| 169 soln.custom_vars = {} | 169 soln.custom_vars = {} |
| 170 api.gclient.c = src_cfg | 170 api.gclient.c = src_cfg |
| 171 result = api.bot_update.ensure_checkout(force=True, no_shallow=True) | 171 result = api.bot_update.ensure_checkout(force=True, no_shallow=True) |
| 172 build_properties.update(result.json.output.get("properties", {})) | 172 build_properties.update(result.json.output.get("properties", {})) |
| 173 # gclient revert step; made unnecessary by bot_update | 173 # gclient revert step; made unnecessary by bot_update |
| 174 # gclient update step; made unnecessary by bot_update | 174 # gclient update step; made unnecessary by bot_update |
| (...skipping 28 matching lines...) Expand all Loading... |
| 203 args=["--kill_browsers=True"], | 203 args=["--kill_browsers=True"], |
| 204 env={"BUILDBOT_JAVA_HOME": api.path["checkout"].join( | 204 env={"BUILDBOT_JAVA_HOME": api.path["checkout"].join( |
| 205 "third_party", "java", "linux", "j2sdk")}, | 205 "third_party", "java", "linux", "j2sdk")}, |
| 206 cwd=api.path["checkout"]) | 206 cwd=api.path["checkout"]) |
| 207 | 207 |
| 208 | 208 |
| 209 def dartino_linux_release_asan_x86_steps(api): | 209 def dartino_linux_release_asan_x86_steps(api): |
| 210 build_properties = api.properties.legacy() | 210 build_properties = api.properties.legacy() |
| 211 # update scripts step; implicitly run by recipe engine. | 211 # update scripts step; implicitly run by recipe engine. |
| 212 # bot_update step | 212 # bot_update step |
| 213 src_cfg = api.gclient.make_config(GIT_MODE=True) | 213 src_cfg = api.gclient.make_config() |
| 214 soln = src_cfg.solutions.add() | 214 soln = src_cfg.solutions.add() |
| 215 soln.name = "sdk" | 215 soln.name = "sdk" |
| 216 soln.url = "https://github.com/dartino/sdk.git" | 216 soln.url = "https://github.com/dartino/sdk.git" |
| 217 soln.custom_deps = {} | 217 soln.custom_deps = {} |
| 218 soln.custom_vars = {} | 218 soln.custom_vars = {} |
| 219 api.gclient.c = src_cfg | 219 api.gclient.c = src_cfg |
| 220 result = api.bot_update.ensure_checkout(force=True, no_shallow=True) | 220 result = api.bot_update.ensure_checkout(force=True, no_shallow=True) |
| 221 build_properties.update(result.json.output.get("properties", {})) | 221 build_properties.update(result.json.output.get("properties", {})) |
| 222 # gclient revert step; made unnecessary by bot_update | 222 # gclient revert step; made unnecessary by bot_update |
| 223 # gclient update step; made unnecessary by bot_update | 223 # gclient update step; made unnecessary by bot_update |
| (...skipping 28 matching lines...) Expand all Loading... |
| 252 args=["--kill_browsers=True"], | 252 args=["--kill_browsers=True"], |
| 253 env={"BUILDBOT_JAVA_HOME": api.path["checkout"].join( | 253 env={"BUILDBOT_JAVA_HOME": api.path["checkout"].join( |
| 254 "third_party", "java", "linux", "j2sdk")}, | 254 "third_party", "java", "linux", "j2sdk")}, |
| 255 cwd=api.path["checkout"]) | 255 cwd=api.path["checkout"]) |
| 256 | 256 |
| 257 | 257 |
| 258 def dartino_mac_release_x86_dev_steps(api): | 258 def dartino_mac_release_x86_dev_steps(api): |
| 259 build_properties = api.properties.legacy() | 259 build_properties = api.properties.legacy() |
| 260 # update scripts step; implicitly run by recipe engine. | 260 # update scripts step; implicitly run by recipe engine. |
| 261 # bot_update step | 261 # bot_update step |
| 262 src_cfg = api.gclient.make_config(GIT_MODE=True) | 262 src_cfg = api.gclient.make_config() |
| 263 soln = src_cfg.solutions.add() | 263 soln = src_cfg.solutions.add() |
| 264 soln.name = "sdk" | 264 soln.name = "sdk" |
| 265 soln.url = "https://github.com/dartino/sdk.git" | 265 soln.url = "https://github.com/dartino/sdk.git" |
| 266 soln.custom_deps = {} | 266 soln.custom_deps = {} |
| 267 soln.custom_vars = {} | 267 soln.custom_vars = {} |
| 268 api.gclient.c = src_cfg | 268 api.gclient.c = src_cfg |
| 269 result = api.bot_update.ensure_checkout(force=True, no_shallow=True) | 269 result = api.bot_update.ensure_checkout(force=True, no_shallow=True) |
| 270 build_properties.update(result.json.output.get("properties", {})) | 270 build_properties.update(result.json.output.get("properties", {})) |
| 271 # gclient revert step; made unnecessary by bot_update | 271 # gclient revert step; made unnecessary by bot_update |
| 272 # gclient update step; made unnecessary by bot_update | 272 # gclient update step; made unnecessary by bot_update |
| (...skipping 25 matching lines...) Expand all Loading... |
| 298 "task_kill.py"), | 298 "task_kill.py"), |
| 299 args=["--kill_browsers=True"], | 299 args=["--kill_browsers=True"], |
| 300 env={}, | 300 env={}, |
| 301 cwd=api.path["checkout"]) | 301 cwd=api.path["checkout"]) |
| 302 | 302 |
| 303 | 303 |
| 304 def cross_dartino_linux_arm_steps(api): | 304 def cross_dartino_linux_arm_steps(api): |
| 305 build_properties = api.properties.legacy() | 305 build_properties = api.properties.legacy() |
| 306 # update scripts step; implicitly run by recipe engine. | 306 # update scripts step; implicitly run by recipe engine. |
| 307 # bot_update step | 307 # bot_update step |
| 308 src_cfg = api.gclient.make_config(GIT_MODE=True) | 308 src_cfg = api.gclient.make_config() |
| 309 soln = src_cfg.solutions.add() | 309 soln = src_cfg.solutions.add() |
| 310 soln.name = "sdk" | 310 soln.name = "sdk" |
| 311 soln.url = "https://github.com/dartino/sdk.git" | 311 soln.url = "https://github.com/dartino/sdk.git" |
| 312 soln.custom_deps = {} | 312 soln.custom_deps = {} |
| 313 soln.custom_vars = {} | 313 soln.custom_vars = {} |
| 314 api.gclient.c = src_cfg | 314 api.gclient.c = src_cfg |
| 315 result = api.bot_update.ensure_checkout(force=True, no_shallow=True) | 315 result = api.bot_update.ensure_checkout(force=True, no_shallow=True) |
| 316 build_properties.update(result.json.output.get("properties", {})) | 316 build_properties.update(result.json.output.get("properties", {})) |
| 317 # gclient revert step; made unnecessary by bot_update | 317 # gclient revert step; made unnecessary by bot_update |
| 318 # gclient update step; made unnecessary by bot_update | 318 # gclient update step; made unnecessary by bot_update |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 351 # trigger step | 351 # trigger step |
| 352 trigger_spec = [{"builder_name": "target-dartino-linux-release-arm"}, | 352 trigger_spec = [{"builder_name": "target-dartino-linux-release-arm"}, |
| 353 {"builder_name": "target-dartino-linux-debug-arm"}] | 353 {"builder_name": "target-dartino-linux-debug-arm"}] |
| 354 api.trigger(*trigger_spec) | 354 api.trigger(*trigger_spec) |
| 355 | 355 |
| 356 | 356 |
| 357 def dartino_mac_release_asan_x86_steps(api): | 357 def dartino_mac_release_asan_x86_steps(api): |
| 358 build_properties = api.properties.legacy() | 358 build_properties = api.properties.legacy() |
| 359 # update scripts step; implicitly run by recipe engine. | 359 # update scripts step; implicitly run by recipe engine. |
| 360 # bot_update step | 360 # bot_update step |
| 361 src_cfg = api.gclient.make_config(GIT_MODE=True) | 361 src_cfg = api.gclient.make_config() |
| 362 soln = src_cfg.solutions.add() | 362 soln = src_cfg.solutions.add() |
| 363 soln.name = "sdk" | 363 soln.name = "sdk" |
| 364 soln.url = "https://github.com/dartino/sdk.git" | 364 soln.url = "https://github.com/dartino/sdk.git" |
| 365 soln.custom_deps = {} | 365 soln.custom_deps = {} |
| 366 soln.custom_vars = {} | 366 soln.custom_vars = {} |
| 367 api.gclient.c = src_cfg | 367 api.gclient.c = src_cfg |
| 368 result = api.bot_update.ensure_checkout(force=True, no_shallow=True) | 368 result = api.bot_update.ensure_checkout(force=True, no_shallow=True) |
| 369 build_properties.update(result.json.output.get("properties", {})) | 369 build_properties.update(result.json.output.get("properties", {})) |
| 370 # gclient revert step; made unnecessary by bot_update | 370 # gclient revert step; made unnecessary by bot_update |
| 371 # gclient update step; made unnecessary by bot_update | 371 # gclient update step; made unnecessary by bot_update |
| (...skipping 25 matching lines...) Expand all Loading... |
| 397 "task_kill.py"), | 397 "task_kill.py"), |
| 398 args=["--kill_browsers=True"], | 398 args=["--kill_browsers=True"], |
| 399 env={}, | 399 env={}, |
| 400 cwd=api.path["checkout"]) | 400 cwd=api.path["checkout"]) |
| 401 | 401 |
| 402 | 402 |
| 403 def cross_dartino_linux_arm_dev_steps(api): | 403 def cross_dartino_linux_arm_dev_steps(api): |
| 404 build_properties = api.properties.legacy() | 404 build_properties = api.properties.legacy() |
| 405 # update scripts step; implicitly run by recipe engine. | 405 # update scripts step; implicitly run by recipe engine. |
| 406 # bot_update step | 406 # bot_update step |
| 407 src_cfg = api.gclient.make_config(GIT_MODE=True) | 407 src_cfg = api.gclient.make_config() |
| 408 soln = src_cfg.solutions.add() | 408 soln = src_cfg.solutions.add() |
| 409 soln.name = "sdk" | 409 soln.name = "sdk" |
| 410 soln.url = "https://github.com/dartino/sdk.git" | 410 soln.url = "https://github.com/dartino/sdk.git" |
| 411 soln.custom_deps = {} | 411 soln.custom_deps = {} |
| 412 soln.custom_vars = {} | 412 soln.custom_vars = {} |
| 413 api.gclient.c = src_cfg | 413 api.gclient.c = src_cfg |
| 414 result = api.bot_update.ensure_checkout(force=True, no_shallow=True) | 414 result = api.bot_update.ensure_checkout(force=True, no_shallow=True) |
| 415 build_properties.update(result.json.output.get("properties", {})) | 415 build_properties.update(result.json.output.get("properties", {})) |
| 416 # gclient revert step; made unnecessary by bot_update | 416 # gclient revert step; made unnecessary by bot_update |
| 417 # gclient update step; made unnecessary by bot_update | 417 # gclient update step; made unnecessary by bot_update |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 450 # trigger step | 450 # trigger step |
| 451 trigger_spec = [{"builder_name": "target-dartino-linux-release-arm-dev"}, | 451 trigger_spec = [{"builder_name": "target-dartino-linux-release-arm-dev"}, |
| 452 {"builder_name": "target-dartino-linux-debug-arm-dev"}] | 452 {"builder_name": "target-dartino-linux-debug-arm-dev"}] |
| 453 api.trigger(*trigger_spec) | 453 api.trigger(*trigger_spec) |
| 454 | 454 |
| 455 | 455 |
| 456 def dartino_free_rtos_steps(api): | 456 def dartino_free_rtos_steps(api): |
| 457 build_properties = api.properties.legacy() | 457 build_properties = api.properties.legacy() |
| 458 # update scripts step; implicitly run by recipe engine. | 458 # update scripts step; implicitly run by recipe engine. |
| 459 # bot_update step | 459 # bot_update step |
| 460 src_cfg = api.gclient.make_config(GIT_MODE=True) | 460 src_cfg = api.gclient.make_config() |
| 461 soln = src_cfg.solutions.add() | 461 soln = src_cfg.solutions.add() |
| 462 soln.name = "sdk" | 462 soln.name = "sdk" |
| 463 soln.url = "https://github.com/dartino/sdk.git" | 463 soln.url = "https://github.com/dartino/sdk.git" |
| 464 soln.custom_deps = {} | 464 soln.custom_deps = {} |
| 465 soln.custom_vars = {} | 465 soln.custom_vars = {} |
| 466 api.gclient.c = src_cfg | 466 api.gclient.c = src_cfg |
| 467 result = api.bot_update.ensure_checkout(force=True, no_shallow=True) | 467 result = api.bot_update.ensure_checkout(force=True, no_shallow=True) |
| 468 build_properties.update(result.json.output.get("properties", {})) | 468 build_properties.update(result.json.output.get("properties", {})) |
| 469 # gclient revert step; made unnecessary by bot_update | 469 # gclient revert step; made unnecessary by bot_update |
| 470 # gclient update step; made unnecessary by bot_update | 470 # gclient update step; made unnecessary by bot_update |
| (...skipping 28 matching lines...) Expand all Loading... |
| 499 args=["--kill_browsers=True"], | 499 args=["--kill_browsers=True"], |
| 500 env={"BUILDBOT_JAVA_HOME": api.path["checkout"].join( | 500 env={"BUILDBOT_JAVA_HOME": api.path["checkout"].join( |
| 501 "third_party", "java", "linux", "j2sdk")}, | 501 "third_party", "java", "linux", "j2sdk")}, |
| 502 cwd=api.path["checkout"]) | 502 cwd=api.path["checkout"]) |
| 503 | 503 |
| 504 | 504 |
| 505 def dartino_mac_release_x64_sdk_steps(api): | 505 def dartino_mac_release_x64_sdk_steps(api): |
| 506 build_properties = api.properties.legacy() | 506 build_properties = api.properties.legacy() |
| 507 # update scripts step; implicitly run by recipe engine. | 507 # update scripts step; implicitly run by recipe engine. |
| 508 # bot_update step | 508 # bot_update step |
| 509 src_cfg = api.gclient.make_config(GIT_MODE=True) | 509 src_cfg = api.gclient.make_config() |
| 510 soln = src_cfg.solutions.add() | 510 soln = src_cfg.solutions.add() |
| 511 soln.name = "sdk" | 511 soln.name = "sdk" |
| 512 soln.url = "https://github.com/dartino/sdk.git" | 512 soln.url = "https://github.com/dartino/sdk.git" |
| 513 soln.custom_deps = {} | 513 soln.custom_deps = {} |
| 514 soln.custom_vars = {} | 514 soln.custom_vars = {} |
| 515 api.gclient.c = src_cfg | 515 api.gclient.c = src_cfg |
| 516 result = api.bot_update.ensure_checkout(force=True, no_shallow=True) | 516 result = api.bot_update.ensure_checkout(force=True, no_shallow=True) |
| 517 build_properties.update(result.json.output.get("properties", {})) | 517 build_properties.update(result.json.output.get("properties", {})) |
| 518 # gclient revert step; made unnecessary by bot_update | 518 # gclient revert step; made unnecessary by bot_update |
| 519 # gclient update step; made unnecessary by bot_update | 519 # gclient update step; made unnecessary by bot_update |
| (...skipping 25 matching lines...) Expand all Loading... |
| 545 "task_kill.py"), | 545 "task_kill.py"), |
| 546 args=["--kill_browsers=True"], | 546 args=["--kill_browsers=True"], |
| 547 env={}, | 547 env={}, |
| 548 cwd=api.path["checkout"]) | 548 cwd=api.path["checkout"]) |
| 549 | 549 |
| 550 | 550 |
| 551 def dartino_free_rtos_dev_steps(api): | 551 def dartino_free_rtos_dev_steps(api): |
| 552 build_properties = api.properties.legacy() | 552 build_properties = api.properties.legacy() |
| 553 # update scripts step; implicitly run by recipe engine. | 553 # update scripts step; implicitly run by recipe engine. |
| 554 # bot_update step | 554 # bot_update step |
| 555 src_cfg = api.gclient.make_config(GIT_MODE=True) | 555 src_cfg = api.gclient.make_config() |
| 556 soln = src_cfg.solutions.add() | 556 soln = src_cfg.solutions.add() |
| 557 soln.name = "sdk" | 557 soln.name = "sdk" |
| 558 soln.url = "https://github.com/dartino/sdk.git" | 558 soln.url = "https://github.com/dartino/sdk.git" |
| 559 soln.custom_deps = {} | 559 soln.custom_deps = {} |
| 560 soln.custom_vars = {} | 560 soln.custom_vars = {} |
| 561 api.gclient.c = src_cfg | 561 api.gclient.c = src_cfg |
| 562 result = api.bot_update.ensure_checkout(force=True, no_shallow=True) | 562 result = api.bot_update.ensure_checkout(force=True, no_shallow=True) |
| 563 build_properties.update(result.json.output.get("properties", {})) | 563 build_properties.update(result.json.output.get("properties", {})) |
| 564 # gclient revert step; made unnecessary by bot_update | 564 # gclient revert step; made unnecessary by bot_update |
| 565 # gclient update step; made unnecessary by bot_update | 565 # gclient update step; made unnecessary by bot_update |
| (...skipping 28 matching lines...) Expand all Loading... |
| 594 args=["--kill_browsers=True"], | 594 args=["--kill_browsers=True"], |
| 595 env={"BUILDBOT_JAVA_HOME": api.path["checkout"].join( | 595 env={"BUILDBOT_JAVA_HOME": api.path["checkout"].join( |
| 596 "third_party", "java", "linux", "j2sdk")}, | 596 "third_party", "java", "linux", "j2sdk")}, |
| 597 cwd=api.path["checkout"]) | 597 cwd=api.path["checkout"]) |
| 598 | 598 |
| 599 | 599 |
| 600 def dartino_mac_debug_asan_x86_steps(api): | 600 def dartino_mac_debug_asan_x86_steps(api): |
| 601 build_properties = api.properties.legacy() | 601 build_properties = api.properties.legacy() |
| 602 # update scripts step; implicitly run by recipe engine. | 602 # update scripts step; implicitly run by recipe engine. |
| 603 # bot_update step | 603 # bot_update step |
| 604 src_cfg = api.gclient.make_config(GIT_MODE=True) | 604 src_cfg = api.gclient.make_config() |
| 605 soln = src_cfg.solutions.add() | 605 soln = src_cfg.solutions.add() |
| 606 soln.name = "sdk" | 606 soln.name = "sdk" |
| 607 soln.url = "https://github.com/dartino/sdk.git" | 607 soln.url = "https://github.com/dartino/sdk.git" |
| 608 soln.custom_deps = {} | 608 soln.custom_deps = {} |
| 609 soln.custom_vars = {} | 609 soln.custom_vars = {} |
| 610 api.gclient.c = src_cfg | 610 api.gclient.c = src_cfg |
| 611 result = api.bot_update.ensure_checkout(force=True, no_shallow=True) | 611 result = api.bot_update.ensure_checkout(force=True, no_shallow=True) |
| 612 build_properties.update(result.json.output.get("properties", {})) | 612 build_properties.update(result.json.output.get("properties", {})) |
| 613 # gclient revert step; made unnecessary by bot_update | 613 # gclient revert step; made unnecessary by bot_update |
| 614 # gclient update step; made unnecessary by bot_update | 614 # gclient update step; made unnecessary by bot_update |
| (...skipping 25 matching lines...) Expand all Loading... |
| 640 "task_kill.py"), | 640 "task_kill.py"), |
| 641 args=["--kill_browsers=True"], | 641 args=["--kill_browsers=True"], |
| 642 env={}, | 642 env={}, |
| 643 cwd=api.path["checkout"]) | 643 cwd=api.path["checkout"]) |
| 644 | 644 |
| 645 | 645 |
| 646 def dartino_mac_debug_x86_steps(api): | 646 def dartino_mac_debug_x86_steps(api): |
| 647 build_properties = api.properties.legacy() | 647 build_properties = api.properties.legacy() |
| 648 # update scripts step; implicitly run by recipe engine. | 648 # update scripts step; implicitly run by recipe engine. |
| 649 # bot_update step | 649 # bot_update step |
| 650 src_cfg = api.gclient.make_config(GIT_MODE=True) | 650 src_cfg = api.gclient.make_config() |
| 651 soln = src_cfg.solutions.add() | 651 soln = src_cfg.solutions.add() |
| 652 soln.name = "sdk" | 652 soln.name = "sdk" |
| 653 soln.url = "https://github.com/dartino/sdk.git" | 653 soln.url = "https://github.com/dartino/sdk.git" |
| 654 soln.custom_deps = {} | 654 soln.custom_deps = {} |
| 655 soln.custom_vars = {} | 655 soln.custom_vars = {} |
| 656 api.gclient.c = src_cfg | 656 api.gclient.c = src_cfg |
| 657 result = api.bot_update.ensure_checkout(force=True, no_shallow=True) | 657 result = api.bot_update.ensure_checkout(force=True, no_shallow=True) |
| 658 build_properties.update(result.json.output.get("properties", {})) | 658 build_properties.update(result.json.output.get("properties", {})) |
| 659 # gclient revert step; made unnecessary by bot_update | 659 # gclient revert step; made unnecessary by bot_update |
| 660 # gclient update step; made unnecessary by bot_update | 660 # gclient update step; made unnecessary by bot_update |
| (...skipping 25 matching lines...) Expand all Loading... |
| 686 "task_kill.py"), | 686 "task_kill.py"), |
| 687 args=["--kill_browsers=True"], | 687 args=["--kill_browsers=True"], |
| 688 env={}, | 688 env={}, |
| 689 cwd=api.path["checkout"]) | 689 cwd=api.path["checkout"]) |
| 690 | 690 |
| 691 | 691 |
| 692 def target_dartino_linux_debug_arm_steps(api): | 692 def target_dartino_linux_debug_arm_steps(api): |
| 693 build_properties = api.properties.legacy() | 693 build_properties = api.properties.legacy() |
| 694 # update scripts step; implicitly run by recipe engine. | 694 # update scripts step; implicitly run by recipe engine. |
| 695 # bot_update step | 695 # bot_update step |
| 696 src_cfg = api.gclient.make_config(GIT_MODE=True) | 696 src_cfg = api.gclient.make_config() |
| 697 soln = src_cfg.solutions.add() | 697 soln = src_cfg.solutions.add() |
| 698 soln.name = "sdk" | 698 soln.name = "sdk" |
| 699 soln.url = "https://github.com/dartino/sdk.git" | 699 soln.url = "https://github.com/dartino/sdk.git" |
| 700 soln.custom_deps = {} | 700 soln.custom_deps = {} |
| 701 soln.custom_vars = {} | 701 soln.custom_vars = {} |
| 702 api.gclient.c = src_cfg | 702 api.gclient.c = src_cfg |
| 703 result = api.bot_update.ensure_checkout(force=True, no_shallow=True) | 703 result = api.bot_update.ensure_checkout(force=True, no_shallow=True) |
| 704 build_properties.update(result.json.output.get("properties", {})) | 704 build_properties.update(result.json.output.get("properties", {})) |
| 705 # gclient revert step; made unnecessary by bot_update | 705 # gclient revert step; made unnecessary by bot_update |
| 706 # gclient update step; made unnecessary by bot_update | 706 # gclient update step; made unnecessary by bot_update |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 739 | 739 |
| 740 | 740 |
| 741 def dartino_win_debug_x86_steps(api): | 741 def dartino_win_debug_x86_steps(api): |
| 742 build_properties = api.properties.legacy() | 742 build_properties = api.properties.legacy() |
| 743 # svnkill step; not necessary in recipes | 743 # svnkill step; not necessary in recipes |
| 744 # update scripts step; implicitly run by recipe engine. | 744 # update scripts step; implicitly run by recipe engine. |
| 745 # extra taskkill step | 745 # extra taskkill step |
| 746 api.python("taskkill", api.path["build"].join("scripts", "slave", | 746 api.python("taskkill", api.path["build"].join("scripts", "slave", |
| 747 "kill_processes.py")) | 747 "kill_processes.py")) |
| 748 # bot_update step | 748 # bot_update step |
| 749 src_cfg = api.gclient.make_config(GIT_MODE=True) | 749 src_cfg = api.gclient.make_config() |
| 750 soln = src_cfg.solutions.add() | 750 soln = src_cfg.solutions.add() |
| 751 soln.name = "sdk" | 751 soln.name = "sdk" |
| 752 soln.url = "https://github.com/dartino/sdk.git" | 752 soln.url = "https://github.com/dartino/sdk.git" |
| 753 soln.custom_deps = {} | 753 soln.custom_deps = {} |
| 754 soln.custom_vars = {} | 754 soln.custom_vars = {} |
| 755 api.gclient.c = src_cfg | 755 api.gclient.c = src_cfg |
| 756 result = api.bot_update.ensure_checkout(force=True, no_shallow=True) | 756 result = api.bot_update.ensure_checkout(force=True, no_shallow=True) |
| 757 build_properties.update(result.json.output.get("properties", {})) | 757 build_properties.update(result.json.output.get("properties", {})) |
| 758 # gclient revert step; made unnecessary by bot_update | 758 # gclient revert step; made unnecessary by bot_update |
| 759 # gclient update step; made unnecessary by bot_update | 759 # gclient update step; made unnecessary by bot_update |
| (...skipping 24 matching lines...) Expand all Loading... |
| 784 api.path["checkout"].join("third_party", "dart", "tools", | 784 api.path["checkout"].join("third_party", "dart", "tools", |
| 785 "task_kill.py"), | 785 "task_kill.py"), |
| 786 args=["--kill_browsers=True"], | 786 args=["--kill_browsers=True"], |
| 787 cwd=api.path["checkout"]) | 787 cwd=api.path["checkout"]) |
| 788 | 788 |
| 789 | 789 |
| 790 def dartino_linux_release_x86_dev_steps(api): | 790 def dartino_linux_release_x86_dev_steps(api): |
| 791 build_properties = api.properties.legacy() | 791 build_properties = api.properties.legacy() |
| 792 # update scripts step; implicitly run by recipe engine. | 792 # update scripts step; implicitly run by recipe engine. |
| 793 # bot_update step | 793 # bot_update step |
| 794 src_cfg = api.gclient.make_config(GIT_MODE=True) | 794 src_cfg = api.gclient.make_config() |
| 795 soln = src_cfg.solutions.add() | 795 soln = src_cfg.solutions.add() |
| 796 soln.name = "sdk" | 796 soln.name = "sdk" |
| 797 soln.url = "https://github.com/dartino/sdk.git" | 797 soln.url = "https://github.com/dartino/sdk.git" |
| 798 soln.custom_deps = {} | 798 soln.custom_deps = {} |
| 799 soln.custom_vars = {} | 799 soln.custom_vars = {} |
| 800 api.gclient.c = src_cfg | 800 api.gclient.c = src_cfg |
| 801 result = api.bot_update.ensure_checkout(force=True, no_shallow=True) | 801 result = api.bot_update.ensure_checkout(force=True, no_shallow=True) |
| 802 build_properties.update(result.json.output.get("properties", {})) | 802 build_properties.update(result.json.output.get("properties", {})) |
| 803 # gclient revert step; made unnecessary by bot_update | 803 # gclient revert step; made unnecessary by bot_update |
| 804 # gclient update step; made unnecessary by bot_update | 804 # gclient update step; made unnecessary by bot_update |
| (...skipping 28 matching lines...) Expand all Loading... |
| 833 args=["--kill_browsers=True"], | 833 args=["--kill_browsers=True"], |
| 834 env={"BUILDBOT_JAVA_HOME": api.path["checkout"].join( | 834 env={"BUILDBOT_JAVA_HOME": api.path["checkout"].join( |
| 835 "third_party", "java", "linux", "j2sdk")}, | 835 "third_party", "java", "linux", "j2sdk")}, |
| 836 cwd=api.path["checkout"]) | 836 cwd=api.path["checkout"]) |
| 837 | 837 |
| 838 | 838 |
| 839 def dartino_mac_debug_x86_dev_steps(api): | 839 def dartino_mac_debug_x86_dev_steps(api): |
| 840 build_properties = api.properties.legacy() | 840 build_properties = api.properties.legacy() |
| 841 # update scripts step; implicitly run by recipe engine. | 841 # update scripts step; implicitly run by recipe engine. |
| 842 # bot_update step | 842 # bot_update step |
| 843 src_cfg = api.gclient.make_config(GIT_MODE=True) | 843 src_cfg = api.gclient.make_config() |
| 844 soln = src_cfg.solutions.add() | 844 soln = src_cfg.solutions.add() |
| 845 soln.name = "sdk" | 845 soln.name = "sdk" |
| 846 soln.url = "https://github.com/dartino/sdk.git" | 846 soln.url = "https://github.com/dartino/sdk.git" |
| 847 soln.custom_deps = {} | 847 soln.custom_deps = {} |
| 848 soln.custom_vars = {} | 848 soln.custom_vars = {} |
| 849 api.gclient.c = src_cfg | 849 api.gclient.c = src_cfg |
| 850 result = api.bot_update.ensure_checkout(force=True, no_shallow=True) | 850 result = api.bot_update.ensure_checkout(force=True, no_shallow=True) |
| 851 build_properties.update(result.json.output.get("properties", {})) | 851 build_properties.update(result.json.output.get("properties", {})) |
| 852 # gclient revert step; made unnecessary by bot_update | 852 # gclient revert step; made unnecessary by bot_update |
| 853 # gclient update step; made unnecessary by bot_update | 853 # gclient update step; made unnecessary by bot_update |
| (...skipping 25 matching lines...) Expand all Loading... |
| 879 "task_kill.py"), | 879 "task_kill.py"), |
| 880 args=["--kill_browsers=True"], | 880 args=["--kill_browsers=True"], |
| 881 env={}, | 881 env={}, |
| 882 cwd=api.path["checkout"]) | 882 cwd=api.path["checkout"]) |
| 883 | 883 |
| 884 | 884 |
| 885 def dartino_linux_release_x64_sdk_dev_steps(api): | 885 def dartino_linux_release_x64_sdk_dev_steps(api): |
| 886 build_properties = api.properties.legacy() | 886 build_properties = api.properties.legacy() |
| 887 # update scripts step; implicitly run by recipe engine. | 887 # update scripts step; implicitly run by recipe engine. |
| 888 # bot_update step | 888 # bot_update step |
| 889 src_cfg = api.gclient.make_config(GIT_MODE=True) | 889 src_cfg = api.gclient.make_config() |
| 890 soln = src_cfg.solutions.add() | 890 soln = src_cfg.solutions.add() |
| 891 soln.name = "sdk" | 891 soln.name = "sdk" |
| 892 soln.url = "https://github.com/dartino/sdk.git" | 892 soln.url = "https://github.com/dartino/sdk.git" |
| 893 soln.custom_deps = {} | 893 soln.custom_deps = {} |
| 894 soln.custom_vars = {} | 894 soln.custom_vars = {} |
| 895 api.gclient.c = src_cfg | 895 api.gclient.c = src_cfg |
| 896 result = api.bot_update.ensure_checkout(force=True, no_shallow=True) | 896 result = api.bot_update.ensure_checkout(force=True, no_shallow=True) |
| 897 build_properties.update(result.json.output.get("properties", {})) | 897 build_properties.update(result.json.output.get("properties", {})) |
| 898 # gclient revert step; made unnecessary by bot_update | 898 # gclient revert step; made unnecessary by bot_update |
| 899 # gclient update step; made unnecessary by bot_update | 899 # gclient update step; made unnecessary by bot_update |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 931 cwd=api.path["checkout"]) | 931 cwd=api.path["checkout"]) |
| 932 # trigger step | 932 # trigger step |
| 933 trigger_spec = [{"builder_name": "dartino-mac-release-x64-sdk-dev"}] | 933 trigger_spec = [{"builder_name": "dartino-mac-release-x64-sdk-dev"}] |
| 934 api.trigger(*trigger_spec) | 934 api.trigger(*trigger_spec) |
| 935 | 935 |
| 936 | 936 |
| 937 def dartino_linux_debug_asan_x86_dev_steps(api): | 937 def dartino_linux_debug_asan_x86_dev_steps(api): |
| 938 build_properties = api.properties.legacy() | 938 build_properties = api.properties.legacy() |
| 939 # update scripts step; implicitly run by recipe engine. | 939 # update scripts step; implicitly run by recipe engine. |
| 940 # bot_update step | 940 # bot_update step |
| 941 src_cfg = api.gclient.make_config(GIT_MODE=True) | 941 src_cfg = api.gclient.make_config() |
| 942 soln = src_cfg.solutions.add() | 942 soln = src_cfg.solutions.add() |
| 943 soln.name = "sdk" | 943 soln.name = "sdk" |
| 944 soln.url = "https://github.com/dartino/sdk.git" | 944 soln.url = "https://github.com/dartino/sdk.git" |
| 945 soln.custom_deps = {} | 945 soln.custom_deps = {} |
| 946 soln.custom_vars = {} | 946 soln.custom_vars = {} |
| 947 api.gclient.c = src_cfg | 947 api.gclient.c = src_cfg |
| 948 result = api.bot_update.ensure_checkout(force=True, no_shallow=True) | 948 result = api.bot_update.ensure_checkout(force=True, no_shallow=True) |
| 949 build_properties.update(result.json.output.get("properties", {})) | 949 build_properties.update(result.json.output.get("properties", {})) |
| 950 # gclient revert step; made unnecessary by bot_update | 950 # gclient revert step; made unnecessary by bot_update |
| 951 # gclient update step; made unnecessary by bot_update | 951 # gclient update step; made unnecessary by bot_update |
| (...skipping 28 matching lines...) Expand all Loading... |
| 980 args=["--kill_browsers=True"], | 980 args=["--kill_browsers=True"], |
| 981 env={"BUILDBOT_JAVA_HOME": api.path["checkout"].join( | 981 env={"BUILDBOT_JAVA_HOME": api.path["checkout"].join( |
| 982 "third_party", "java", "linux", "j2sdk")}, | 982 "third_party", "java", "linux", "j2sdk")}, |
| 983 cwd=api.path["checkout"]) | 983 cwd=api.path["checkout"]) |
| 984 | 984 |
| 985 | 985 |
| 986 def dartino_linux_debug_asan_x86_steps(api): | 986 def dartino_linux_debug_asan_x86_steps(api): |
| 987 build_properties = api.properties.legacy() | 987 build_properties = api.properties.legacy() |
| 988 # update scripts step; implicitly run by recipe engine. | 988 # update scripts step; implicitly run by recipe engine. |
| 989 # bot_update step | 989 # bot_update step |
| 990 src_cfg = api.gclient.make_config(GIT_MODE=True) | 990 src_cfg = api.gclient.make_config() |
| 991 soln = src_cfg.solutions.add() | 991 soln = src_cfg.solutions.add() |
| 992 soln.name = "sdk" | 992 soln.name = "sdk" |
| 993 soln.url = "https://github.com/dartino/sdk.git" | 993 soln.url = "https://github.com/dartino/sdk.git" |
| 994 soln.custom_deps = {} | 994 soln.custom_deps = {} |
| 995 soln.custom_vars = {} | 995 soln.custom_vars = {} |
| 996 api.gclient.c = src_cfg | 996 api.gclient.c = src_cfg |
| 997 result = api.bot_update.ensure_checkout(force=True, no_shallow=True) | 997 result = api.bot_update.ensure_checkout(force=True, no_shallow=True) |
| 998 build_properties.update(result.json.output.get("properties", {})) | 998 build_properties.update(result.json.output.get("properties", {})) |
| 999 # gclient revert step; made unnecessary by bot_update | 999 # gclient revert step; made unnecessary by bot_update |
| 1000 # gclient update step; made unnecessary by bot_update | 1000 # gclient update step; made unnecessary by bot_update |
| (...skipping 28 matching lines...) Expand all Loading... |
| 1029 args=["--kill_browsers=True"], | 1029 args=["--kill_browsers=True"], |
| 1030 env={"BUILDBOT_JAVA_HOME": api.path["checkout"].join( | 1030 env={"BUILDBOT_JAVA_HOME": api.path["checkout"].join( |
| 1031 "third_party", "java", "linux", "j2sdk")}, | 1031 "third_party", "java", "linux", "j2sdk")}, |
| 1032 cwd=api.path["checkout"]) | 1032 cwd=api.path["checkout"]) |
| 1033 | 1033 |
| 1034 | 1034 |
| 1035 def dartino_mac_release_asan_x86_dev_steps(api): | 1035 def dartino_mac_release_asan_x86_dev_steps(api): |
| 1036 build_properties = api.properties.legacy() | 1036 build_properties = api.properties.legacy() |
| 1037 # update scripts step; implicitly run by recipe engine. | 1037 # update scripts step; implicitly run by recipe engine. |
| 1038 # bot_update step | 1038 # bot_update step |
| 1039 src_cfg = api.gclient.make_config(GIT_MODE=True) | 1039 src_cfg = api.gclient.make_config() |
| 1040 soln = src_cfg.solutions.add() | 1040 soln = src_cfg.solutions.add() |
| 1041 soln.name = "sdk" | 1041 soln.name = "sdk" |
| 1042 soln.url = "https://github.com/dartino/sdk.git" | 1042 soln.url = "https://github.com/dartino/sdk.git" |
| 1043 soln.custom_deps = {} | 1043 soln.custom_deps = {} |
| 1044 soln.custom_vars = {} | 1044 soln.custom_vars = {} |
| 1045 api.gclient.c = src_cfg | 1045 api.gclient.c = src_cfg |
| 1046 result = api.bot_update.ensure_checkout(force=True, no_shallow=True) | 1046 result = api.bot_update.ensure_checkout(force=True, no_shallow=True) |
| 1047 build_properties.update(result.json.output.get("properties", {})) | 1047 build_properties.update(result.json.output.get("properties", {})) |
| 1048 # gclient revert step; made unnecessary by bot_update | 1048 # gclient revert step; made unnecessary by bot_update |
| 1049 # gclient update step; made unnecessary by bot_update | 1049 # gclient update step; made unnecessary by bot_update |
| (...skipping 25 matching lines...) Expand all Loading... |
| 1075 "task_kill.py"), | 1075 "task_kill.py"), |
| 1076 args=["--kill_browsers=True"], | 1076 args=["--kill_browsers=True"], |
| 1077 env={}, | 1077 env={}, |
| 1078 cwd=api.path["checkout"]) | 1078 cwd=api.path["checkout"]) |
| 1079 | 1079 |
| 1080 | 1080 |
| 1081 def target_dartino_linux_release_arm_steps(api): | 1081 def target_dartino_linux_release_arm_steps(api): |
| 1082 build_properties = api.properties.legacy() | 1082 build_properties = api.properties.legacy() |
| 1083 # update scripts step; implicitly run by recipe engine. | 1083 # update scripts step; implicitly run by recipe engine. |
| 1084 # bot_update step | 1084 # bot_update step |
| 1085 src_cfg = api.gclient.make_config(GIT_MODE=True) | 1085 src_cfg = api.gclient.make_config() |
| 1086 soln = src_cfg.solutions.add() | 1086 soln = src_cfg.solutions.add() |
| 1087 soln.name = "sdk" | 1087 soln.name = "sdk" |
| 1088 soln.url = "https://github.com/dartino/sdk.git" | 1088 soln.url = "https://github.com/dartino/sdk.git" |
| 1089 soln.custom_deps = {} | 1089 soln.custom_deps = {} |
| 1090 soln.custom_vars = {} | 1090 soln.custom_vars = {} |
| 1091 api.gclient.c = src_cfg | 1091 api.gclient.c = src_cfg |
| 1092 result = api.bot_update.ensure_checkout(force=True, no_shallow=True) | 1092 result = api.bot_update.ensure_checkout(force=True, no_shallow=True) |
| 1093 build_properties.update(result.json.output.get("properties", {})) | 1093 build_properties.update(result.json.output.get("properties", {})) |
| 1094 # gclient revert step; made unnecessary by bot_update | 1094 # gclient revert step; made unnecessary by bot_update |
| 1095 # gclient update step; made unnecessary by bot_update | 1095 # gclient update step; made unnecessary by bot_update |
| (...skipping 28 matching lines...) Expand all Loading... |
| 1124 args=["--kill_browsers=True"], | 1124 args=["--kill_browsers=True"], |
| 1125 env={"BUILDBOT_JAVA_HOME": api.path["checkout"].join( | 1125 env={"BUILDBOT_JAVA_HOME": api.path["checkout"].join( |
| 1126 "third_party", "java", "linux", "j2sdk")}, | 1126 "third_party", "java", "linux", "j2sdk")}, |
| 1127 cwd=api.path["checkout"]) | 1127 cwd=api.path["checkout"]) |
| 1128 | 1128 |
| 1129 | 1129 |
| 1130 def dartino_mac_release_x86_steps(api): | 1130 def dartino_mac_release_x86_steps(api): |
| 1131 build_properties = api.properties.legacy() | 1131 build_properties = api.properties.legacy() |
| 1132 # update scripts step; implicitly run by recipe engine. | 1132 # update scripts step; implicitly run by recipe engine. |
| 1133 # bot_update step | 1133 # bot_update step |
| 1134 src_cfg = api.gclient.make_config(GIT_MODE=True) | 1134 src_cfg = api.gclient.make_config() |
| 1135 soln = src_cfg.solutions.add() | 1135 soln = src_cfg.solutions.add() |
| 1136 soln.name = "sdk" | 1136 soln.name = "sdk" |
| 1137 soln.url = "https://github.com/dartino/sdk.git" | 1137 soln.url = "https://github.com/dartino/sdk.git" |
| 1138 soln.custom_deps = {} | 1138 soln.custom_deps = {} |
| 1139 soln.custom_vars = {} | 1139 soln.custom_vars = {} |
| 1140 api.gclient.c = src_cfg | 1140 api.gclient.c = src_cfg |
| 1141 result = api.bot_update.ensure_checkout(force=True, no_shallow=True) | 1141 result = api.bot_update.ensure_checkout(force=True, no_shallow=True) |
| 1142 build_properties.update(result.json.output.get("properties", {})) | 1142 build_properties.update(result.json.output.get("properties", {})) |
| 1143 # gclient revert step; made unnecessary by bot_update | 1143 # gclient revert step; made unnecessary by bot_update |
| 1144 # gclient update step; made unnecessary by bot_update | 1144 # gclient update step; made unnecessary by bot_update |
| (...skipping 25 matching lines...) Expand all Loading... |
| 1170 "task_kill.py"), | 1170 "task_kill.py"), |
| 1171 args=["--kill_browsers=True"], | 1171 args=["--kill_browsers=True"], |
| 1172 env={}, | 1172 env={}, |
| 1173 cwd=api.path["checkout"]) | 1173 cwd=api.path["checkout"]) |
| 1174 | 1174 |
| 1175 | 1175 |
| 1176 def dartino_linux_release_x64_sdk_steps(api): | 1176 def dartino_linux_release_x64_sdk_steps(api): |
| 1177 build_properties = api.properties.legacy() | 1177 build_properties = api.properties.legacy() |
| 1178 # update scripts step; implicitly run by recipe engine. | 1178 # update scripts step; implicitly run by recipe engine. |
| 1179 # bot_update step | 1179 # bot_update step |
| 1180 src_cfg = api.gclient.make_config(GIT_MODE=True) | 1180 src_cfg = api.gclient.make_config() |
| 1181 soln = src_cfg.solutions.add() | 1181 soln = src_cfg.solutions.add() |
| 1182 soln.name = "sdk" | 1182 soln.name = "sdk" |
| 1183 soln.url = "https://github.com/dartino/sdk.git" | 1183 soln.url = "https://github.com/dartino/sdk.git" |
| 1184 soln.custom_deps = {} | 1184 soln.custom_deps = {} |
| 1185 soln.custom_vars = {} | 1185 soln.custom_vars = {} |
| 1186 api.gclient.c = src_cfg | 1186 api.gclient.c = src_cfg |
| 1187 result = api.bot_update.ensure_checkout(force=True, no_shallow=True) | 1187 result = api.bot_update.ensure_checkout(force=True, no_shallow=True) |
| 1188 build_properties.update(result.json.output.get("properties", {})) | 1188 build_properties.update(result.json.output.get("properties", {})) |
| 1189 # gclient revert step; made unnecessary by bot_update | 1189 # gclient revert step; made unnecessary by bot_update |
| 1190 # gclient update step; made unnecessary by bot_update | 1190 # gclient update step; made unnecessary by bot_update |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1222 cwd=api.path["checkout"]) | 1222 cwd=api.path["checkout"]) |
| 1223 # trigger step | 1223 # trigger step |
| 1224 trigger_spec = [{"builder_name": "dartino-mac-release-x64-sdk"}] | 1224 trigger_spec = [{"builder_name": "dartino-mac-release-x64-sdk"}] |
| 1225 api.trigger(*trigger_spec) | 1225 api.trigger(*trigger_spec) |
| 1226 | 1226 |
| 1227 | 1227 |
| 1228 def dartino_lk_debug_arm_qemu_steps(api): | 1228 def dartino_lk_debug_arm_qemu_steps(api): |
| 1229 build_properties = api.properties.legacy() | 1229 build_properties = api.properties.legacy() |
| 1230 # update scripts step; implicitly run by recipe engine. | 1230 # update scripts step; implicitly run by recipe engine. |
| 1231 # bot_update step | 1231 # bot_update step |
| 1232 src_cfg = api.gclient.make_config(GIT_MODE=True) | 1232 src_cfg = api.gclient.make_config() |
| 1233 soln = src_cfg.solutions.add() | 1233 soln = src_cfg.solutions.add() |
| 1234 soln.name = "sdk" | 1234 soln.name = "sdk" |
| 1235 soln.url = "https://github.com/dartino/sdk.git" | 1235 soln.url = "https://github.com/dartino/sdk.git" |
| 1236 soln.custom_deps = {} | 1236 soln.custom_deps = {} |
| 1237 soln.custom_vars = {} | 1237 soln.custom_vars = {} |
| 1238 api.gclient.c = src_cfg | 1238 api.gclient.c = src_cfg |
| 1239 result = api.bot_update.ensure_checkout(force=True, no_shallow=True) | 1239 result = api.bot_update.ensure_checkout(force=True, no_shallow=True) |
| 1240 build_properties.update(result.json.output.get("properties", {})) | 1240 build_properties.update(result.json.output.get("properties", {})) |
| 1241 # gclient revert step; made unnecessary by bot_update | 1241 # gclient revert step; made unnecessary by bot_update |
| 1242 # gclient update step; made unnecessary by bot_update | 1242 # gclient update step; made unnecessary by bot_update |
| (...skipping 28 matching lines...) Expand all Loading... |
| 1271 args=["--kill_browsers=True"], | 1271 args=["--kill_browsers=True"], |
| 1272 env={"BUILDBOT_JAVA_HOME": api.path["checkout"].join( | 1272 env={"BUILDBOT_JAVA_HOME": api.path["checkout"].join( |
| 1273 "third_party", "java", "linux", "j2sdk")}, | 1273 "third_party", "java", "linux", "j2sdk")}, |
| 1274 cwd=api.path["checkout"]) | 1274 cwd=api.path["checkout"]) |
| 1275 | 1275 |
| 1276 | 1276 |
| 1277 def dartino_mac_release_x64_sdk_dev_steps(api): | 1277 def dartino_mac_release_x64_sdk_dev_steps(api): |
| 1278 build_properties = api.properties.legacy() | 1278 build_properties = api.properties.legacy() |
| 1279 # update scripts step; implicitly run by recipe engine. | 1279 # update scripts step; implicitly run by recipe engine. |
| 1280 # bot_update step | 1280 # bot_update step |
| 1281 src_cfg = api.gclient.make_config(GIT_MODE=True) | 1281 src_cfg = api.gclient.make_config() |
| 1282 soln = src_cfg.solutions.add() | 1282 soln = src_cfg.solutions.add() |
| 1283 soln.name = "sdk" | 1283 soln.name = "sdk" |
| 1284 soln.url = "https://github.com/dartino/sdk.git" | 1284 soln.url = "https://github.com/dartino/sdk.git" |
| 1285 soln.custom_deps = {} | 1285 soln.custom_deps = {} |
| 1286 soln.custom_vars = {} | 1286 soln.custom_vars = {} |
| 1287 api.gclient.c = src_cfg | 1287 api.gclient.c = src_cfg |
| 1288 result = api.bot_update.ensure_checkout(force=True, no_shallow=True) | 1288 result = api.bot_update.ensure_checkout(force=True, no_shallow=True) |
| 1289 build_properties.update(result.json.output.get("properties", {})) | 1289 build_properties.update(result.json.output.get("properties", {})) |
| 1290 # gclient revert step; made unnecessary by bot_update | 1290 # gclient revert step; made unnecessary by bot_update |
| 1291 # gclient update step; made unnecessary by bot_update | 1291 # gclient update step; made unnecessary by bot_update |
| (...skipping 25 matching lines...) Expand all Loading... |
| 1317 "task_kill.py"), | 1317 "task_kill.py"), |
| 1318 args=["--kill_browsers=True"], | 1318 args=["--kill_browsers=True"], |
| 1319 env={}, | 1319 env={}, |
| 1320 cwd=api.path["checkout"]) | 1320 cwd=api.path["checkout"]) |
| 1321 | 1321 |
| 1322 | 1322 |
| 1323 def dartino_linux_release_asan_x86_dev_steps(api): | 1323 def dartino_linux_release_asan_x86_dev_steps(api): |
| 1324 build_properties = api.properties.legacy() | 1324 build_properties = api.properties.legacy() |
| 1325 # update scripts step; implicitly run by recipe engine. | 1325 # update scripts step; implicitly run by recipe engine. |
| 1326 # bot_update step | 1326 # bot_update step |
| 1327 src_cfg = api.gclient.make_config(GIT_MODE=True) | 1327 src_cfg = api.gclient.make_config() |
| 1328 soln = src_cfg.solutions.add() | 1328 soln = src_cfg.solutions.add() |
| 1329 soln.name = "sdk" | 1329 soln.name = "sdk" |
| 1330 soln.url = "https://github.com/dartino/sdk.git" | 1330 soln.url = "https://github.com/dartino/sdk.git" |
| 1331 soln.custom_deps = {} | 1331 soln.custom_deps = {} |
| 1332 soln.custom_vars = {} | 1332 soln.custom_vars = {} |
| 1333 api.gclient.c = src_cfg | 1333 api.gclient.c = src_cfg |
| 1334 result = api.bot_update.ensure_checkout(force=True, no_shallow=True) | 1334 result = api.bot_update.ensure_checkout(force=True, no_shallow=True) |
| 1335 build_properties.update(result.json.output.get("properties", {})) | 1335 build_properties.update(result.json.output.get("properties", {})) |
| 1336 # gclient revert step; made unnecessary by bot_update | 1336 # gclient revert step; made unnecessary by bot_update |
| 1337 # gclient update step; made unnecessary by bot_update | 1337 # gclient update step; made unnecessary by bot_update |
| (...skipping 28 matching lines...) Expand all Loading... |
| 1366 args=["--kill_browsers=True"], | 1366 args=["--kill_browsers=True"], |
| 1367 env={"BUILDBOT_JAVA_HOME": api.path["checkout"].join( | 1367 env={"BUILDBOT_JAVA_HOME": api.path["checkout"].join( |
| 1368 "third_party", "java", "linux", "j2sdk")}, | 1368 "third_party", "java", "linux", "j2sdk")}, |
| 1369 cwd=api.path["checkout"]) | 1369 cwd=api.path["checkout"]) |
| 1370 | 1370 |
| 1371 | 1371 |
| 1372 def dartino_linux_debug_x86_steps(api): | 1372 def dartino_linux_debug_x86_steps(api): |
| 1373 build_properties = api.properties.legacy() | 1373 build_properties = api.properties.legacy() |
| 1374 # update scripts step; implicitly run by recipe engine. | 1374 # update scripts step; implicitly run by recipe engine. |
| 1375 # bot_update step | 1375 # bot_update step |
| 1376 src_cfg = api.gclient.make_config(GIT_MODE=True) | 1376 src_cfg = api.gclient.make_config() |
| 1377 soln = src_cfg.solutions.add() | 1377 soln = src_cfg.solutions.add() |
| 1378 soln.name = "sdk" | 1378 soln.name = "sdk" |
| 1379 soln.url = "https://github.com/dartino/sdk.git" | 1379 soln.url = "https://github.com/dartino/sdk.git" |
| 1380 soln.custom_deps = {} | 1380 soln.custom_deps = {} |
| 1381 soln.custom_vars = {} | 1381 soln.custom_vars = {} |
| 1382 api.gclient.c = src_cfg | 1382 api.gclient.c = src_cfg |
| 1383 result = api.bot_update.ensure_checkout(force=True, no_shallow=True) | 1383 result = api.bot_update.ensure_checkout(force=True, no_shallow=True) |
| 1384 build_properties.update(result.json.output.get("properties", {})) | 1384 build_properties.update(result.json.output.get("properties", {})) |
| 1385 # gclient revert step; made unnecessary by bot_update | 1385 # gclient revert step; made unnecessary by bot_update |
| 1386 # gclient update step; made unnecessary by bot_update | 1386 # gclient update step; made unnecessary by bot_update |
| (...skipping 28 matching lines...) Expand all Loading... |
| 1415 args=["--kill_browsers=True"], | 1415 args=["--kill_browsers=True"], |
| 1416 env={"BUILDBOT_JAVA_HOME": api.path["checkout"].join( | 1416 env={"BUILDBOT_JAVA_HOME": api.path["checkout"].join( |
| 1417 "third_party", "java", "linux", "j2sdk")}, | 1417 "third_party", "java", "linux", "j2sdk")}, |
| 1418 cwd=api.path["checkout"]) | 1418 cwd=api.path["checkout"]) |
| 1419 | 1419 |
| 1420 | 1420 |
| 1421 def dartino_linux_release_x86_steps(api): | 1421 def dartino_linux_release_x86_steps(api): |
| 1422 build_properties = api.properties.legacy() | 1422 build_properties = api.properties.legacy() |
| 1423 # update scripts step; implicitly run by recipe engine. | 1423 # update scripts step; implicitly run by recipe engine. |
| 1424 # bot_update step | 1424 # bot_update step |
| 1425 src_cfg = api.gclient.make_config(GIT_MODE=True) | 1425 src_cfg = api.gclient.make_config() |
| 1426 soln = src_cfg.solutions.add() | 1426 soln = src_cfg.solutions.add() |
| 1427 soln.name = "sdk" | 1427 soln.name = "sdk" |
| 1428 soln.url = "https://github.com/dartino/sdk.git" | 1428 soln.url = "https://github.com/dartino/sdk.git" |
| 1429 soln.custom_deps = {} | 1429 soln.custom_deps = {} |
| 1430 soln.custom_vars = {} | 1430 soln.custom_vars = {} |
| 1431 api.gclient.c = src_cfg | 1431 api.gclient.c = src_cfg |
| 1432 result = api.bot_update.ensure_checkout(force=True, no_shallow=True) | 1432 result = api.bot_update.ensure_checkout(force=True, no_shallow=True) |
| 1433 build_properties.update(result.json.output.get("properties", {})) | 1433 build_properties.update(result.json.output.get("properties", {})) |
| 1434 # gclient revert step; made unnecessary by bot_update | 1434 # gclient revert step; made unnecessary by bot_update |
| 1435 # gclient update step; made unnecessary by bot_update | 1435 # gclient update step; made unnecessary by bot_update |
| (...skipping 28 matching lines...) Expand all Loading... |
| 1464 args=["--kill_browsers=True"], | 1464 args=["--kill_browsers=True"], |
| 1465 env={"BUILDBOT_JAVA_HOME": api.path["checkout"].join( | 1465 env={"BUILDBOT_JAVA_HOME": api.path["checkout"].join( |
| 1466 "third_party", "java", "linux", "j2sdk")}, | 1466 "third_party", "java", "linux", "j2sdk")}, |
| 1467 cwd=api.path["checkout"]) | 1467 cwd=api.path["checkout"]) |
| 1468 | 1468 |
| 1469 | 1469 |
| 1470 def dartino_linux_debug_x86_dev_steps(api): | 1470 def dartino_linux_debug_x86_dev_steps(api): |
| 1471 build_properties = api.properties.legacy() | 1471 build_properties = api.properties.legacy() |
| 1472 # update scripts step; implicitly run by recipe engine. | 1472 # update scripts step; implicitly run by recipe engine. |
| 1473 # bot_update step | 1473 # bot_update step |
| 1474 src_cfg = api.gclient.make_config(GIT_MODE=True) | 1474 src_cfg = api.gclient.make_config() |
| 1475 soln = src_cfg.solutions.add() | 1475 soln = src_cfg.solutions.add() |
| 1476 soln.name = "sdk" | 1476 soln.name = "sdk" |
| 1477 soln.url = "https://github.com/dartino/sdk.git" | 1477 soln.url = "https://github.com/dartino/sdk.git" |
| 1478 soln.custom_deps = {} | 1478 soln.custom_deps = {} |
| 1479 soln.custom_vars = {} | 1479 soln.custom_vars = {} |
| 1480 api.gclient.c = src_cfg | 1480 api.gclient.c = src_cfg |
| 1481 result = api.bot_update.ensure_checkout(force=True, no_shallow=True) | 1481 result = api.bot_update.ensure_checkout(force=True, no_shallow=True) |
| 1482 build_properties.update(result.json.output.get("properties", {})) | 1482 build_properties.update(result.json.output.get("properties", {})) |
| 1483 # gclient revert step; made unnecessary by bot_update | 1483 # gclient revert step; made unnecessary by bot_update |
| 1484 # gclient update step; made unnecessary by bot_update | 1484 # gclient update step; made unnecessary by bot_update |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1517 | 1517 |
| 1518 | 1518 |
| 1519 def dartino_win_debug_x86_dev_steps(api): | 1519 def dartino_win_debug_x86_dev_steps(api): |
| 1520 build_properties = api.properties.legacy() | 1520 build_properties = api.properties.legacy() |
| 1521 # svnkill step; not necessary in recipes | 1521 # svnkill step; not necessary in recipes |
| 1522 # update scripts step; implicitly run by recipe engine. | 1522 # update scripts step; implicitly run by recipe engine. |
| 1523 # extra taskkill step | 1523 # extra taskkill step |
| 1524 api.python("taskkill", api.path["build"].join("scripts", "slave", | 1524 api.python("taskkill", api.path["build"].join("scripts", "slave", |
| 1525 "kill_processes.py")) | 1525 "kill_processes.py")) |
| 1526 # bot_update step | 1526 # bot_update step |
| 1527 src_cfg = api.gclient.make_config(GIT_MODE=True) | 1527 src_cfg = api.gclient.make_config() |
| 1528 soln = src_cfg.solutions.add() | 1528 soln = src_cfg.solutions.add() |
| 1529 soln.name = "sdk" | 1529 soln.name = "sdk" |
| 1530 soln.url = "https://github.com/dartino/sdk.git" | 1530 soln.url = "https://github.com/dartino/sdk.git" |
| 1531 soln.custom_deps = {} | 1531 soln.custom_deps = {} |
| 1532 soln.custom_vars = {} | 1532 soln.custom_vars = {} |
| 1533 api.gclient.c = src_cfg | 1533 api.gclient.c = src_cfg |
| 1534 result = api.bot_update.ensure_checkout(force=True, no_shallow=True) | 1534 result = api.bot_update.ensure_checkout(force=True, no_shallow=True) |
| 1535 build_properties.update(result.json.output.get("properties", {})) | 1535 build_properties.update(result.json.output.get("properties", {})) |
| 1536 # gclient revert step; made unnecessary by bot_update | 1536 # gclient revert step; made unnecessary by bot_update |
| 1537 # gclient update step; made unnecessary by bot_update | 1537 # gclient update step; made unnecessary by bot_update |
| (...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1801 api.properties(mastername='client.fletch') + | 1801 api.properties(mastername='client.fletch') + |
| 1802 api.properties(buildername='dartino-win-debug-x86-dev') + | 1802 api.properties(buildername='dartino-win-debug-x86-dev') + |
| 1803 api.properties(revision='123456789abcdef') + | 1803 api.properties(revision='123456789abcdef') + |
| 1804 api.properties(slavename='TestSlave') | 1804 api.properties(slavename='TestSlave') |
| 1805 ) | 1805 ) |
| 1806 yield (api.test('builder_not_in_dispatch_directory') + | 1806 yield (api.test('builder_not_in_dispatch_directory') + |
| 1807 api.properties(mastername='client.fletch') + | 1807 api.properties(mastername='client.fletch') + |
| 1808 api.properties(buildername='nonexistent_builder') + | 1808 api.properties(buildername='nonexistent_builder') + |
| 1809 api.properties(slavename='TestSlave') | 1809 api.properties(slavename='TestSlave') |
| 1810 ) | 1810 ) |
| OLD | NEW |