From 73aea8f7b525779f8b42e6bfda7da7dd8d817ff9 Mon Sep 17 00:00:00 2001 From: David Lawrence Date: Wed, 18 Feb 2015 09:57:20 -0500 Subject: Added taskgraph.json for TaskCluster CI integration --- taskgraph.json | 208 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 208 insertions(+) create mode 100644 taskgraph.json (limited to 'taskgraph.json') 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" + } + } + } + } + ] +} -- cgit v1.2.3-24-g4f1b