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 "test-coverage-stable", | 10 "test-coverage-stable", |
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 "[CWD]/sdk/tools/clean_output_directory.py" | 54 "[SLAVE_BUILD]/sdk/tools/clean_output_directory.py" |
54 ], | 55 ], |
55 "cwd": "[CWD]/sdk", | 56 "cwd": "[SLAVE_BUILD]/sdk", |
56 "name": "clobber" | 57 "name": "clobber" |
57 }, | 58 }, |
58 { | 59 { |
59 "cmd": [ | 60 "cmd": [ |
60 "python", | 61 "python", |
61 "-u", | 62 "-u", |
62 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", | 63 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", |
63 "runhooks" | 64 "runhooks" |
64 ], | 65 ], |
| 66 "cwd": "[SLAVE_BUILD]", |
65 "env": { | 67 "env": { |
66 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" | 68 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" |
67 }, | 69 }, |
68 "name": "gclient runhooks" | 70 "name": "gclient runhooks" |
69 }, | 71 }, |
70 { | 72 { |
71 "cmd": [ | 73 "cmd": [ |
72 "python", | 74 "python", |
73 "-u", | 75 "-u", |
74 "[CWD]/sdk/tools/build.py", | 76 "[SLAVE_BUILD]/sdk/tools/build.py", |
75 "-mrelease", | 77 "-mrelease", |
76 "--arch=x64", | 78 "--arch=x64", |
77 "runtime" | 79 "runtime" |
78 ], | 80 ], |
79 "cwd": "[CWD]/sdk", | 81 "cwd": "[SLAVE_BUILD]/sdk", |
80 "name": "build dart" | 82 "name": "build dart" |
81 }, | 83 }, |
82 { | 84 { |
83 "cmd": [ | 85 "cmd": [ |
84 "tar", | 86 "tar", |
85 "-cjf", | 87 "-cjf", |
86 "cross_build_x64_release_abcd1234efef5656.tar.bz2", | 88 "cross_build_x64_release_abcd1234efef5656.tar.bz2", |
87 "--exclude=**/obj", | 89 "--exclude=**/obj", |
88 "--exclude=**/obj.host", | 90 "--exclude=**/obj.host", |
89 "--exclude=**/obj.target", | 91 "--exclude=**/obj.target", |
90 "--exclude=**/*analyzer*", | 92 "--exclude=**/*analyzer*", |
91 "out/" | 93 "out/" |
92 ], | 94 ], |
93 "cwd": "[CWD]/sdk", | 95 "cwd": "[SLAVE_BUILD]/sdk", |
94 "name": "create tarball" | 96 "name": "create tarball" |
95 }, | 97 }, |
96 { | 98 { |
97 "cmd": [ | 99 "cmd": [ |
98 "python", | 100 "python", |
99 "-u", | 101 "-u", |
100 "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py", | 102 "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py", |
101 "--", | 103 "--", |
102 "[ROOT]/b/depot_tools/gsutil.py", | 104 "[DEPOT_TOOLS]/gsutil.py", |
103 "----", | 105 "----", |
104 "cp", | 106 "cp", |
105 "-a", | 107 "-a", |
106 "public-read", | 108 "public-read", |
107 "cross_build_x64_release_abcd1234efef5656.tar.bz2", | 109 "cross_build_x64_release_abcd1234efef5656.tar.bz2", |
108 "gs://dart-cross-compiled-binaries/cross_build_x64_release_abcd1234efef565
6.tar.bz2" | 110 "gs://dart-cross-compiled-binaries/cross_build_x64_release_abcd1234efef565
6.tar.bz2" |
109 ], | 111 ], |
110 "cwd": "[CWD]/sdk", | 112 "cwd": "[SLAVE_BUILD]/sdk", |
111 "name": "gsutil upoad tarball" | 113 "name": "gsutil upoad tarball" |
112 }, | 114 }, |
113 { | 115 { |
114 "cmd": [], | 116 "cmd": [], |
| 117 "cwd": "[SLAVE_BUILD]", |
115 "name": "trigger", | 118 "name": "trigger", |
116 "trigger_specs": [ | 119 "trigger_specs": [ |
117 { | 120 { |
118 "builder_name": "target-arm-vm-linux-release-stable" | 121 "builder_name": "target-arm-vm-linux-release-stable" |
119 } | 122 } |
120 ], | 123 ], |
121 "~followup_annotations": [ | 124 "~followup_annotations": [ |
122 "@@@STEP_TEXT@target-arm-vm-linux-release-stable@@@" | 125 "@@@STEP_TEXT@target-arm-vm-linux-release-stable@@@" |
123 ] | 126 ] |
124 }, | 127 }, |
125 { | 128 { |
126 "name": "$result", | 129 "name": "$result", |
127 "recipe_result": null, | 130 "recipe_result": null, |
128 "status_code": 0 | 131 "status_code": 0 |
129 } | 132 } |
130 ] | 133 ] |
OLD | NEW |