| [ |
| { |
| "cmd": [], |
| "name": "ensure synced checkout", |
| "~followup_annotations": [ |
| "@@@STEP_EXCEPTION@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0777", |
| "[CLEANUP]/ensure" |
| ], |
| "infra_step": true, |
| "name": "ensure synced checkout.ensure root path", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "rmtree", |
| "[CLEANUP]/ensure/.repo/manifests" |
| ], |
| "cwd": "[CLEANUP]/ensure", |
| "infra_step": true, |
| "name": "ensure synced checkout.remove .repo/manifests", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "rmtree", |
| "[CLEANUP]/ensure/.repo/manifests.git" |
| ], |
| "cwd": "[CLEANUP]/ensure", |
| "infra_step": true, |
| "name": "ensure synced checkout.remove .repo/manifests.git", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "RECIPE_MODULE[pigweed::repo]/resources/repo", |
| "init", |
| "--manifest-url", |
| "http://manifest_url", |
| "--groups", |
| "all" |
| ], |
| "cwd": "[CLEANUP]/ensure", |
| "infra_step": true, |
| "name": "ensure synced checkout.repo init", |
| "timeout": 900, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_EXCEPTION@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "rmcontents", |
| "[CLEANUP]/ensure" |
| ], |
| "cwd": "[CLEANUP]/ensure", |
| "infra_step": true, |
| "name": "ensure synced checkout.clean up root path and retry", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "rmtree", |
| "[CLEANUP]/ensure/.repo/manifests" |
| ], |
| "cwd": "[CLEANUP]/ensure", |
| "infra_step": true, |
| "name": "ensure synced checkout.remove .repo/manifests (2)", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "rmtree", |
| "[CLEANUP]/ensure/.repo/manifests.git" |
| ], |
| "cwd": "[CLEANUP]/ensure", |
| "infra_step": true, |
| "name": "ensure synced checkout.remove .repo/manifests.git (2)", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "RECIPE_MODULE[pigweed::repo]/resources/repo", |
| "init", |
| "--manifest-url", |
| "http://manifest_url", |
| "--groups", |
| "all" |
| ], |
| "cwd": "[CLEANUP]/ensure", |
| "infra_step": true, |
| "name": "ensure synced checkout.repo init (2)", |
| "timeout": 900, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "find", |
| ".repo/", |
| "-type", |
| "f", |
| "-name", |
| "*.lock", |
| "-print", |
| "-delete" |
| ], |
| "cwd": "[CLEANUP]/ensure", |
| "infra_step": true, |
| "name": "ensure synced checkout.clear repo locks", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "RECIPE_MODULE[pigweed::repo]/resources/repo", |
| "forall", |
| "--ignore-missing", |
| "-j", |
| "32", |
| "-c", |
| "find", |
| ".git/", |
| "-type", |
| "f", |
| "-name", |
| "*.lock", |
| "-print", |
| "-delete" |
| ], |
| "cwd": "[CLEANUP]/ensure", |
| "infra_step": true, |
| "name": "ensure synced checkout.clear git locks", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "ensure synced checkout.ensure clean checkout", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "RECIPE_MODULE[pigweed::repo]/resources/repo", |
| "forall", |
| "--ignore-missing", |
| "-j", |
| "32", |
| "-c", |
| "git", |
| "clean", |
| "-d", |
| "-f" |
| ], |
| "cwd": "[CLEANUP]/ensure", |
| "infra_step": true, |
| "name": "ensure synced checkout.ensure clean checkout.repo forall", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@", |
| "@@@STEP_LOG_END@raw_io.output_text@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "ensure synced checkout.repo binary update", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "RECIPE_MODULE[pigweed::repo]/resources/repo", |
| "selfupdate" |
| ], |
| "cwd": "[CLEANUP]/ensure", |
| "infra_step": true, |
| "name": "ensure synced checkout.repo binary update.repo selfupdate", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "RECIPE_MODULE[pigweed::repo]/resources/repo", |
| "sync" |
| ], |
| "cwd": "[CLEANUP]/ensure", |
| "infra_step": true, |
| "name": "ensure synced checkout.repo sync", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "name": "$result" |
| } |
| ] |