launchpad-dev team mailing list archive
-
launchpad-dev team
-
Mailing list archive
-
Message #01584
Re: Proposed schema changes to support generic jobs on the Soyuz build farm
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?
Aaron
Follow ups
References