...
 
Commits (2)
......@@ -204,7 +204,7 @@ function testsPage(tests) {
<h1>${title}</h1>
<p>For every patch set submitted to QtWayland, all QtWayland unit tests are run plus a relevant subset of the QtBase tests. The tests run on a headless Weston instance inside a docker container.</p>
<p>Daily health checks are also run for some branches.</p>
<p><a href="https://github.com/johanhelsing/docker-qt-tests">How to run/debug these tests locally</a></p>
<p><a href="https://git.qt.io/qtwaylandtests/docker-qt-tests">How to run/debug these tests locally</a></p>
<p><a href="logs/">Browse log folder</a></p>
<ul>
${tests.slice(0).reverse().map(test => `
......@@ -238,6 +238,7 @@ function healthCheck(opts) {
const rev = opts.rev || 'dev';
const containerName = `gerrit-watcher-health-check-${rev}-${config}-${unixTimeStamp()}`
const title = `Health check (${config}) ${rev} ${new Date().toISOString()}`;
console.log(`Running "${title}"`);
startDockerTest({qtWaylandRev: rev, qt5Rev: rev, containerName, title, config, image });
}
......@@ -247,20 +248,11 @@ if (!fs.existsSync('logs')){
restoreTests();
listenForGerritChanges();
scheduleJob({hour: 0, minute: 0}, () => {
console.log('Running health check for dev');
healthCheck();
});
scheduleJob({hour: 22, minute: 0}, () => {
console.log('Running health check for 5.12');
healthCheck({rev: '5.12'});
});
scheduleJob({hour: 23, minute: 0, dayOfWeek: 6}, () => {
console.log('Running health check for 5.11');
healthCheck({rev: '5.11'});
});
scheduleJob({hour: 0, minute: 0}, () => healthCheck({rev: 'dev'}));
scheduleJob({hour: 21, minute: 0}, () => healthCheck({rev: '5.13'}));
scheduleJob({hour: 22, minute: 0}, () => healthCheck({rev: '5.12'}));
scheduleJob({hour: 23, minute: 0, dayOfWeek: 6}, () => healthCheck({rev: '5.11'}));
scheduleJob({hour: 23, minute: 0, dayOfWeek: 0}, () => {
console.log('Running health check for old libwayland');
healthCheck({config: 'old-libwayland', image:'docker-qt-tests-old-libwayland'});
});
......@@ -268,6 +260,7 @@ scheduleJob({hour: 23, minute: 0, dayOfWeek: 0}, () => {
//healthCheck();
//healthCheck({rev: '5.11'});
//healthCheck({rev: '5.12'});
//healthCheck({rev: '5.13'});
//healthCheck({config: 'static'});
//healthCheck({config: 'old-libwayland', image:'docker-qt-tests-old-libwayland'});
......