| [ | |
| { | |
| "cmd": [ | |
| "luci-auth", | |
| "token", | |
| "-scopes", | |
| "https://www.googleapis.com/auth/cloud-platform https://www.googleapis.com/auth/datastore", | |
| "-lifetime", | |
| "3m" | |
| ], | |
| "infra_step": true, | |
| "name": "get access token for default account" | |
| }, | |
| { | |
| "cmd": [ | |
| "vpython3", | |
| "-u", | |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", | |
| "--json-output", | |
| "/path/to/tmp/json", | |
| "copy", | |
| "extra.secret.token.should.not.be.logged", | |
| "[CLEANUP]/tmp_tmp_1" | |
| ], | |
| "infra_step": true, | |
| "name": "write metric center token" | |
| }, | |
| { | |
| "cmd": [ | |
| "vpython3", | |
| "-u", | |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", | |
| "--json-output", | |
| "/path/to/tmp/json", | |
| "remove", | |
| "[CLEANUP]/tmp_tmp_1" | |
| ], | |
| "infra_step": true, | |
| "name": "delete metric center token" | |
| }, | |
| { | |
| "cmd": [ | |
| "luci-auth", | |
| "token", | |
| "-lifetime", | |
| "3m" | |
| ], | |
| "infra_step": true, | |
| "name": "get access token for default account (2)" | |
| }, | |
| { | |
| "cmd": [ | |
| "vpython3", | |
| "-u", | |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", | |
| "--json-output", | |
| "/path/to/tmp/json", | |
| "copy", | |
| "extra.secret.token.should.not.be.logged", | |
| "[CLEANUP]/tmp_tmp_2" | |
| ], | |
| "infra_step": true, | |
| "name": "write cocoon token" | |
| }, | |
| { | |
| "name": "$result" | |
| } | |
| ] |