Index: scripts/slave/recipes/chromium_codesearch.expected/full_ChromiumOS_Codesearch_fail.json |
diff --git a/scripts/slave/recipes/chromium_codesearch.expected/full_ChromiumOS_Codesearch_fail.json b/scripts/slave/recipes/chromium_codesearch.expected/full_ChromiumOS_Codesearch_fail.json |
index 31e04c4fff27d1d921948a5649a0bb9356f6fbfe..812af29a81f3a6716db6855820f281cd2e439c64 100644 |
--- a/scripts/slave/recipes/chromium_codesearch.expected/full_ChromiumOS_Codesearch_fail.json |
+++ b/scripts/slave/recipes/chromium_codesearch.expected/full_ChromiumOS_Codesearch_fail.json |
@@ -117,6 +117,64 @@ |
] |
}, |
{ |
+ "cmd": [], |
+ "name": "ensure_goma" |
+ }, |
+ { |
+ "cmd": [ |
+ "python", |
+ "-u", |
+ "RECIPE_MODULE[depot_tools::cipd]/resources/bootstrap.py", |
+ "--platform", |
+ "linux-amd64", |
+ "--dest-directory", |
+ "[SLAVE_BUILD]/cipd", |
+ "--json-output", |
+ "/path/to/tmp/json" |
+ ], |
+ "name": "ensure_goma.install cipd", |
+ "~followup_annotations": [ |
+ "@@@STEP_NEST_LEVEL@1@@@", |
+ "@@@STEP_TEXT@cipd instance_id: 40-chars-fake-of-the-package-instance_id@@@", |
+ "@@@STEP_LOG_LINE@json.output@{@@@", |
+ "@@@STEP_LOG_LINE@json.output@ \"executable\": \"[SLAVE_BUILD]/cipd/cipd\", @@@", |
+ "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"40-chars-fake-of-the-package-instance_id\"@@@", |
+ "@@@STEP_LOG_LINE@json.output@}@@@", |
+ "@@@STEP_LOG_END@json.output@@@" |
+ ] |
+ }, |
+ { |
+ "cmd": [ |
+ "[SLAVE_BUILD]/cipd/cipd", |
+ "ensure", |
+ "--root", |
+ "[CACHE]/cipd/goma", |
+ "--list", |
+ "infra/tools/cloudtail/linux-amd64 goma_recipe_module\ninfra_internal/goma/client/linux-amd64 release", |
+ "--json-output", |
+ "/path/to/tmp/json", |
+ "--service-account-json", |
+ "/creds/service_accounts/service-account-goma-client.json" |
+ ], |
+ "name": "ensure_goma.ensure_installed", |
+ "~followup_annotations": [ |
+ "@@@STEP_NEST_LEVEL@1@@@", |
+ "@@@STEP_LOG_LINE@json.output@{@@@", |
+ "@@@STEP_LOG_LINE@json.output@ \"result\": [@@@", |
+ "@@@STEP_LOG_LINE@json.output@ {@@@", |
+ "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-goma_recipe_modu\", @@@", |
+ "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra/tools/cloudtail/linux-amd64\"@@@", |
+ "@@@STEP_LOG_LINE@json.output@ }, @@@", |
+ "@@@STEP_LOG_LINE@json.output@ {@@@", |
+ "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-release---------\", @@@", |
+ "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra_internal/goma/client/linux-amd64\"@@@", |
+ "@@@STEP_LOG_LINE@json.output@ }@@@", |
+ "@@@STEP_LOG_LINE@json.output@ ]@@@", |
+ "@@@STEP_LOG_LINE@json.output@}@@@", |
+ "@@@STEP_LOG_END@json.output@@@" |
+ ] |
+ }, |
+ { |
"cmd": [ |
"python", |
"-u", |
@@ -126,7 +184,7 @@ |
"cwd": "[SLAVE_BUILD]/src", |
"env": { |
"GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account-goma-client.json", |
- "GYP_DEFINES": "clang=1 component=shared_library fastbuild=1 gomadir='[BUILD]/goma' target_arch=x64 use_goma=1", |
+ "GYP_DEFINES": "clang=1 component=shared_library fastbuild=1 gomadir='[CACHE]/cipd/goma' target_arch=x64 use_goma=1", |
"PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" |
}, |
"name": "gclient runhooks" |
@@ -212,7 +270,7 @@ |
"--goma-service-account-json-file", |
"/creds/service_accounts/service-account-goma-client.json", |
"--goma-dir", |
- "[BUILD]/goma", |
+ "[CACHE]/cipd/goma", |
"--", |
"All" |
], |