Commit 1fc5fa88 authored by Johan Helsing's avatar Johan Helsing

Add health check for 5.13

parent e3bdb72e
......@@ -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'});
......
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