blob: 743bdf889f8a41edd62bb896b50369272fa2019d [file] [log] [blame]
[
{
"cmd": [
"vpython",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"ensure-directory",
"--mode",
"0777",
"[CACHE]/codesearch_update_submodules_mirror"
],
"infra_step": true,
"name": "Create checkout parent dir"
},
{
"cmd": [
"vpython",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"glob",
"[CACHE]/codesearch_update_submodules_mirror",
"src/"
],
"infra_step": true,
"name": "Check for existing source checkout dir",
"~followup_annotations": [
"@@@STEP_LOG_LINE@glob@[CACHE]/codesearch_update_submodules_mirror/src@@@",
"@@@STEP_LOG_END@glob@@@"
]
},
{
"cmd": [
"git",
"fetch",
"-t"
],
"cwd": "[CACHE]/codesearch_update_submodules_mirror/src/",
"infra_step": true,
"name": "git fetch",
"~followup_annotations": [
"@@@STEP_EXCEPTION@@@"
]
},
{
"cmd": [
"vpython",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"rmtree",
"[CACHE]/codesearch_update_submodules_mirror/src"
],
"cwd": "[CACHE]/codesearch_update_submodules_mirror",
"infra_step": true,
"name": "Remove broken source checkout clone"
},
{
"failure": {
"humanReason": "Infra Failure: Step('git fetch') (retcode: 128)"
},
"name": "$result"
}
]