blob: 15cdd046222cc0303ed5b589aaa4d59ff15c44d9 [file] [log] [blame]
[
{
"cmd": [
"cipd",
"ensure",
"-root",
"[CACHE]/builder/bundler",
"-ensure-file",
"infra/tools/luci/recipe_bundler/${platform} latest",
"-max-threads",
"0",
"-json-output",
"/path/to/tmp/json"
],
"name": "ensure_installed",
"~followup_annotations": [
"@@@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/luci/recipe_bundler/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]/builder/bundler/recipe_bundler",
"bundle",
"-log-level",
"debug",
"-workdir",
"[CACHE]/builder/workdir",
"-package-name-prefix",
"infra/recipe_bundles",
"-package-name-internal-prefix",
"infra_internal/recipe_bundles",
"-r",
"chromium.googlesource.com/chromium/tools/build:FETCH_HEAD,refs/heads/maybe/bogus"
],
"name": "run optional recipe_bundler"
},
{
"name": "$result"
}
]