Insert the Phabricator diff ID in the command directly rather than in the env

This commit is contained in:
Marco Castelluccio 2019-07-03 15:46:21 +02:00
Родитель 3eb3a90830
Коммит 28cb2b291e
1 изменённых файлов: 4 добавлений и 11 удалений

Просмотреть файл

@ -37,22 +37,15 @@
},
"capabilities": {},
"env": {
"$merge": [
{
"TC_SECRET_ID": "project/relman/bugbug/production"
},
{
"$eval": "payload"
}
]
"TC_SECRET_ID": "project/relman/bugbug/production"
},
"features": {
"taskclusterProxy": true
},
"command": [
"/bin/bash",
"-c",
"bugbug-classify-commit /cache/ $DIFF_ID"
"bugbug-classify-commit",
"/cache",
"${payload['DIFF_ID']}"
],
"image": "mozilla/bugbug-commit-retrieval",
"maxRunTime": 7200