bugbug/infra/taskcluster-hook-test-selec...

93 строки
2.7 KiB
JSON

{
"metadata": {
"description": "",
"name": "BugBug test select",
"owner": "mcastelluccio@mozilla.com"
},
"task": {
"created": {
"$fromNow": "0 seconds"
},
"deadline": {
"$fromNow": "2 hours"
},
"expires": {
"$fromNow": "1 month"
},
"extra": {
"phabricator-deployment": "${payload['PHABRICATOR_DEPLOYMENT']}",
"phabricator-diff-id": "${payload['DIFF_ID']}"
},
"metadata": {
"description": "",
"name": "BugBug test select",
"owner": "mcastelluccio@mozilla.com",
"source": "https://github.com/mozilla/bugbug"
},
"payload": {
"artifacts": {
"public/selected_tasks": {
"path": "/selected_tasks",
"type": "file"
},
"public/failure_risk": {
"path": "/failure_risk",
"type": "file"
}
},
"cache": {
"bugbug-mercurial-repository": "/cache"
},
"capabilities": {},
"env": {
"TC_SECRET_ID": "project/relman/bugbug/production"
},
"features": {
"taskclusterProxy": true
},
"command": [
"bugbug-classify-commit",
"testselect",
"/cache",
"${payload['DIFF_ID']}",
"${payload['PHABRICATOR_DEPLOYMENT']}"
],
"image": "mozilla/bugbug-commit-retrieval",
"maxRunTime": 7200
},
"priority": "normal",
"provisionerId": "proj-relman",
"retries": 5,
"routes": [
"notify.email.mcastelluccio@mozilla.com.on-failed",
"notify.irc-channel.#bugbug.on-failed",
"index.project.relman.bugbug.test_select.latest",
"index.project.relman.bugbug.test_select.diff.${payload['DIFF_ID']}",
"project.relman.bugbug.test_select"
],
"schedulerId": "-",
"scopes": [
"assume:hook-id:project-relman/bugbug-test-select",
"queue:route:project.relman.bugbug.test_select.*"
],
"tags": {},
"workerType": "compute-small"
},
"triggerSchema": {
"additionalProperties": false,
"properties": {
"PHABRICATOR_DEPLOYMENT": {
"type": "string",
"enum": ["prod", "dev"]
},
"DIFF_ID": {
"type": "number"
}
},
"required": [
"DIFF_ID"
],
"type": "object"
}
}