bpo package¶
Subpackages¶
- bpo.api package
- Submodules
- bpo.api.job_callback.build_image module
- bpo.api.job_callback.build_package module
- bpo.api.job_callback.get_depends module
- bpo.api.job_callback.repo_bootstrap module
- bpo.api.job_callback.sign_index module
- bpo.api.public.update_job_status module
- bpo.api.push_hook.gitlab module
- Module contents
- bpo.config package
- bpo.db package
- Submodules
- bpo.db.migrate module
- Module contents
Image
ImageStatus
Log
Package
PackageStatus
RepoBootstrap
RepoBootstrapStatus
get_failed_packages_count_relevant()
get_image()
get_package()
get_recent_images_by_status()
get_recent_packages_by_status()
get_repo_bootstrap()
init()
init_relationships()
package_has_version()
set_image_status()
set_package_status()
set_repo_bootstrap_status()
validate_job_id()
- bpo.helpers package
- bpo.images package
- bpo.job_services package
- bpo.jobs package
- bpo.repo package
- Submodules
- bpo.repo.bootstrap module
- bpo.repo.final module
- bpo.repo.staging module
- bpo.repo.status module
- bpo.repo.symlink module
- bpo.repo.tools module
- bpo.repo.wip module
- Module contents
build()
build_arch_branch()
build_images_branch()
count_running_builds()
count_running_builds_images()
count_running_builds_packages()
count_running_builds_repo_bootstrap()
count_unpublished_packages()
get_apks()
has_unfinished_builds()
is_apk_origin_in_db()
next_image_to_build()
next_package_to_build()
repo_bootstrap_attempt()
set_stuck()
- bpo.ui package
Module contents¶
- bpo.init_components()¶
- bpo.logging_init()¶
- bpo.main(return_app=False, fill_image_queue=True)¶
- Parameters:
return_app – return the flask app, instead of running it. This is used in the testsuite.
fill_image_queue – add new images (if the interval has been reached). This is disabled in tests, where we don’t want to test building images.
- bpo.stop()¶
Clean up after running the BPO Server. Used in the testsuite.