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 distro_arch_series The DistroArchSeries 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.
distro_arch_series =
The DistroArchSeries 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, {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 2018-05-23 00:00:09.