Part of canonical.buildd.slave View In Hierarchy
Known subclasses: canonical.buildd.debian.DebianBuildManager
Method | __init__ | Create a BuildManager. |
Method | runSubProcess | Run a sub process capturing the results in the log. |
Method | doUnpack | Unpack the build chroot. |
Method | doCleanup | Remove the build tree etc. |
Method | doMounting | Mount things in the chroot, e.g. proc. |
Method | doUnmounting | Unmount the chroot. |
Method | initiate | Initiate a build given the input files. |
Method | iterate | Perform an iteration of the slave. |
Method | abort | Abort the build by killing the subprocess. |
Method | kill | Send SIGKILL to child process |
Parameters | slave | A BuildDSlave . |
buildid | Identifying string for this build. |
Please note: the 'extra_args' dictionary may contain a boolean value keyed under the 'archive_private' string. If that value evaluates to True the build at hand is for a private archive.
The BuildManager tends to work by invoking several subprocesses in order. the iterate method is called by the object created by runSubProcess to gather the results of the sub process.