Start of single-process hydra-queue-runner

This commit is contained in:
Eelco Dolstra
2015-05-28 17:39:29 +02:00
parent a91cbefda0
commit dc446c3980
10 changed files with 676 additions and 131 deletions

View File

@ -159,11 +159,13 @@ create table Builds (
-- Information about scheduled builds.
priority integer not null default 0,
-- FIXME: remove (obsolete with the new queue runner)
busy integer not null default 0, -- true means someone is building this job now
locker text, -- !!! hostname/pid of the process building this job?
logfile text, -- if busy, the path of the logfile
-- FIXME: remove startTime?
startTime integer, -- if busy/finished, time we started
stopTime integer, -- if finished, time we finished
@ -207,6 +209,8 @@ create table BuildOutputs (
);
-- TODO: normalize this. Currently there can be multiple BuildSteps
-- for a single step.
create table BuildSteps (
build integer not null,
stepnr integer not null,