l.b.i.b.IBuildFarmJobBehaviour(Interface) : interface documentation

Part of lp.buildmaster.interfaces.buildfarmjobbehaviour View In Hierarchy

No interface docstring
Attribute builder_type The name of the builder type to use for this build, corresponding to a launchpad-buildd build manager tag.
Attribute image_types A list of `BuildBaseImageType`s indicating which types of base images can be used for this build.
Attribute archive The Archive to build against.
Attribute distro_arch_series The DistroArchSeries to build against.
Attribute pocket The PackagePublishingPocket to build against.
Method setBuilder Sets the associated builder and slave for this instance.
Method determineFilesToSend Work out which files to send to the builder.
Method extraBuildArgs Return extra arguments required by the builder for this build.
Method composeBuildRequest Compose parameters for a slave build request.
Method dispatchBuildToSlave Dispatch a specific build to the slave.
Method verifyBuildRequest Carry out any pre-build checks.
Method verifySuccessfulBuild Check that we are allowed to collect this successful build.
Method handleStatus Update the build from a WAITING slave result.
builder_type =
The name of the builder type to use for this build, corresponding to a launchpad-buildd build manager tag.
image_types =
A list of `BuildBaseImageType`s indicating which types of base images can be used for this build.
archive =
The Archive to build against.
distro_arch_series =
The DistroArchSeries to build against.
pocket =
The PackagePublishingPocket to build against.
def setBuilder(builder, slave):
Sets the associated builder and slave for this instance.
def determineFilesToSend():
Work out which files to send to the builder.
ReturnsA dict mapping filenames to dicts as follows:: 'sha1': SHA-1 of file content 'url': URL from which the builder can fetch content 'username' (optional): username to authenticate as 'password' (optional): password to authenticate with
def extraBuildArgs(logger=None):
Return extra arguments required by the builder for this build.
ParametersloggerAn optional logger.
ReturnsA dict of builder arguments, or a Deferred resulting in the same.
def composeBuildRequest(logger):
Compose parameters for a slave build request.
ParametersloggerA logger to be used to log diagnostic information.
ReturnsA tuple of ( "builder type", DistroArchSeries to build against, PackagePublishingPocket to build against, {filename: sendFileToSlave arguments}, {extra build arguments}), or a Deferred resulting in the same.
def dispatchBuildToSlave(logger):
Dispatch a specific build to the slave.
ParametersloggerA logger to be used to log diagnostic information.
def verifyBuildRequest(logger):
Carry out any pre-build checks.
ParametersloggerA logger to be used to log diagnostic information.
def verifySuccessfulBuild():
Check that we are allowed to collect this successful build.
def handleStatus(bq, status, slave_status):
Update the build from a WAITING slave result.
ParametersbqThe BuildQueue currently being processed.
statusThe tail of the BuildStatus (eg. OK or PACKAGEFAIL).
slave_statusSlave status dict from BuilderSlave.status.
API Documentation for Launchpad, generated by pydoctor at 2019-08-22 00:00:19.