l.s.m.l.LiveFSBuildBehaviour(BuildFarmJobBehaviourBase) : class documentation

Part of lp.soyuz.model.livefsbuildbehaviour View In Hierarchy

Dispatches LiveFSBuild jobs to slaves.
Method getLogFileName Return the preferred file name for this job's log.
Method verifyBuildRequest Assert some pre-build checks.
Method extraBuildArgs Return the extra arguments required by the slave for the given build.
Method verifySuccessfulBuild See IBuildFarmJobBehaviour.

Inherited from BuildFarmJobBehaviourBase:

Method __init__ Store a reference to the job_type with which we were created.
Method archive Undocumented
Method distro_arch_series Undocumented
Method pocket Undocumented
Method setBuilder The builder should be set once and not changed.
Method determineFilesToSend The default behaviour is to send no files.
Method composeBuildRequest Undocumented
Method dispatchBuildToSlave See IBuildFarmJobBehaviour.
Method getUploadDirLeaf See IPackageBuild.
Method transferSlaveFileToLibrarian Transfer a file from the slave to the librarian.
Method getLogFromSlave Return a Deferred which fires when the log is in the librarian.
Method storeLogFromSlave See IBuildFarmJob.
Method handleStatus See IBuildFarmJobBehaviour.
Method handleSuccess Handle a package that built successfully.
def getLogFileName(self):
Return the preferred file name for this job's log.
def verifyBuildRequest(self, logger):

Assert some pre-build checks.

The build request is checked:
  • Virtualized builds can't build on a non-virtual builder
  • The source archive may not be disabled
  • If the source archive is private, the livefs owner must match the archive owner (see LiveFSBuildArchiveOwnerMismatch docstring)
  • Ensure that we have a chroot
@defer.inlineCallbacks
def extraBuildArgs(self, logger=None):
Return the extra arguments required by the slave for the given build.
def verifySuccessfulBuild(self):
See IBuildFarmJobBehaviour.
API Documentation for Launchpad, generated by pydoctor at 2019-11-20 00:00:15.