l.c.m.r.RecipeBuildBehaviour(BuildFarmJobBehaviourBase) : class documentation

Part of lp.code.model.recipebuilder View In Hierarchy

How to build a recipe on the build farm.
Method distro_arch_series Undocumented
Method extraBuildArgs Return the extra arguments required by the slave for the given build.
Method verifyBuildRequest Assert some pre-build checks.

Inherited from BuildFarmJobBehaviourBase:

Method __init__ Store a reference to the job_type with which we were created.
Method archive 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 getLogFileName Return the preferred file name for this job's log.
Method getLogFromSlave Return a Deferred which fires when the log is in the librarian.
Method storeLogFromSlave See IBuildFarmJob.
Method verifySuccessfulBuild See IBuildFarmJobBehaviour.
Method handleStatus See IBuildFarmJobBehaviour.
Method handleSuccess Handle a package that built successfully.
@cachedproperty
def distro_arch_series(self):
Undocumented
@defer.inlineCallbacks
def extraBuildArgs(self, logger=None):
Return the extra arguments required by the slave for the given build.
def verifyBuildRequest(self, logger):

Assert some pre-build checks.

The build request is checked:
  • Virtualized builds can't build on a non-virtual builder
  • Ensure that we have a chroot
  • Ensure that the build pocket allows builds for the current distroseries state.
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.