blob: a6f8bc873001a474a9937206342ecb4325b5fd6d [file] [log] [blame]
[
{
"cmd": [
"python",
"-u",
"\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
"RECIPE_REPO[build]/scripts/slave/gatekeeper_trees.json",
"/path/to/tmp/json"
],
"name": "reading gatekeeper_trees.json",
"~followup_annotations": [
"@@@STEP_LOG_LINE@json.output@{@@@",
"@@@STEP_LOG_LINE@json.output@ \"foobar\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"config\": \"foobar/tree_closers.json\"@@@",
"@@@STEP_LOG_LINE@json.output@ }@@@",
"@@@STEP_LOG_LINE@json.output@}@@@",
"@@@STEP_LOG_END@json.output@@@"
]
},
{
"cmd": [
"python",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"ensure-directory",
"--mode",
"0777",
"[BUILDER_CACHE]/gate_keeper"
],
"infra_step": true,
"name": "ensure cache"
},
{
"cmd": [
"vpython",
"-u",
"RECIPE_MODULE[build::gatekeeper]/resources/gatekeeper_ng.py",
"--json",
"RECIPE_REPO[build]/scripts/slave/foobar/tree_closers.json",
"--service-account-path",
"/creds/service_accounts/service-account-gatekeeper.json"
],
"name": "gatekeeper: foobar"
},
{
"jsonResult": null,
"name": "$result"
}
]