blob: 89c9607eb76825f7d5293e2debd647ed904fd93c [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": [
"vpython",
"-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": [
"vpython",
"-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"
}
]