Commit a5e4ef4e authored by David Lawrence's avatar David Lawrence

- Improved CI support for PostgreSQL and Sqlite

parent 770835df
...@@ -180,15 +180,16 @@ ...@@ -180,15 +180,16 @@
"provisionerId": "aws-provisioner-v1", "provisionerId": "aws-provisioner-v1",
"workerType": "b2gtest", "workerType": "b2gtest",
"payload": { "payload": {
"image": "dklawren/docker-bugzilla:pgsql", "image": "bugzilla/bugzilla-ci",
"command": ["/runtests.sh"], "command": ["runtests.sh"],
"env": { "env": {
"BUGS_DB_DRIVER": "pg",
"TEST_SUITE": "webservices" "TEST_SUITE": "webservices"
}, },
"artifacts": { "artifacts": {
"public/runtests_log": { "public/runtests_log": {
"type": "file", "type": "file",
"path": "/runtests.log", "path": "/tmp/runtests.log",
"expires": "2018-02-17T17:33:38.806Z" "expires": "2018-02-17T17:33:38.806Z"
}, },
"public/httpd_error_log": { "public/httpd_error_log": {
...@@ -222,15 +223,16 @@ ...@@ -222,15 +223,16 @@
"provisionerId": "aws-provisioner-v1", "provisionerId": "aws-provisioner-v1",
"workerType": "b2gtest", "workerType": "b2gtest",
"payload": { "payload": {
"image": "dklawren/docker-bugzilla:pgsql", "image": "bugzilla/bugzilla-ci",
"command": ["/runtests.sh"], "command": ["runtests.sh"],
"env": { "env": {
"BUGS_DB_DRIVER": "pg",
"TEST_SUITE": "selenium" "TEST_SUITE": "selenium"
}, },
"artifacts": { "artifacts": {
"public/runtests_log": { "public/runtests_log": {
"type": "file", "type": "file",
"path": "/runtests.log", "path": "/tmp/runtests.log",
"expires": "2018-02-17T17:33:38.806Z" "expires": "2018-02-17T17:33:38.806Z"
}, },
"public/httpd_error_log": { "public/httpd_error_log": {
...@@ -240,7 +242,7 @@ ...@@ -240,7 +242,7 @@
}, },
"public/selenium_log": { "public/selenium_log": {
"type": "file", "type": "file",
"path": "/selenium.log", "path": "/tmp/selenium.log",
"expires": "2018-02-17T17:33:38.806Z" "expires": "2018-02-17T17:33:38.806Z"
} }
} }
...@@ -257,6 +259,97 @@ ...@@ -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"
}
}
}
}
} }
] ]
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment