blob: 7bce14f70fc465634acc018180b6fb09ab108e28 [file] [log] [blame]
[
{
"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": [
"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"
}
]