diff options
author | David Lawrence <dkl@mozilla.com> | 2015-02-18 15:57:20 +0100 |
---|---|---|
committer | David Lawrence <dkl@mozilla.com> | 2015-02-18 15:57:20 +0100 |
commit | 73aea8f7b525779f8b42e6bfda7da7dd8d817ff9 (patch) | |
tree | 47c67440a335f762e34106912d9feb343a7cc2ec /taskgraph.json | |
parent | 10aa3f02a861c50fc89867dfb04cab72de14922f (diff) | |
download | bugzilla-73aea8f7b525779f8b42e6bfda7da7dd8d817ff9.tar.gz bugzilla-73aea8f7b525779f8b42e6bfda7da7dd8d817ff9.tar.xz |
Added taskgraph.json for TaskCluster CI integration
Diffstat (limited to 'taskgraph.json')
-rw-r--r-- | taskgraph.json | 208 |
1 files changed, 208 insertions, 0 deletions
diff --git a/taskgraph.json b/taskgraph.json new file mode 100644 index 000000000..7fcf7d952 --- /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" + } + } + } + } + ] +} |