bpo.jobs package¶
Submodules¶
bpo.jobs.build_image module¶
- bpo.jobs.build_image.get_arg_img_prefix(kernel)¶
- bpo.jobs.build_image.get_pmbootstrap_install_cmd(branch)¶
pmbootstrap install command for image building. This is a separate function, so we can override it with a stub in a test.
- bpo.jobs.build_image.get_task_name(prefix, kernel)¶
- bpo.jobs.build_image.run(device, branch, ui)¶
Start a single image build job.
bpo.jobs.build_package module¶
- bpo.jobs.build_package.abort(package)¶
Stop a single package build job. :param package: bpo.db.Package object
- bpo.jobs.build_package.do_build_strict(pkgname)¶
Check if –strict should be supplied to “pmbootstrap build”. Usually we want to use it every time, but in order to work around bugs we may need to disable it for certain packages. For example: https://gitlab.alpinelinux.org/alpine/apk-tools/issues/10649
- bpo.jobs.build_package.run(arch, pkgname, branch)¶
Start a single package build job.
- Returns:
True if a new job was started, False if the apk exists already in the WIP repo and the build was skipped.
bpo.jobs.get_depends module¶
- bpo.jobs.get_depends.run(branch)¶
bpo.jobs.repo_bootstrap module¶
- bpo.jobs.repo_bootstrap.run(session, rb, test_pmaports_cfg=None)¶
Run “pmbootstrap repo_bootstrap” as job and upload the resulting packages.
- Parameters:
session – bpo.db.session() object
rb – bpo.db.RepoBootstrap object
test_pmaports_cfg – tests override pmaports.cfg with this
bpo.jobs.sign_index module¶
- bpo.jobs.sign_index.run(arch, branch)¶