Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(31)

Side by Side Diff: scripts/slave/recipes/webrtc/standalone.expected/tryserver_webrtc_linux_gn_rel.json

Issue 2288063002: WebRTC: Repurpose GN bots to GYP for all but iOS (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Fix typo Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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]/linux_gn_rel",
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 "tryserver.webrtc",
31 "--builder",
32 "linux_gn_rel",
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 "--issue",
44 "666666",
45 "--patchset",
46 "1",
47 "--rietveld_server",
48 "https://fake.rietveld.url",
49 "--output_json",
50 "/path/to/tmp/json",
51 "--revision",
52 "src@12345",
53 "--output_manifest"
54 ],
55 "cwd": "[BUILDER_CACHE]/linux_gn_rel",
56 "env": {
57 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
58 },
59 "name": "bot_update",
60 "~followup_annotations": [
61 "@@@STEP_TEXT@Some step text@@@",
62 "@@@STEP_LOG_LINE@json.output@{@@@",
63 "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@",
64 "@@@STEP_LOG_LINE@json.output@ \"fixed_revisions\": {@@@",
65 "@@@STEP_LOG_LINE@json.output@ \"src\": \"12345\"@@@",
66 "@@@STEP_LOG_LINE@json.output@ }, @@@",
67 "@@@STEP_LOG_LINE@json.output@ \"manifest\": {@@@",
68 "@@@STEP_LOG_LINE@json.output@ \"src\": {@@@",
69 "@@@STEP_LOG_LINE@json.output@ \"repository\": \"https://fake.org/src .git\", @@@",
70 "@@@STEP_LOG_LINE@json.output@ \"revision\": \"f27fede2220bcd326aee3e 86ddfd4ebd0fe58cb9\"@@@",
71 "@@@STEP_LOG_LINE@json.output@ }@@@",
72 "@@@STEP_LOG_LINE@json.output@ }, @@@",
73 "@@@STEP_LOG_LINE@json.output@ \"patch_failure\": false, @@@",
74 "@@@STEP_LOG_LINE@json.output@ \"patch_root\": \"src\", @@@",
75 "@@@STEP_LOG_LINE@json.output@ \"properties\": {@@@",
76 "@@@STEP_LOG_LINE@json.output@ \"got_revision\": \"f27fede2220bcd326aee 3e86ddfd4ebd0fe58cb9\", @@@",
77 "@@@STEP_LOG_LINE@json.output@ \"got_revision_cp\": \"refs/heads/master @{#170242}\"@@@",
78 "@@@STEP_LOG_LINE@json.output@ }, @@@",
79 "@@@STEP_LOG_LINE@json.output@ \"root\": \"src\", @@@",
80 "@@@STEP_LOG_LINE@json.output@ \"step_text\": \"Some step text\"@@@",
81 "@@@STEP_LOG_LINE@json.output@}@@@",
82 "@@@STEP_LOG_END@json.output@@@",
83 "@@@SET_BUILD_PROPERTY@got_revision@\"f27fede2220bcd326aee3e86ddfd4ebd0fe5 8cb9\"@@@",
84 "@@@SET_BUILD_PROPERTY@got_revision_cp@\"refs/heads/master@{#170242}\"@@@"
85 ]
86 },
87 {
88 "cmd": [
89 "python",
90 "-u",
91 "RECIPE_MODULE[build::webrtc]/resources/cleanup_files.py",
92 "[BUILDER_CACHE]/linux_gn_rel/src/out"
93 ],
94 "name": "clean test output files"
95 },
96 {
97 "cmd": [
98 "python",
99 "-u",
100 "RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py",
101 "--show-path",
102 "python",
103 "RECIPE_PACKAGE_REPO[build]/scripts/slave/cleanup_temp.py"
104 ],
105 "name": "cleanup_temp"
106 },
107 {
108 "cmd": [],
109 "name": "ensure_goma"
110 },
111 {
112 "cmd": [
113 "python",
114 "-u",
115 "RECIPE_MODULE[depot_tools::cipd]/resources/bootstrap.py",
116 "--platform",
117 "linux-amd64",
118 "--dest-directory",
119 "[SLAVE_BUILD]/cipd",
120 "--json-output",
121 "/path/to/tmp/json"
122 ],
123 "name": "ensure_goma.install cipd",
124 "~followup_annotations": [
125 "@@@STEP_NEST_LEVEL@1@@@",
126 "@@@STEP_TEXT@cipd instance_id: 40-chars-fake-of-the-package-instance_id@@ @",
127 "@@@STEP_LOG_LINE@json.output@{@@@",
128 "@@@STEP_LOG_LINE@json.output@ \"executable\": \"[SLAVE_BUILD]/cipd/cipd\ ", @@@",
129 "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"40-chars-fake-of-the-pa ckage-instance_id\"@@@",
130 "@@@STEP_LOG_LINE@json.output@}@@@",
131 "@@@STEP_LOG_END@json.output@@@"
132 ]
133 },
134 {
135 "cmd": [
136 "[SLAVE_BUILD]/cipd/cipd",
137 "ensure",
138 "--root",
139 "[CACHE]/cipd/goma",
140 "--list",
141 "infra/tools/cloudtail/linux-amd64 git_revision:c6b17d5aa4fa6396c5f9712481 20e0e624c21fb3\ninfra_internal/goma/client/linux-amd64 release",
142 "--json-output",
143 "/path/to/tmp/json",
144 "--service-account-json",
145 "/creds/service_accounts/service-account-goma-client.json"
146 ],
147 "name": "ensure_goma.ensure_installed",
148 "~followup_annotations": [
149 "@@@STEP_NEST_LEVEL@1@@@",
150 "@@@STEP_LOG_LINE@json.output@{@@@",
151 "@@@STEP_LOG_LINE@json.output@ \"result\": [@@@",
152 "@@@STEP_LOG_LINE@json.output@ {@@@",
153 "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_i d-of-git_revision:c6b\", @@@",
154 "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra/tools/cloudtail/l inux-amd64\"@@@",
155 "@@@STEP_LOG_LINE@json.output@ }, @@@",
156 "@@@STEP_LOG_LINE@json.output@ {@@@",
157 "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_i d-of-release---------\", @@@",
158 "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra_internal/goma/cli ent/linux-amd64\"@@@",
159 "@@@STEP_LOG_LINE@json.output@ }@@@",
160 "@@@STEP_LOG_LINE@json.output@ ]@@@",
161 "@@@STEP_LOG_LINE@json.output@}@@@",
162 "@@@STEP_LOG_END@json.output@@@"
163 ]
164 },
165 {
166 "cmd": [
167 "python",
168 "-u",
169 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py",
170 "runhooks"
171 ],
172 "cwd": "[BUILDER_CACHE]/linux_gn_rel/src",
173 "env": {
174 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
175 "GYP_CHROMIUM_NO_ACTION": "1",
176 "GYP_DEFINES": "component=static_library dcheck_always_on=1 fastbuild=1 ff mpeg_branding=Chrome gomadir='[CACHE]/cipd/goma' rtc_use_h264=1 target_arch=x64 use_goma=1",
177 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
178 },
179 "name": "gclient runhooks"
180 },
181 {
182 "cmd": [
183 "python",
184 "-u",
185 "[BUILDER_CACHE]/linux_gn_rel/src/tools/mb/mb.py",
186 "gen",
187 "-m",
188 "tryserver.webrtc",
189 "-b",
190 "linux_gn_rel",
191 "--config-file",
192 "[BUILDER_CACHE]/linux_gn_rel/src/webrtc/build/mb_config.pyl",
193 "--goma-dir",
194 "[CACHE]/cipd/goma",
195 "--gyp-script=[BUILDER_CACHE]/linux_gn_rel/src/webrtc/build/gyp_webrtc.py" ,
196 "//out/Release"
197 ],
198 "cwd": "[BUILDER_CACHE]/linux_gn_rel/src",
199 "env": {
200 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json"
201 },
202 "name": "generate_build_files"
203 },
204 {
205 "cmd": [
206 "python",
207 "-u",
208 "RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py",
209 "--show-path",
210 "python",
211 "RECIPE_PACKAGE_REPO[build]/scripts/slave/compile.py",
212 "--gsutil-py-path",
213 "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py",
214 "--ninja-path",
215 "RECIPE_PACKAGE_REPO[depot_tools]/ninja",
216 "--target",
217 "Release",
218 "--src-dir",
219 "[BUILDER_CACHE]/linux_gn_rel/src",
220 "--goma-cache-dir",
221 "[GOMA_CACHE]",
222 "--goma-deps-cache-dir",
223 "[GOMA_DEPS_CACHE]",
224 "--compiler",
225 "goma",
226 "--goma-jsonstatus",
227 "/path/to/tmp/json",
228 "--goma-service-account-json-file",
229 "/creds/service_accounts/service-account-goma-client.json",
230 "--goma-dir",
231 "[CACHE]/cipd/goma",
232 "--goma-fail-fast",
233 "--goma-disable-local-fallback",
234 "--",
235 "all"
236 ],
237 "env": {
238 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json"
239 },
240 "name": "compile",
241 "~followup_annotations": [
242 "@@@STEP_LOG_LINE@json.output (invalid)@null@@@",
243 "@@@STEP_LOG_END@json.output (invalid)@@@"
244 ]
245 },
246 {
247 "name": "$result",
248 "recipe_result": null,
249 "status_code": 0
250 }
251 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698