| [ |
| { |
| "cmd": [ |
| "RECIPE_MODULE[pigweed::repo]/resources/repo", |
| "init", |
| "--manifest-url", |
| "http://manifest_url", |
| "--groups", |
| "all", |
| "--repo-url", |
| "https://pigweed.googlesource.com/third_party/gerrit/git-repo", |
| "--repo-rev", |
| "b750b48f50eb4a11087ca6775161d5bf4d5c47d5", |
| "--no-repo-verify" |
| ], |
| "cwd": "[START_DIR]/checkout", |
| "infra_step": true, |
| "name": "repo init", |
| "timeout": 900 |
| }, |
| { |
| "cmd": [ |
| "find", |
| ".repo/", |
| "-type", |
| "f", |
| "-name", |
| "*.lock", |
| "-print", |
| "-delete" |
| ], |
| "cwd": "[START_DIR]/checkout", |
| "infra_step": true, |
| "name": "clear repo locks" |
| }, |
| { |
| "cmd": [ |
| "RECIPE_MODULE[pigweed::repo]/resources/repo", |
| "forall", |
| "--ignore-missing", |
| "-j", |
| "32", |
| "-c", |
| "find", |
| ".git/", |
| "-type", |
| "f", |
| "-name", |
| "*.lock", |
| "-print", |
| "-delete" |
| ], |
| "cwd": "[START_DIR]/checkout", |
| "infra_step": true, |
| "name": "clear git locks" |
| }, |
| { |
| "cmd": [ |
| "RECIPE_MODULE[pigweed::repo]/resources/repo", |
| "init", |
| "--manifest-url", |
| "http://manifest_url", |
| "--groups", |
| "all", |
| "--manifest-branch", |
| "mybranch", |
| "--reference", |
| "/preload/chromeos", |
| "--groups", |
| "group1,group2", |
| "--depth", |
| "10", |
| "--repo-url", |
| "http://repo_url", |
| "--repo-rev", |
| "next", |
| "--no-repo-verify", |
| "--manifest-name", |
| "pigweed.xml", |
| "--no-clone-bundle" |
| ], |
| "cwd": "[START_DIR]/checkout", |
| "infra_step": true, |
| "name": "repo init (2)", |
| "timeout": 900 |
| }, |
| { |
| "cmd": [ |
| "find", |
| ".repo/", |
| "-type", |
| "f", |
| "-name", |
| "*.lock", |
| "-print", |
| "-delete" |
| ], |
| "cwd": "[START_DIR]/checkout", |
| "infra_step": true, |
| "name": "clear repo locks (2)" |
| }, |
| { |
| "cmd": [ |
| "RECIPE_MODULE[pigweed::repo]/resources/repo", |
| "forall", |
| "--ignore-missing", |
| "-j", |
| "32", |
| "-c", |
| "find", |
| ".git/", |
| "-type", |
| "f", |
| "-name", |
| "*.lock", |
| "-print", |
| "-delete" |
| ], |
| "cwd": "[START_DIR]/checkout", |
| "infra_step": true, |
| "name": "clear git locks (2)" |
| }, |
| { |
| "cmd": [ |
| "RECIPE_MODULE[pigweed::repo]/resources/repo", |
| "sync", |
| "--verbose" |
| ], |
| "cwd": "[START_DIR]/checkout", |
| "infra_step": true, |
| "name": "repo sync" |
| }, |
| { |
| "cmd": [ |
| "RECIPE_MODULE[pigweed::repo]/resources/repo", |
| "sync", |
| "--force-sync", |
| "--detach", |
| "--current-branch", |
| "--jobs", |
| "99", |
| "--manifest-name", |
| "snapshot.xml", |
| "--no-tags", |
| "--optimized-fetch", |
| "--cache-dir", |
| "/tmp/cache", |
| "--verbose" |
| ], |
| "cwd": "[START_DIR]/checkout", |
| "infra_step": true, |
| "name": "repo sync (2)" |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "<manifest></manifest>", |
| "[CLEANUP]/manifest_tmp_1" |
| ], |
| "cwd": "[START_DIR]/checkout", |
| "infra_step": true, |
| "name": "write manifest" |
| }, |
| { |
| "cmd": [ |
| "RECIPE_MODULE[pigweed::repo]/resources/repo", |
| "sync", |
| "--manifest-name", |
| "../../../../[CLEANUP]/manifest_tmp_1", |
| "--verbose" |
| ], |
| "cwd": "[START_DIR]/checkout", |
| "infra_step": true, |
| "name": "repo sync (3)" |
| }, |
| { |
| "cmd": [ |
| "RECIPE_MODULE[pigweed::repo]/resources/repo", |
| "forall", |
| "-c", |
| "echo $REPO_PROJECT\\|$REPO_PATH\\|$REPO_REMOTE\\|$REPO_RREV" |
| ], |
| "infra_step": true, |
| "name": "repo forall", |
| "~followup_annotations": [ |
| "@@@STEP_LOG_LINE@raw_io.output_text@a|src/a|cros|refs/heads/main@@@", |
| "@@@STEP_LOG_LINE@raw_io.output_text@b|src/b|cros|refs/heads/main@@@", |
| "@@@STEP_LOG_LINE@raw_io.output_text@c|src/c|cros|refs/heads/main@@@", |
| "@@@STEP_LOG_END@raw_io.output_text@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "RECIPE_MODULE[pigweed::repo]/resources/repo", |
| "forall", |
| "foo", |
| "-c", |
| "echo $REPO_PROJECT\\|$REPO_PATH\\|$REPO_REMOTE\\|$REPO_RREV" |
| ], |
| "infra_step": true, |
| "name": "repo forall (2)", |
| "~followup_annotations": [ |
| "@@@STEP_LOG_LINE@raw_io.output_text@foo|src/foo|cros|refs/heads/main@@@", |
| "@@@STEP_LOG_END@raw_io.output_text@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "RECIPE_MODULE[pigweed::repo]/resources/repo", |
| "manifest", |
| "-r" |
| ], |
| "infra_step": true, |
| "name": "repo manifest", |
| "~followup_annotations": [ |
| "@@@STEP_LOG_LINE@raw_io.output_text@<manifest></manifest>@@@", |
| "@@@STEP_LOG_END@raw_io.output_text@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "RECIPE_MODULE[pigweed::repo]/resources/repo", |
| "manifest", |
| "-r", |
| "-m", |
| "some_manifest_file" |
| ], |
| "infra_step": true, |
| "name": "repo manifest (2)", |
| "~followup_annotations": [ |
| "@@@STEP_LOG_LINE@raw_io.output_text@<manifest></manifest>@@@", |
| "@@@STEP_LOG_END@raw_io.output_text@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "manifest diff", |
| "~followup_annotations": [ |
| "@@@STEP_TEXT@manifest diff failed; no repo root found@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "RECIPE_MODULE[pigweed::repo]/resources/repo", |
| "diffmanifests", |
| "../../../checkout/snapshot_a.xml", |
| "../../../checkout/snapshot_b.xml" |
| ], |
| "cwd": "[START_DIR]/repo/subdir", |
| "infra_step": true, |
| "name": "manifest diff (2)" |
| }, |
| { |
| "cmd": [], |
| "name": "ensure synced checkout" |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0o777", |
| "[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", |
| "--repo-url", |
| "https://pigweed.googlesource.com/third_party/gerrit/git-repo", |
| "--repo-rev", |
| "b750b48f50eb4a11087ca6775161d5bf4d5c47d5", |
| "--no-repo-verify" |
| ], |
| "cwd": "[CLEANUP]/ensure", |
| "infra_step": true, |
| "name": "ensure synced checkout.repo init", |
| "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", |
| "--verbose" |
| ], |
| "cwd": "[CLEANUP]/ensure", |
| "infra_step": true, |
| "name": "ensure synced checkout.repo sync", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "RECIPE_MODULE[pigweed::repo]/resources/repo", |
| "start", |
| "no-projects", |
| "--all" |
| ], |
| "infra_step": true, |
| "name": "repo start" |
| }, |
| { |
| "cmd": [ |
| "RECIPE_MODULE[pigweed::repo]/resources/repo", |
| "start", |
| "with-projects", |
| "project" |
| ], |
| "infra_step": true, |
| "name": "repo start (2)" |
| }, |
| { |
| "name": "$result" |
| } |
| ] |