OLD | NEW |
| (Empty) |
1 [ | |
2 { | |
3 "cmd": [ | |
4 "RECIPE_PACKAGE_REPO[build]/scripts/slave/ios/host_info.py", | |
5 "--json-file", | |
6 "/path/to/tmp/json" | |
7 ], | |
8 "name": "host and tools info", | |
9 "~followup_annotations": [ | |
10 "@@@STEP_TEXT@<br />OS X 1.2.3, Xcode 6.7.8 (5D342509a)@@@", | |
11 "@@@STEP_LOG_LINE@json.output@{@@@", | |
12 "@@@STEP_LOG_LINE@json.output@ \"Mac OS X Version\": \"1.2.3\", @@@", | |
13 "@@@STEP_LOG_LINE@json.output@ \"Xcode Build Version\": \"5D342509a\", @@
@", | |
14 "@@@STEP_LOG_LINE@json.output@ \"Xcode SDKs\": [@@@", | |
15 "@@@STEP_LOG_LINE@json.output@ \"fake sdk 1.0\", @@@", | |
16 "@@@STEP_LOG_LINE@json.output@ \"fake sdk 1.1\", @@@", | |
17 "@@@STEP_LOG_LINE@json.output@ \"fake sdk 2.0\"@@@", | |
18 "@@@STEP_LOG_LINE@json.output@ ], @@@", | |
19 "@@@STEP_LOG_LINE@json.output@ \"Xcode Version\": \"6.7.8\"@@@", | |
20 "@@@STEP_LOG_LINE@json.output@}@@@", | |
21 "@@@STEP_LOG_END@json.output@@@" | |
22 ] | |
23 }, | |
24 { | |
25 "cmd": [ | |
26 "python", | |
27 "-u", | |
28 "\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", | |
29 "[BUILDER_CACHE]/Mac64_Release__GN_", | |
30 "511" | |
31 ], | |
32 "name": "makedirs checkout path", | |
33 "~followup_annotations": [ | |
34 "@@@STEP_LOG_LINE@python.inline@@@@", | |
35 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", | |
36 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", | |
37 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", | |
38 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", | |
39 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", | |
40 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" %
path@@@", | |
41 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", | |
42 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", | |
43 "@@@STEP_LOG_END@python.inline@@@" | |
44 ] | |
45 }, | |
46 { | |
47 "cmd": [ | |
48 "python", | |
49 "-u", | |
50 "RECIPE_MODULE[depot_tools::bot_update]/resources/bot_update.py", | |
51 "--master", | |
52 "client.webrtc", | |
53 "--builder", | |
54 "Mac64 Release (GN)", | |
55 "--slave", | |
56 "slavename", | |
57 "--spec", | |
58 "cache_dir = '[GIT_CACHE]'\nsolutions = [{'deps_file': 'DEPS', 'managed':
True, 'name': 'src', 'url': 'https://chromium.googlesource.com/external/webrtc'}
, {'deps_file': 'DEPS', 'managed': True, 'name': 'webrtc-limited', 'url': 'https
://chrome-internal.googlesource.com/chrome/deps/webrtc-limited'}]", | |
59 "--root", | |
60 "src", | |
61 "--revision_mapping_file", | |
62 "{\"src\": \"got_revision\"}", | |
63 "--git-cache-dir", | |
64 "[GIT_CACHE]", | |
65 "--output_json", | |
66 "/path/to/tmp/json", | |
67 "--revision", | |
68 "src@12345", | |
69 "--output_manifest" | |
70 ], | |
71 "cwd": "[BUILDER_CACHE]/Mac64_Release__GN_", | |
72 "env": { | |
73 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" | |
74 }, | |
75 "name": "bot_update", | |
76 "~followup_annotations": [ | |
77 "@@@STEP_TEXT@Some step text@@@", | |
78 "@@@STEP_LOG_LINE@json.output@{@@@", | |
79 "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@", | |
80 "@@@STEP_LOG_LINE@json.output@ \"fixed_revisions\": {@@@", | |
81 "@@@STEP_LOG_LINE@json.output@ \"src\": \"12345\"@@@", | |
82 "@@@STEP_LOG_LINE@json.output@ }, @@@", | |
83 "@@@STEP_LOG_LINE@json.output@ \"manifest\": {@@@", | |
84 "@@@STEP_LOG_LINE@json.output@ \"src\": {@@@", | |
85 "@@@STEP_LOG_LINE@json.output@ \"repository\": \"https://fake.org/src
.git\", @@@", | |
86 "@@@STEP_LOG_LINE@json.output@ \"revision\": \"f27fede2220bcd326aee3e
86ddfd4ebd0fe58cb9\"@@@", | |
87 "@@@STEP_LOG_LINE@json.output@ }@@@", | |
88 "@@@STEP_LOG_LINE@json.output@ }, @@@", | |
89 "@@@STEP_LOG_LINE@json.output@ \"patch_failure\": false, @@@", | |
90 "@@@STEP_LOG_LINE@json.output@ \"patch_root\": \"src\", @@@", | |
91 "@@@STEP_LOG_LINE@json.output@ \"properties\": {@@@", | |
92 "@@@STEP_LOG_LINE@json.output@ \"got_revision\": \"f27fede2220bcd326aee
3e86ddfd4ebd0fe58cb9\", @@@", | |
93 "@@@STEP_LOG_LINE@json.output@ \"got_revision_cp\": \"refs/heads/master
@{#170242}\"@@@", | |
94 "@@@STEP_LOG_LINE@json.output@ }, @@@", | |
95 "@@@STEP_LOG_LINE@json.output@ \"root\": \"src\", @@@", | |
96 "@@@STEP_LOG_LINE@json.output@ \"step_text\": \"Some step text\"@@@", | |
97 "@@@STEP_LOG_LINE@json.output@}@@@", | |
98 "@@@STEP_LOG_END@json.output@@@", | |
99 "@@@SET_BUILD_PROPERTY@got_revision@\"f27fede2220bcd326aee3e86ddfd4ebd0fe5
8cb9\"@@@", | |
100 "@@@SET_BUILD_PROPERTY@got_revision_cp@\"refs/heads/master@{#170242}\"@@@" | |
101 ] | |
102 }, | |
103 { | |
104 "cmd": [ | |
105 "python", | |
106 "-u", | |
107 "RECIPE_MODULE[build::webrtc]/resources/cleanup_files.py", | |
108 "[BUILDER_CACHE]/Mac64_Release__GN_/src/out" | |
109 ], | |
110 "name": "clean test output files" | |
111 }, | |
112 { | |
113 "cmd": [ | |
114 "python", | |
115 "-u", | |
116 "RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py", | |
117 "--show-path", | |
118 "python", | |
119 "RECIPE_PACKAGE_REPO[build]/scripts/slave/cleanup_temp.py" | |
120 ], | |
121 "name": "cleanup_temp" | |
122 }, | |
123 { | |
124 "cmd": [], | |
125 "name": "ensure_goma" | |
126 }, | |
127 { | |
128 "cmd": [ | |
129 "python", | |
130 "-u", | |
131 "RECIPE_MODULE[depot_tools::cipd]/resources/bootstrap.py", | |
132 "--platform", | |
133 "mac-amd64", | |
134 "--dest-directory", | |
135 "[SLAVE_BUILD]/cipd", | |
136 "--json-output", | |
137 "/path/to/tmp/json" | |
138 ], | |
139 "name": "ensure_goma.install cipd", | |
140 "~followup_annotations": [ | |
141 "@@@STEP_NEST_LEVEL@1@@@", | |
142 "@@@STEP_TEXT@cipd instance_id: 40-chars-fake-of-the-package-instance_id@@
@", | |
143 "@@@STEP_LOG_LINE@json.output@{@@@", | |
144 "@@@STEP_LOG_LINE@json.output@ \"executable\": \"[SLAVE_BUILD]/cipd/cipd\
", @@@", | |
145 "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"40-chars-fake-of-the-pa
ckage-instance_id\"@@@", | |
146 "@@@STEP_LOG_LINE@json.output@}@@@", | |
147 "@@@STEP_LOG_END@json.output@@@" | |
148 ] | |
149 }, | |
150 { | |
151 "cmd": [ | |
152 "[SLAVE_BUILD]/cipd/cipd", | |
153 "ensure", | |
154 "--root", | |
155 "[CACHE]/cipd/goma", | |
156 "--list", | |
157 "infra/tools/cloudtail/mac-amd64 git_revision:c6b17d5aa4fa6396c5f971248120
e0e624c21fb3\ninfra_internal/goma/client/mac-amd64 release", | |
158 "--json-output", | |
159 "/path/to/tmp/json", | |
160 "--service-account-json", | |
161 "/creds/service_accounts/service-account-goma-client.json" | |
162 ], | |
163 "name": "ensure_goma.ensure_installed", | |
164 "~followup_annotations": [ | |
165 "@@@STEP_NEST_LEVEL@1@@@", | |
166 "@@@STEP_LOG_LINE@json.output@{@@@", | |
167 "@@@STEP_LOG_LINE@json.output@ \"result\": [@@@", | |
168 "@@@STEP_LOG_LINE@json.output@ {@@@", | |
169 "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_i
d-of-git_revision:c6b\", @@@", | |
170 "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra/tools/cloudtail/m
ac-amd64\"@@@", | |
171 "@@@STEP_LOG_LINE@json.output@ }, @@@", | |
172 "@@@STEP_LOG_LINE@json.output@ {@@@", | |
173 "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_i
d-of-release---------\", @@@", | |
174 "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra_internal/goma/cli
ent/mac-amd64\"@@@", | |
175 "@@@STEP_LOG_LINE@json.output@ }@@@", | |
176 "@@@STEP_LOG_LINE@json.output@ ]@@@", | |
177 "@@@STEP_LOG_LINE@json.output@}@@@", | |
178 "@@@STEP_LOG_END@json.output@@@" | |
179 ] | |
180 }, | |
181 { | |
182 "cmd": [ | |
183 "python", | |
184 "-u", | |
185 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", | |
186 "runhooks" | |
187 ], | |
188 "cwd": "[BUILDER_CACHE]/Mac64_Release__GN_/src", | |
189 "env": { | |
190 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | |
191 "GYP_CHROMIUM_NO_ACTION": "1", | |
192 "GYP_DEFINES": "clang=1 component=static_library dcheck_always_on=1 ffmpeg
_branding=Chrome gomadir='[CACHE]/cipd/goma' rtc_use_h264=1 target_arch=x64 use_
goma=1", | |
193 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" | |
194 }, | |
195 "name": "gclient runhooks" | |
196 }, | |
197 { | |
198 "cmd": [ | |
199 "python", | |
200 "-u", | |
201 "[BUILDER_CACHE]/Mac64_Release__GN_/src/tools/mb/mb.py", | |
202 "gen", | |
203 "-m", | |
204 "client.webrtc", | |
205 "-b", | |
206 "Mac64 Release (GN)", | |
207 "--config-file", | |
208 "[BUILDER_CACHE]/Mac64_Release__GN_/src/webrtc/build/mb_config.pyl", | |
209 "--goma-dir", | |
210 "[CACHE]/cipd/goma", | |
211 "--gyp-script=[BUILDER_CACHE]/Mac64_Release__GN_/src/webrtc/build/gyp_webr
tc.py", | |
212 "//out/Release" | |
213 ], | |
214 "cwd": "[BUILDER_CACHE]/Mac64_Release__GN_/src", | |
215 "env": { | |
216 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" | |
217 }, | |
218 "name": "generate_build_files" | |
219 }, | |
220 { | |
221 "allow_subannotations": true, | |
222 "cmd": [ | |
223 "python", | |
224 "-u", | |
225 "RECIPE_PACKAGE_REPO[build]/scripts/slave/clang_revision.py", | |
226 "--src-dir", | |
227 "[BUILDER_CACHE]/Mac64_Release__GN_/src", | |
228 "--output-json", | |
229 "/path/to/tmp/json" | |
230 ], | |
231 "env": { | |
232 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" | |
233 }, | |
234 "name": "clang_revision", | |
235 "~followup_annotations": [ | |
236 "@@@STEP_LOG_LINE@json.output@{@@@", | |
237 "@@@STEP_LOG_LINE@json.output@ \"clang_revision\": \"123456-7\"@@@", | |
238 "@@@STEP_LOG_LINE@json.output@}@@@", | |
239 "@@@STEP_LOG_END@json.output@@@" | |
240 ] | |
241 }, | |
242 { | |
243 "cmd": [ | |
244 "python", | |
245 "-u", | |
246 "RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py", | |
247 "--show-path", | |
248 "python", | |
249 "RECIPE_PACKAGE_REPO[build]/scripts/slave/compile.py", | |
250 "--gsutil-py-path", | |
251 "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py", | |
252 "--ninja-path", | |
253 "RECIPE_PACKAGE_REPO[depot_tools]/ninja", | |
254 "--target", | |
255 "Release", | |
256 "--src-dir", | |
257 "[BUILDER_CACHE]/Mac64_Release__GN_/src", | |
258 "--goma-cache-dir", | |
259 "[GOMA_CACHE]", | |
260 "--goma-deps-cache-dir", | |
261 "[GOMA_DEPS_CACHE]", | |
262 "--compiler", | |
263 "goma-clang", | |
264 "--goma-jsonstatus", | |
265 "/path/to/tmp/json", | |
266 "--goma-service-account-json-file", | |
267 "/creds/service_accounts/service-account-goma-client.json", | |
268 "--goma-dir", | |
269 "[CACHE]/cipd/goma", | |
270 "--", | |
271 "all" | |
272 ], | |
273 "env": { | |
274 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" | |
275 }, | |
276 "name": "compile", | |
277 "~followup_annotations": [ | |
278 "@@@STEP_LOG_LINE@json.output (invalid)@null@@@", | |
279 "@@@STEP_LOG_END@json.output (invalid)@@@" | |
280 ] | |
281 }, | |
282 { | |
283 "name": "$result", | |
284 "recipe_result": null, | |
285 "status_code": 0 | |
286 } | |
287 ] | |
OLD | NEW |