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

Side by Side Diff: scripts/slave/recipes/cronet.expected/local_test.json

Issue 2083963002: [cronet] Switch to ensure_goma. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Remove unused dependency. Created 4 years, 6 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
« no previous file with comments | « scripts/slave/recipes/cronet.expected/cronet_try.json ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 [ 1 [
2 { 2 {
3 "cmd": [ 3 "cmd": [
4 "python", 4 "python",
5 "-u", 5 "-u",
6 "\nimport os, sys\n\nbuild_path = sys.argv[1]\nif os.path.exists(build_pat h):\n for (path, dir, files) in os.walk(build_path):\n for cur_file in files :\n if cur_file.endswith('index.lock'):\n path_to_file = os.path.joi n(path, cur_file)\n print 'deleting %s' % path_to_file\n os.remove (path_to_file)\n", 6 "\nimport os, sys\n\nbuild_path = sys.argv[1]\nif os.path.exists(build_pat h):\n for (path, dir, files) in os.walk(build_path):\n for cur_file in files :\n if cur_file.endswith('index.lock'):\n path_to_file = os.path.joi n(path, cur_file)\n print 'deleting %s' % path_to_file\n os.remove (path_to_file)\n",
7 "[SLAVE_BUILD]" 7 "[SLAVE_BUILD]"
8 ], 8 ],
9 "name": "cleanup index.lock", 9 "name": "cleanup index.lock",
10 "~followup_annotations": [ 10 "~followup_annotations": [
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 "@@@STEP_LOG_LINE@python.inline@except OSError:@@@", 148 "@@@STEP_LOG_LINE@python.inline@except OSError:@@@",
149 "@@@STEP_LOG_LINE@python.inline@ pass@@@", 149 "@@@STEP_LOG_LINE@python.inline@ pass@@@",
150 "@@@STEP_LOG_LINE@python.inline@for base, _dirs, files in os.walk(sys.argv [4]):@@@", 150 "@@@STEP_LOG_LINE@python.inline@for base, _dirs, files in os.walk(sys.argv [4]):@@@",
151 "@@@STEP_LOG_LINE@python.inline@ for f in files:@@@", 151 "@@@STEP_LOG_LINE@python.inline@ for f in files:@@@",
152 "@@@STEP_LOG_LINE@python.inline@ if f.endswith('.pyc'):@@@", 152 "@@@STEP_LOG_LINE@python.inline@ if f.endswith('.pyc'):@@@",
153 "@@@STEP_LOG_LINE@python.inline@ os.remove(os.path.join(base, f))@@@" , 153 "@@@STEP_LOG_LINE@python.inline@ os.remove(os.path.join(base, f))@@@" ,
154 "@@@STEP_LOG_END@python.inline@@@" 154 "@@@STEP_LOG_END@python.inline@@@"
155 ] 155 ]
156 }, 156 },
157 { 157 {
158 "cmd": [],
159 "name": "ensure_goma"
160 },
161 {
162 "cmd": [
163 "python",
164 "-u",
165 "RECIPE_MODULE[build::cipd]/resources/bootstrap.py",
166 "--platform",
167 "linux-amd64",
168 "--dest-directory",
169 "[SLAVE_BUILD]/cipd",
170 "--json-output",
171 "/path/to/tmp/json"
172 ],
173 "name": "ensure_goma.install cipd",
174 "~followup_annotations": [
175 "@@@STEP_NEST_LEVEL@1@@@",
176 "@@@STEP_TEXT@cipd instance_id: 40-chars-fake-of-the-package-instance_id@@ @",
177 "@@@STEP_LOG_LINE@json.output@{@@@",
178 "@@@STEP_LOG_LINE@json.output@ \"executable\": \"[SLAVE_BUILD]/cipd/cipd\ ", @@@",
179 "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"40-chars-fake-of-the-pa ckage-instance_id\"@@@",
180 "@@@STEP_LOG_LINE@json.output@}@@@",
181 "@@@STEP_LOG_END@json.output@@@"
182 ]
183 },
184 {
185 "cmd": [
186 "[SLAVE_BUILD]/cipd/cipd",
187 "ensure",
188 "--root",
189 "[CACHE]/cipd/goma",
190 "--list",
191 "infra_internal/goma/client/linux-amd64 release",
192 "--json-output",
193 "/path/to/tmp/json",
194 "--service-account-json",
195 "/creds/service_accounts/service-account-goma-client.json"
196 ],
197 "name": "ensure_goma.ensure_installed",
198 "~followup_annotations": [
199 "@@@STEP_NEST_LEVEL@1@@@",
200 "@@@STEP_LOG_LINE@json.output@{@@@",
201 "@@@STEP_LOG_LINE@json.output@ \"result\": [@@@",
202 "@@@STEP_LOG_LINE@json.output@ {@@@",
203 "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_i d-of-release---------\", @@@",
204 "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra_internal/goma/cli ent/linux-amd64\"@@@",
205 "@@@STEP_LOG_LINE@json.output@ }@@@",
206 "@@@STEP_LOG_LINE@json.output@ ]@@@",
207 "@@@STEP_LOG_LINE@json.output@}@@@",
208 "@@@STEP_LOG_END@json.output@@@"
209 ]
210 },
211 {
158 "cmd": [ 212 "cmd": [
159 "python", 213 "python",
160 "-u", 214 "-u",
161 "\nimport os, sys\nfrom common import chromium_utils # Error? See https:// crbug.com/584783.\n\n\nif os.path.exists(sys.argv[1]):\n chromium_utils.RemoveD irectory(sys.argv[1])\n", 215 "\nimport os, sys\nfrom common import chromium_utils # Error? See https:// crbug.com/584783.\n\n\nif os.path.exists(sys.argv[1]):\n chromium_utils.RemoveD irectory(sys.argv[1])\n",
162 "[SLAVE_BUILD]/src/out/Debug" 216 "[SLAVE_BUILD]/src/out/Debug"
163 ], 217 ],
164 "name": "rmtree clobber", 218 "name": "rmtree clobber",
165 "~followup_annotations": [ 219 "~followup_annotations": [
166 "@@@STEP_LOG_LINE@python.inline@@@@", 220 "@@@STEP_LOG_LINE@python.inline@@@@",
167 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", 221 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@",
(...skipping 10 matching lines...) Expand all
178 "python", 232 "python",
179 "-u", 233 "-u",
180 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", 234 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py",
181 "runhooks" 235 "runhooks"
182 ], 236 ],
183 "cwd": "[SLAVE_BUILD]/src", 237 "cwd": "[SLAVE_BUILD]/src",
184 "env": { 238 "env": {
185 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 239 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
186 "GYP_CHROMIUM_NO_ACTION": "1", 240 "GYP_CHROMIUM_NO_ACTION": "1",
187 "GYP_CROSSCOMPILE": "1", 241 "GYP_CROSSCOMPILE": "1",
188 "GYP_DEFINES": "OS=android component=static_library disable_brotli_filter= 1 disable_file_support=1 disable_ftp_support=1 enable_websockets=0 fastbuild=1 g omadir='[BUILD]/goma' target_arch=arm use_goma=0 use_platform_icu_alternatives=1 ", 242 "GYP_DEFINES": "OS=android component=static_library disable_brotli_filter= 1 disable_file_support=1 disable_ftp_support=1 enable_websockets=0 fastbuild=1 g omadir='[CACHE]/cipd/goma' target_arch=arm use_goma=0 use_platform_icu_alternati ves=1",
189 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" 243 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
190 }, 244 },
191 "name": "gclient runhooks" 245 "name": "gclient runhooks"
192 }, 246 },
193 { 247 {
194 "cmd": [ 248 "cmd": [
195 "python", 249 "python",
196 "-u", 250 "-u",
197 "[SLAVE_BUILD]/src/tools/mb/mb.py", 251 "[SLAVE_BUILD]/src/tools/mb/mb.py",
198 "gen", 252 "gen",
199 "-m", 253 "-m",
200 "chromium.testing.master", 254 "chromium.testing.master",
201 "-b", 255 "-b",
202 "local_test", 256 "local_test",
203 "--config-file", 257 "--config-file",
204 "[SLAVE_BUILD]/src/tools/mb/mb_config.pyl", 258 "[SLAVE_BUILD]/src/tools/mb/mb_config.pyl",
205 "--goma-dir", 259 "--goma-dir",
206 "[BUILD]/goma", 260 "[CACHE]/cipd/goma",
207 "//out/Debug" 261 "//out/Debug"
208 ], 262 ],
209 "env": { 263 "env": {
210 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json" 264 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json"
211 }, 265 },
212 "name": "generate_build_files" 266 "name": "generate_build_files"
213 }, 267 },
214 { 268 {
215 "cmd": [ 269 "cmd": [
216 "python", 270 "python",
(...skipping 14 matching lines...) Expand all
231 "[GOMA_CACHE]", 285 "[GOMA_CACHE]",
232 "--build-tool", 286 "--build-tool",
233 "ninja", 287 "ninja",
234 "--compiler", 288 "--compiler",
235 "goma", 289 "goma",
236 "--goma-jsonstatus", 290 "--goma-jsonstatus",
237 "/path/to/tmp/json", 291 "/path/to/tmp/json",
238 "--goma-service-account-json-file", 292 "--goma-service-account-json-file",
239 "/creds/service_accounts/service-account-goma-client.json", 293 "/creds/service_accounts/service-account-goma-client.json",
240 "--goma-dir", 294 "--goma-dir",
241 "[BUILD]/goma", 295 "[CACHE]/cipd/goma",
242 "--", 296 "--",
243 "cronet_package", 297 "cronet_package",
244 "cronet_sample_test_apk", 298 "cronet_sample_test_apk",
245 "cronet_test_instrumentation_apk", 299 "cronet_test_instrumentation_apk",
246 "cronet_unittests", 300 "cronet_unittests",
247 "cronet_unittests_apk", 301 "cronet_unittests_apk",
248 "net_unittests", 302 "net_unittests",
249 "net_unittests_apk" 303 "net_unittests_apk"
250 ], 304 ],
251 "env": { 305 "env": {
(...skipping 387 matching lines...) Expand 10 before | Expand all | Expand 10 after
639 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", 693 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@",
640 "@@@STEP_LOG_END@python.inline@@@" 694 "@@@STEP_LOG_END@python.inline@@@"
641 ] 695 ]
642 }, 696 },
643 { 697 {
644 "name": "$result", 698 "name": "$result",
645 "recipe_result": null, 699 "recipe_result": null,
646 "status_code": 0 700 "status_code": 0
647 } 701 }
648 ] 702 ]
OLDNEW
« no previous file with comments | « scripts/slave/recipes/cronet.expected/cronet_try.json ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698