From 0cf87fd598afb494097ccfeff25154decdf75f89 Mon Sep 17 00:00:00 2001 From: "bzrmirror%bugzilla.org" Date: Wed, 18 Feb 2015 15:15:49 +0000 Subject: [PATCH] Added taskgraph.json for TaskCluster CI integration git-svn-id: svn://10.0.0.236/trunk@265813 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/webtools/bugzilla/.bzrrev | 2 +- mozilla/webtools/bugzilla/.gitrev | 2 +- mozilla/webtools/bugzilla/taskgraph.json | 208 +++++++++++++++++++++++ 3 files changed, 210 insertions(+), 2 deletions(-) create mode 100644 mozilla/webtools/bugzilla/taskgraph.json diff --git a/mozilla/webtools/bugzilla/.bzrrev b/mozilla/webtools/bugzilla/.bzrrev index 5d1e2fa842d..5b0373c2712 100644 --- a/mozilla/webtools/bugzilla/.bzrrev +++ b/mozilla/webtools/bugzilla/.bzrrev @@ -1 +1 @@ -9297 \ No newline at end of file +9298 \ No newline at end of file diff --git a/mozilla/webtools/bugzilla/.gitrev b/mozilla/webtools/bugzilla/.gitrev index 00b1c6a94de..f61f0229fa3 100644 --- a/mozilla/webtools/bugzilla/.gitrev +++ b/mozilla/webtools/bugzilla/.gitrev @@ -1 +1 @@ -10aa3f02a861c50fc89867dfb04cab72de14922f \ No newline at end of file +73aea8f7b525779f8b42e6bfda7da7dd8d817ff9 \ No newline at end of file diff --git a/mozilla/webtools/bugzilla/taskgraph.json b/mozilla/webtools/bugzilla/taskgraph.json new file mode 100644 index 00000000000..7fcf7d95256 --- /dev/null +++ b/mozilla/webtools/bugzilla/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" + } + } + } + } + ] +}