blob: 380a54d995badb12445a7ff72b7a0f139e836c07 [file] [log] [blame]
[
{
"cmd": [],
"name": "install infra/tools/run_annotations"
},
{
"cmd": [
"vpython",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"ensure-directory",
"--mode",
"0777",
"[CACHE]/cipd/infra/tools/run_annotations/latest"
],
"infra_step": true,
"name": "install infra/tools/run_annotations.ensure package directory",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"cipd",
"ensure",
"-root",
"[CACHE]/cipd/infra/tools/run_annotations/latest",
"-ensure-file",
"infra/tools/run_annotations/${platform} latest",
"-max-threads",
"0",
"-json-output",
"/path/to/tmp/json"
],
"infra_step": true,
"name": "install infra/tools/run_annotations.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@ {@@@",
"@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-latest----------\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"package\": \"infra/tools/run_annotations/resolved-platform\"@@@",
"@@@STEP_LOG_LINE@json.output@ }@@@",
"@@@STEP_LOG_LINE@json.output@ ]@@@",
"@@@STEP_LOG_LINE@json.output@ }@@@",
"@@@STEP_LOG_LINE@json.output@}@@@",
"@@@STEP_LOG_END@json.output@@@"
]
},
{
"cmd": [
"[CACHE]/cipd/infra/tools/run_annotations/latest/run_annotations",
"--output",
"[CLEANUP]/tmp_tmp_1/sub_build.pb",
"--",
"python",
"-u",
"RECIPE[recipe_engine::legacy_annotation:examples/full].resources/anno.py"
],
"env": {
"MAC_CHROMIUM_TMPDIR": "[CLEANUP]/tmp_tmp_2",
"TEMP": "[CLEANUP]/tmp_tmp_2",
"TEMPDIR": "[CLEANUP]/tmp_tmp_2",
"TMP": "[CLEANUP]/tmp_tmp_2",
"TMPDIR": "[CLEANUP]/tmp_tmp_2"
},
"name": "run annotation script"
},
{
"name": "$result"
}
]