From: David Lawrence Date: Wed, 18 Feb 2015 14:57:20 +0000 (-0500) Subject: Added taskgraph.json for TaskCluster CI integration X-Git-Tag: release-5.1.1~367 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=73aea8f7b525779f8b42e6bfda7da7dd8d817ff9;p=thirdparty%2Fbugzilla.git Added taskgraph.json for TaskCluster CI integration --- diff --git a/taskgraph.json b/taskgraph.json new file mode 100644 index 0000000000..7fcf7d9525 --- /dev/null +++ b/taskgraph.json @@ -0,0 +1,208 @@ +{ + "metadata": { + "name": "Bugzilla Task Graph", + "description": "A suite of tests to check the quality of the Bugzilla codebase.", + "owner": "dlawrence@mozilla.com", + "source": "https://raw.githubusercontent.com/bugzilla/bugzilla/master/taskgraph.json" + }, + "tasks": [ + { + "reruns": 3, + "maxRunTime": 3000, + "task": { + "metadata": { + "name": "Basic Sanity Tests" + }, + "provisionerId": "aws-provisioner", + "workerType": "gaia", + "payload": { + "image": "dklawren/docker-bugzilla", + "command": ["/runtests.sh"], + "env": { + "TEST_SUITE": "sanity" + }, + "artifacts": { + "pubic/runtests.log": { + "type": "file", + "path": "/runtests.log", + "expires": "2016-02-17T17:33:38.806Z" + } + } + }, + "extra": { + "treeherder": { + "machine": { + "platform": "bugzilla/bugzilla (master)" + }, + "symbol": "San" + } + } + } + }, + { + "reruns": 3, + "maxRunTime": 3000, + "task": { + "metadata": { + "name": "Documentation Build Test" + }, + "provisionerId": "aws-provisioner", + "workerType": "gaia", + "payload": { + "image": "dklawren/docker-bugzilla", + "command": ["/runtests.sh"], + "env": { + "TEST_SUITE": "docs" + }, + "artifacts": { + "pubic/runtests.log": { + "type": "file", + "path": "/runtests.log", + "expires": "2016-02-17T17:33:38.806Z" + } + } + }, + "extra": { + "treeherder": { + "machine": { + "platform": "bugzilla/bugzilla (master)" + }, + "symbol": "Doc" + } + } + } + }, + { + "reruns": 3, + "maxRunTime": 7200, + "task": { + "metadata": { + "name": "WebService API Tests (MySQL)" + }, + "provisionerId": "aws-provisioner", + "workerType": "gaia", + "payload": { + "image": "dklawren/docker-bugzilla", + "command": ["/runtests.sh"], + "env": { + "TEST_SUITE": "webservices" + }, + "artifacts": { + "pubic/runtests.log": { + "type": "file", + "path": "/runtests.log", + "expires": "2016-02-17T17:33:38.806Z" + } + } + }, + "extra": { + "treeherder": { + "machine": { + "platform": "bugzilla/bugzilla (master)" + }, + "symbol": "API" + } + } + } + }, + { + "reruns": 3, + "maxRunTime": 7200, + "task": { + "metadata": { + "name": "Selenium Tests (MySQL)" + }, + "provisionerId": "aws-provisioner", + "workerType": "gaia", + "payload": { + "image": "dklawren/docker-bugzilla", + "command": ["/runtests.sh"], + "env": { + "TEST_SUITE": "selenium" + }, + "artifacts": { + "pubic/runtests.log": { + "type": "file", + "path": "/runtests.log", + "expires": "2016-02-17T17:33:38.806Z" + } + } + }, + "extra": { + "treeherder": { + "machine": { + "platform": "bugzilla/bugzilla (master)" + }, + "symbol": "Sel" + } + } + } + }, + { + "reruns": 3, + "maxRunTime": 7200, + "task": { + "metadata": { + "name": "WebService API Tests (Pg)" + }, + "provisionerId": "aws-provisioner", + "workerType": "gaia", + "payload": { + "image": "dklawren/docker-bugzilla:pgsql", + "command": ["/runtests.sh"], + "env": { + "TEST_SUITE": "webservices" + }, + "artifacts": { + "pubic/runtests.log": { + "type": "file", + "path": "/runtests.log", + "expires": "2016-02-17T17:33:38.806Z" + } + } + }, + "extra": { + "treeherder": { + "machine": { + "platform": "bugzilla/bugzilla (master)" + }, + "symbol": "API-Pg" + } + } + } + }, + { + "reruns": 3, + "maxRunTime": 7200, + "task": { + "metadata": { + "name": "Selenium Tests (Pg)" + }, + "provisionerId": "aws-provisioner", + "workerType": "gaia", + "payload": { + "image": "dklawren/docker-bugzilla:pgsql", + "command": ["/runtests.sh"], + "env": { + "TEST_SUITE": "selenium" + }, + "artifacts": { + "pubic/runtests.log": { + "type": "file", + "path": "/runtests.log", + "expires": "2016-02-17T17:33:38.806Z" + } + } + }, + "extra": { + "treeherder": { + "machine": { + "platform": "bugzilla/bugzilla (master)" + }, + "symbol": "Sel-Pg" + } + } + } + } + ] +}