* Store the jobset's nixExprPath and nixExprInput fields in a build to

allow it to be cloned (re-executed with modified inputs) later and
  to provide some traceability.
This commit is contained in:
Eelco Dolstra
2009-10-26 13:33:48 +00:00
parent 69f290413c
commit cb2493eca9
4 changed files with 26 additions and 2 deletions

View File

@ -134,6 +134,12 @@ create table Builds (
maintainers text, -- meta.maintainers (concatenated, comma-separated)
isCurrent integer default 0,
-- Copy of the nixExprInput/nixExprPath fields of the jobset that
-- instantiated this build. Needed if we want to clone this
-- build.
nixExprInput text,
nixExprPath text,
foreign key (project) references Projects(name) on update cascade,
foreign key (project, jobset) references Jobsets(project, name) on update cascade,