blob: 9232667882be5c676c2cf61c4280b96114ffd795 [file] [log] [blame]
[
{
"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",
"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@@@",
"@@@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",
"--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 (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",
"--verbose"
],
"cwd": "[CLEANUP]/ensure",
"infra_step": true,
"name": "ensure synced checkout.repo sync",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_EXCEPTION@@@"
]
},
{
"failure": {
"humanReason": "Infra Failure: Step('ensure synced checkout.repo sync') (retcode: 128)"
},
"name": "$result"
}
]