← Back to team overview

launchpad-dev team mailing list archive

Re: Proposed schema changes to support generic jobs on the Soyuz build farm

 

On Thursday 05 November 2009 20:50:24 Aaron Bentley wrote:
> Julian Edwards wrote:
> > == Proposed changes ==
> >
> > The first stage is to retain the existing functionality for Soyuz package
> > builds, but allow other types of jobs to run later.
> >
> > `Job` rows will be created in tandem with the build jobs, however log
> > files will continue to be stored in the librarian (they get big).
> >
> > || BuildPackageJob || job (FK) | build (FK) | ...
> > || BuildQueue || job (FK) | job_type (enum) | lastscore (int) | ...
> >
> > BuildPackageJob will link the build record to the Job record.  BuildQueue
> > loses its build FK and now links to the build via the BuildPackageJob
> > record with the same job ID.
> 
> Does job_type indicate whether it is a BuildPackageJob,
> BuildPackageRecipeJob or BuildTranslationsJob?  Or would it be a subtype?

Yes, it would contain an enum which lists all job types possible for the build 
farm.



Follow ups

References