OLD | NEW |
1 [ | 1 [ |
2 { | 2 { |
3 "cmd": [ | 3 "cmd": [ |
4 "python", | 4 "python", |
5 "-u", | 5 "-u", |
6 "RECIPE_MODULE[depot_tools::bot_update]/resources/bot_update.py", | 6 "RECIPE_MODULE[depot_tools::bot_update]/resources/bot_update.py", |
7 "--master", | 7 "--master", |
8 "client.dart", | 8 "client.dart", |
9 "--builder", | 9 "--builder", |
10 "cross-arm-vm-linux-release-recipe-be", | 10 "cross-arm-vm-linux-release-recipe-be", |
11 "--slave", | 11 "--slave", |
12 "TestSlavename", | 12 "TestSlavename", |
13 "--spec", | 13 "--spec", |
14 "cache_dir = '[ROOT]/b/build/slave/cache_dir'\nsolutions = [{'deps_file':
'DEPS', 'managed': False, 'name': 'sdk', 'url': 'https://chromium.googlesource.c
om/external/github.com/dart-lang/sdk.git'}]", | 14 "cache_dir = '[GIT_CACHE]'\nsolutions = [{'deps_file': 'DEPS', 'managed':
False, 'name': 'sdk', 'url': 'https://chromium.googlesource.com/external/github.
com/dart-lang/sdk.git'}]", |
15 "--root", | 15 "--root", |
16 "sdk", | 16 "sdk", |
17 "--revision_mapping_file", | 17 "--revision_mapping_file", |
18 "{}", | 18 "{}", |
19 "--git-cache-dir", | 19 "--git-cache-dir", |
20 "[ROOT]/b/build/slave/cache_dir", | 20 "[GIT_CACHE]", |
21 "--output_json", | 21 "--output_json", |
22 "/path/to/tmp/json", | 22 "/path/to/tmp/json", |
23 "--revision", | 23 "--revision", |
24 "sdk@abcd1234efef5656", | 24 "sdk@abcd1234efef5656", |
25 "--force", | 25 "--force", |
26 "--output_manifest" | 26 "--output_manifest" |
27 ], | 27 ], |
| 28 "cwd": "[SLAVE_BUILD]", |
28 "env": { | 29 "env": { |
29 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" | 30 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" |
30 }, | 31 }, |
31 "name": "bot_update", | 32 "name": "bot_update", |
32 "~followup_annotations": [ | 33 "~followup_annotations": [ |
33 "@@@STEP_TEXT@Some step text@@@", | 34 "@@@STEP_TEXT@Some step text@@@", |
34 "@@@STEP_LOG_LINE@json.output@{@@@", | 35 "@@@STEP_LOG_LINE@json.output@{@@@", |
35 "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@", | 36 "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@", |
36 "@@@STEP_LOG_LINE@json.output@ \"fixed_revisions\": {@@@", | 37 "@@@STEP_LOG_LINE@json.output@ \"fixed_revisions\": {@@@", |
37 "@@@STEP_LOG_LINE@json.output@ \"sdk\": \"abcd1234efef5656\"@@@", | 38 "@@@STEP_LOG_LINE@json.output@ \"sdk\": \"abcd1234efef5656\"@@@", |
38 "@@@STEP_LOG_LINE@json.output@ }, @@@", | 39 "@@@STEP_LOG_LINE@json.output@ }, @@@", |
39 "@@@STEP_LOG_LINE@json.output@ \"manifest\": {}, @@@", | 40 "@@@STEP_LOG_LINE@json.output@ \"manifest\": {}, @@@", |
40 "@@@STEP_LOG_LINE@json.output@ \"patch_failure\": false, @@@", | 41 "@@@STEP_LOG_LINE@json.output@ \"patch_failure\": false, @@@", |
41 "@@@STEP_LOG_LINE@json.output@ \"patch_root\": \"sdk\", @@@", | 42 "@@@STEP_LOG_LINE@json.output@ \"patch_root\": \"sdk\", @@@", |
42 "@@@STEP_LOG_LINE@json.output@ \"properties\": {}, @@@", | 43 "@@@STEP_LOG_LINE@json.output@ \"properties\": {}, @@@", |
43 "@@@STEP_LOG_LINE@json.output@ \"root\": \"sdk\", @@@", | 44 "@@@STEP_LOG_LINE@json.output@ \"root\": \"sdk\", @@@", |
44 "@@@STEP_LOG_LINE@json.output@ \"step_text\": \"Some step text\"@@@", | 45 "@@@STEP_LOG_LINE@json.output@ \"step_text\": \"Some step text\"@@@", |
45 "@@@STEP_LOG_LINE@json.output@}@@@", | 46 "@@@STEP_LOG_LINE@json.output@}@@@", |
46 "@@@STEP_LOG_END@json.output@@@" | 47 "@@@STEP_LOG_END@json.output@@@" |
47 ] | 48 ] |
48 }, | 49 }, |
49 { | 50 { |
50 "cmd": [ | 51 "cmd": [ |
51 "python", | 52 "python", |
52 "-u", | 53 "-u", |
53 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", | 54 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", |
54 "runhooks" | 55 "runhooks" |
55 ], | 56 ], |
| 57 "cwd": "[SLAVE_BUILD]", |
56 "env": { | 58 "env": { |
57 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" | 59 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" |
58 }, | 60 }, |
59 "name": "gclient runhooks" | 61 "name": "gclient runhooks" |
60 }, | 62 }, |
61 { | 63 { |
62 "cmd": [ | 64 "cmd": [ |
63 "python", | 65 "python", |
64 "-u", | 66 "-u", |
65 "[CWD]/sdk/tools/build.py", | 67 "[SLAVE_BUILD]/sdk/tools/build.py", |
66 "-mrelease", | 68 "-mrelease", |
67 "--arch=arm", | 69 "--arch=arm", |
68 "runtime" | 70 "runtime" |
69 ], | 71 ], |
70 "cwd": "[CWD]/sdk", | 72 "cwd": "[SLAVE_BUILD]/sdk", |
71 "name": "build dart" | 73 "name": "build dart" |
72 }, | 74 }, |
73 { | 75 { |
74 "cmd": [ | 76 "cmd": [ |
75 "tar", | 77 "tar", |
76 "-cjf", | 78 "-cjf", |
77 "cross_build_arm_release_abcd1234efef5656.tar.bz2", | 79 "cross_build_arm_release_abcd1234efef5656.tar.bz2", |
78 "--exclude=**/obj", | 80 "--exclude=**/obj", |
79 "--exclude=**/obj.host", | 81 "--exclude=**/obj.host", |
80 "--exclude=**/obj.target", | 82 "--exclude=**/obj.target", |
81 "--exclude=**/*analyzer*", | 83 "--exclude=**/*analyzer*", |
82 "out/" | 84 "out/" |
83 ], | 85 ], |
84 "cwd": "[CWD]/sdk", | 86 "cwd": "[SLAVE_BUILD]/sdk", |
85 "name": "create tarball" | 87 "name": "create tarball" |
86 }, | 88 }, |
87 { | 89 { |
88 "cmd": [ | 90 "cmd": [ |
89 "python", | 91 "python", |
90 "-u", | 92 "-u", |
91 "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py", | 93 "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py", |
92 "--", | 94 "--", |
93 "[ROOT]/b/depot_tools/gsutil.py", | 95 "[DEPOT_TOOLS]/gsutil.py", |
94 "----", | 96 "----", |
95 "cp", | 97 "cp", |
96 "-a", | 98 "-a", |
97 "public-read", | 99 "public-read", |
98 "cross_build_arm_release_abcd1234efef5656.tar.bz2", | 100 "cross_build_arm_release_abcd1234efef5656.tar.bz2", |
99 "gs://dart-cross-compiled-binaries/cross_build_arm_release_abcd1234efef565
6.tar.bz2" | 101 "gs://dart-cross-compiled-binaries/cross_build_arm_release_abcd1234efef565
6.tar.bz2" |
100 ], | 102 ], |
101 "cwd": "[CWD]/sdk", | 103 "cwd": "[SLAVE_BUILD]/sdk", |
102 "name": "gsutil upoad tarball" | 104 "name": "gsutil upoad tarball" |
103 }, | 105 }, |
104 { | 106 { |
105 "cmd": [], | 107 "cmd": [], |
| 108 "cwd": "[SLAVE_BUILD]", |
106 "name": "trigger", | 109 "name": "trigger", |
107 "trigger_specs": [ | 110 "trigger_specs": [ |
108 { | 111 { |
109 "builder_name": "target-arm-vm-linux-release-be" | 112 "builder_name": "target-arm-vm-linux-release-be" |
110 } | 113 } |
111 ], | 114 ], |
112 "~followup_annotations": [ | 115 "~followup_annotations": [ |
113 "@@@STEP_TEXT@target-arm-vm-linux-release-be@@@" | 116 "@@@STEP_TEXT@target-arm-vm-linux-release-be@@@" |
114 ] | 117 ] |
115 }, | 118 }, |
116 { | 119 { |
117 "name": "$result", | 120 "name": "$result", |
118 "recipe_result": null, | 121 "recipe_result": null, |
119 "status_code": 0 | 122 "status_code": 0 |
120 } | 123 } |
121 ] | 124 ] |
OLD | NEW |