summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Lawrence <dkl@mozilla.com>2016-08-31 21:19:22 +0200
committerDavid Lawrence <dkl@mozilla.com>2016-08-31 21:19:22 +0200
commita5e4ef4e85a1dfa79123c7f9c441a9d469442318 (patch)
tree53853d00839a0e6c9fe91e933ded73b82e4b3450
parent770835df2444c9ab12d644581c861f128d6ed894 (diff)
downloadbugzilla-a5e4ef4e85a1dfa79123c7f9c441a9d469442318.tar.gz
bugzilla-a5e4ef4e85a1dfa79123c7f9c441a9d469442318.tar.xz
- Improved CI support for PostgreSQL and Sqlite
-rw-r--r--taskgraph.json107
1 files changed, 100 insertions, 7 deletions
diff --git a/taskgraph.json b/taskgraph.json
index 47bd78385..287a11d99 100644
--- a/taskgraph.json
+++ b/taskgraph.json
@@ -180,15 +180,16 @@
"provisionerId": "aws-provisioner-v1",
"workerType": "b2gtest",
"payload": {
- "image": "dklawren/docker-bugzilla:pgsql",
- "command": ["/runtests.sh"],
+ "image": "bugzilla/bugzilla-ci",
+ "command": ["runtests.sh"],
"env": {
+ "BUGS_DB_DRIVER": "pg",
"TEST_SUITE": "webservices"
},
"artifacts": {
"public/runtests_log": {
"type": "file",
- "path": "/runtests.log",
+ "path": "/tmp/runtests.log",
"expires": "2018-02-17T17:33:38.806Z"
},
"public/httpd_error_log": {
@@ -222,15 +223,16 @@
"provisionerId": "aws-provisioner-v1",
"workerType": "b2gtest",
"payload": {
- "image": "dklawren/docker-bugzilla:pgsql",
- "command": ["/runtests.sh"],
+ "image": "bugzilla/bugzilla-ci",
+ "command": ["runtests.sh"],
"env": {
+ "BUGS_DB_DRIVER": "pg",
"TEST_SUITE": "selenium"
},
"artifacts": {
"public/runtests_log": {
"type": "file",
- "path": "/runtests.log",
+ "path": "/tmp/runtests.log",
"expires": "2018-02-17T17:33:38.806Z"
},
"public/httpd_error_log": {
@@ -240,7 +242,7 @@
},
"public/selenium_log": {
"type": "file",
- "path": "/selenium.log",
+ "path": "/tmp/selenium.log",
"expires": "2018-02-17T17:33:38.806Z"
}
}
@@ -257,6 +259,97 @@
}
}
}
+ },
+ {
+ "reruns": 3,
+ "maxRunTime": 7200,
+ "task": {
+ "expires": "2018-02-18T17:33:38.806Z",
+ "metadata": {
+ "name": "WebService API Tests (Sqlite)"
+ },
+ "provisionerId": "aws-provisioner-v1",
+ "workerType": "b2gtest",
+ "payload": {
+ "image": "bugzilla/bugzilla-ci",
+ "command": ["runtests.sh"],
+ "env": {
+ "BUGS_DB_DRIVER": "sqlite",
+ "TEST_SUITE": "webservices"
+ },
+ "artifacts": {
+ "public/runtests_log": {
+ "type": "file",
+ "path": "/tmp/runtests.log",
+ "expires": "2018-02-17T17:33:38.806Z"
+ },
+ "public/httpd_error_log": {
+ "type": "file",
+ "path": "/var/log/httpd/error_log",
+ "expires": "2018-02-17T17:33:38.806Z"
+ }
+ }
+ },
+ "extra": {
+ "treeherder": {
+ "symbol": "API-Sqlite",
+ "machine": {
+ "platform": "linux64"
+ },
+ "build": {
+ "platform": "linux64"
+ }
+ }
+ }
+ }
+ },
+ {
+ "reruns": 3,
+ "maxRunTime": 7200,
+ "task": {
+ "expires": "2018-02-18T17:33:38.806Z",
+ "metadata": {
+ "name": "Selenium Tests (Sqlite)"
+ },
+ "provisionerId": "aws-provisioner-v1",
+ "workerType": "b2gtest",
+ "payload": {
+ "image": "bugzilla/bugzilla-ci",
+ "command": ["runtests.sh"],
+ "env": {
+ "BUGS_DB_DRIVER": "sqlite",
+ "TEST_SUITE": "selenium"
+ },
+ "artifacts": {
+ "public/runtests_log": {
+ "type": "file",
+ "path": "/tmp/runtests.log",
+ "expires": "2018-02-17T17:33:38.806Z"
+ },
+ "public/httpd_error_log": {
+ "type": "file",
+ "path": "/var/log/httpd/error_log",
+ "expires": "2018-02-17T17:33:38.806Z"
+ },
+ "public/selenium_log": {
+ "type": "file",
+ "path": "/tmp/selenium.log",
+ "expires": "2018-02-17T17:33:38.806Z"
+ }
+ }
+ },
+ "extra": {
+ "treeherder": {
+ "symbol": "Sel-Sqlite",
+ "machine": {
+ "platform": "linux64"
+ },
+ "build": {
+ "platform": "linux64"
+ }
+ }
+ }
+ }
}
]
}