OLD | NEW |
| (Empty) |
1 [ | |
2 { | |
3 "cmd": [ | |
4 "python", | |
5 "-u", | |
6 "\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", | |
7 "[BUILDER_CACHE]\\Win64_Debug__GN_", | |
8 "511" | |
9 ], | |
10 "name": "makedirs checkout path", | |
11 "~followup_annotations": [ | |
12 "@@@STEP_LOG_LINE@python.inline@@@@", | |
13 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", | |
14 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", | |
15 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", | |
16 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", | |
17 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", | |
18 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" %
path@@@", | |
19 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", | |
20 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", | |
21 "@@@STEP_LOG_END@python.inline@@@" | |
22 ] | |
23 }, | |
24 { | |
25 "cmd": [ | |
26 "python", | |
27 "-u", | |
28 "RECIPE_MODULE[depot_tools::bot_update]\\resources\\bot_update.py", | |
29 "--master", | |
30 "client.webrtc", | |
31 "--builder", | |
32 "Win64 Debug (GN)", | |
33 "--slave", | |
34 "slavename", | |
35 "--spec", | |
36 "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'}]", | |
37 "--root", | |
38 "src", | |
39 "--revision_mapping_file", | |
40 "{\"src\": \"got_revision\"}", | |
41 "--git-cache-dir", | |
42 "[GIT_CACHE]", | |
43 "--output_json", | |
44 "/path/to/tmp/json", | |
45 "--revision", | |
46 "src@12345", | |
47 "--output_manifest" | |
48 ], | |
49 "cwd": "[BUILDER_CACHE]\\Win64_Debug__GN_", | |
50 "env": { | |
51 "PATH": "%(PATH)s;RECIPE_PACKAGE_REPO[depot_tools]" | |
52 }, | |
53 "name": "bot_update", | |
54 "~followup_annotations": [ | |
55 "@@@STEP_TEXT@Some step text@@@", | |
56 "@@@STEP_LOG_LINE@json.output@{@@@", | |
57 "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@", | |
58 "@@@STEP_LOG_LINE@json.output@ \"fixed_revisions\": {@@@", | |
59 "@@@STEP_LOG_LINE@json.output@ \"src\": \"12345\"@@@", | |
60 "@@@STEP_LOG_LINE@json.output@ }, @@@", | |
61 "@@@STEP_LOG_LINE@json.output@ \"manifest\": {@@@", | |
62 "@@@STEP_LOG_LINE@json.output@ \"src\": {@@@", | |
63 "@@@STEP_LOG_LINE@json.output@ \"repository\": \"https://fake.org/src
.git\", @@@", | |
64 "@@@STEP_LOG_LINE@json.output@ \"revision\": \"f27fede2220bcd326aee3e
86ddfd4ebd0fe58cb9\"@@@", | |
65 "@@@STEP_LOG_LINE@json.output@ }@@@", | |
66 "@@@STEP_LOG_LINE@json.output@ }, @@@", | |
67 "@@@STEP_LOG_LINE@json.output@ \"patch_failure\": false, @@@", | |
68 "@@@STEP_LOG_LINE@json.output@ \"patch_root\": \"src\", @@@", | |
69 "@@@STEP_LOG_LINE@json.output@ \"properties\": {@@@", | |
70 "@@@STEP_LOG_LINE@json.output@ \"got_revision\": \"f27fede2220bcd326aee
3e86ddfd4ebd0fe58cb9\", @@@", | |
71 "@@@STEP_LOG_LINE@json.output@ \"got_revision_cp\": \"refs/heads/master
@{#170242}\"@@@", | |
72 "@@@STEP_LOG_LINE@json.output@ }, @@@", | |
73 "@@@STEP_LOG_LINE@json.output@ \"root\": \"src\", @@@", | |
74 "@@@STEP_LOG_LINE@json.output@ \"step_text\": \"Some step text\"@@@", | |
75 "@@@STEP_LOG_LINE@json.output@}@@@", | |
76 "@@@STEP_LOG_END@json.output@@@", | |
77 "@@@SET_BUILD_PROPERTY@got_revision@\"f27fede2220bcd326aee3e86ddfd4ebd0fe5
8cb9\"@@@", | |
78 "@@@SET_BUILD_PROPERTY@got_revision_cp@\"refs/heads/master@{#170242}\"@@@" | |
79 ] | |
80 }, | |
81 { | |
82 "cmd": [ | |
83 "python", | |
84 "-u", | |
85 "RECIPE_MODULE[build::webrtc]\\resources\\cleanup_files.py", | |
86 "[BUILDER_CACHE]\\Win64_Debug__GN_\\src\\out" | |
87 ], | |
88 "name": "clean test output files" | |
89 }, | |
90 { | |
91 "cmd": [ | |
92 "python", | |
93 "-u", | |
94 "RECIPE_PACKAGE_REPO[build]\\scripts\\tools\\runit.py", | |
95 "--show-path", | |
96 "python", | |
97 "RECIPE_PACKAGE_REPO[build]\\scripts\\slave\\cleanup_temp.py" | |
98 ], | |
99 "name": "cleanup_temp" | |
100 }, | |
101 { | |
102 "cmd": [], | |
103 "name": "ensure_goma" | |
104 }, | |
105 { | |
106 "cmd": [ | |
107 "python", | |
108 "-u", | |
109 "RECIPE_MODULE[depot_tools::cipd]\\resources\\bootstrap.py", | |
110 "--platform", | |
111 "windows-amd64", | |
112 "--dest-directory", | |
113 "[SLAVE_BUILD]\\cipd", | |
114 "--json-output", | |
115 "/path/to/tmp/json" | |
116 ], | |
117 "name": "ensure_goma.install cipd", | |
118 "~followup_annotations": [ | |
119 "@@@STEP_NEST_LEVEL@1@@@", | |
120 "@@@STEP_TEXT@cipd instance_id: 40-chars-fake-of-the-package-instance_id@@
@", | |
121 "@@@STEP_LOG_LINE@json.output@{@@@", | |
122 "@@@STEP_LOG_LINE@json.output@ \"executable\": \"[SLAVE_BUILD]\\\\cipd\\\
\cipd\", @@@", | |
123 "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"40-chars-fake-of-the-pa
ckage-instance_id\"@@@", | |
124 "@@@STEP_LOG_LINE@json.output@}@@@", | |
125 "@@@STEP_LOG_END@json.output@@@" | |
126 ] | |
127 }, | |
128 { | |
129 "cmd": [ | |
130 "[SLAVE_BUILD]\\cipd\\cipd", | |
131 "ensure", | |
132 "--root", | |
133 "[CACHE]\\cipd\\goma", | |
134 "--list", | |
135 "infra/tools/cloudtail/windows-amd64 git_revision:c6b17d5aa4fa6396c5f97124
8120e0e624c21fb3\ninfra_internal/goma/client/windows-amd64 release", | |
136 "--json-output", | |
137 "/path/to/tmp/json", | |
138 "--service-account-json", | |
139 "C:\\creds\\service_accounts\\service-account-goma-client.json" | |
140 ], | |
141 "name": "ensure_goma.ensure_installed", | |
142 "~followup_annotations": [ | |
143 "@@@STEP_NEST_LEVEL@1@@@", | |
144 "@@@STEP_LOG_LINE@json.output@{@@@", | |
145 "@@@STEP_LOG_LINE@json.output@ \"result\": [@@@", | |
146 "@@@STEP_LOG_LINE@json.output@ {@@@", | |
147 "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_i
d-of-git_revision:c6b\", @@@", | |
148 "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra/tools/cloudtail/w
indows-amd64\"@@@", | |
149 "@@@STEP_LOG_LINE@json.output@ }, @@@", | |
150 "@@@STEP_LOG_LINE@json.output@ {@@@", | |
151 "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_i
d-of-release---------\", @@@", | |
152 "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra_internal/goma/cli
ent/windows-amd64\"@@@", | |
153 "@@@STEP_LOG_LINE@json.output@ }@@@", | |
154 "@@@STEP_LOG_LINE@json.output@ ]@@@", | |
155 "@@@STEP_LOG_LINE@json.output@}@@@", | |
156 "@@@STEP_LOG_END@json.output@@@" | |
157 ] | |
158 }, | |
159 { | |
160 "cmd": [ | |
161 "python", | |
162 "-u", | |
163 "RECIPE_PACKAGE_REPO[depot_tools]\\gclient.py", | |
164 "runhooks" | |
165 ], | |
166 "cwd": "[BUILDER_CACHE]\\Win64_Debug__GN_\\src", | |
167 "env": { | |
168 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "C:\\creds\\service_accounts\\service-ac
count-goma-client.json", | |
169 "GYP_CHROMIUM_NO_ACTION": "1", | |
170 "GYP_DEFINES": "component=shared_library dcheck_always_on=1 fastbuild=1 ff
mpeg_branding=Chrome gomadir='[CACHE]\\cipd\\goma' rtc_use_h264=1 target_arch=x6
4 use_goma=1", | |
171 "PATH": "%(PATH)s;RECIPE_PACKAGE_REPO[depot_tools]" | |
172 }, | |
173 "name": "gclient runhooks" | |
174 }, | |
175 { | |
176 "cmd": [ | |
177 "python", | |
178 "-u", | |
179 "[BUILDER_CACHE]\\Win64_Debug__GN_\\src\\tools\\mb\\mb.py", | |
180 "gen", | |
181 "-m", | |
182 "client.webrtc", | |
183 "-b", | |
184 "Win64 Debug (GN)", | |
185 "--config-file", | |
186 "[BUILDER_CACHE]\\Win64_Debug__GN_\\src\\webrtc\\build\\mb_config.pyl", | |
187 "--goma-dir", | |
188 "[CACHE]\\cipd\\goma", | |
189 "--gyp-script=[BUILDER_CACHE]\\Win64_Debug__GN_\\src\\webrtc\\build\\gyp_w
ebrtc.py", | |
190 "//out/Debug_x64" | |
191 ], | |
192 "cwd": "[BUILDER_CACHE]\\Win64_Debug__GN_\\src", | |
193 "env": { | |
194 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "C:\\creds\\service_accounts\\service-ac
count-goma-client.json" | |
195 }, | |
196 "name": "generate_build_files" | |
197 }, | |
198 { | |
199 "cmd": [ | |
200 "python", | |
201 "-u", | |
202 "RECIPE_PACKAGE_REPO[build]\\scripts\\tools\\runit.py", | |
203 "--show-path", | |
204 "python", | |
205 "RECIPE_PACKAGE_REPO[build]\\scripts\\slave\\compile.py", | |
206 "--gsutil-py-path", | |
207 "RECIPE_PACKAGE_REPO[depot_tools]\\gsutil.py", | |
208 "--ninja-path", | |
209 "RECIPE_PACKAGE_REPO[depot_tools]\\ninja.exe", | |
210 "--target", | |
211 "Debug_x64", | |
212 "--src-dir", | |
213 "[BUILDER_CACHE]\\Win64_Debug__GN_\\src", | |
214 "--goma-cache-dir", | |
215 "[GOMA_CACHE]", | |
216 "--goma-deps-cache-dir", | |
217 "[GOMA_DEPS_CACHE]", | |
218 "--compiler", | |
219 "goma", | |
220 "--goma-jsonstatus", | |
221 "/path/to/tmp/json", | |
222 "--goma-service-account-json-file", | |
223 "C:\\creds\\service_accounts\\service-account-goma-client.json", | |
224 "--goma-dir", | |
225 "[CACHE]\\cipd\\goma", | |
226 "--", | |
227 "all" | |
228 ], | |
229 "env": { | |
230 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "C:\\creds\\service_accounts\\service-ac
count-goma-client.json" | |
231 }, | |
232 "name": "compile", | |
233 "~followup_annotations": [ | |
234 "@@@STEP_LOG_LINE@json.output (invalid)@null@@@", | |
235 "@@@STEP_LOG_END@json.output (invalid)@@@" | |
236 ] | |
237 }, | |
238 { | |
239 "name": "$result", | |
240 "recipe_result": null, | |
241 "status_code": 0 | |
242 } | |
243 ] | |
OLD | NEW |