qlbr #18
Description
QA Launchpad Bug Reports provides caching and organization of bugs from multiple Launchpad projects.
- Tags:
- applications ›
QLBR
Charm Author:
- Max Brustkern max@canonical.com
Usage
QLBR aggregates bug reports from Launchpad. As such, the minimal required configuration is a valid INI-style config file, as produced by launchpadlib and understood by python's configparser library. The full contents of this file (including newlines) should be passed in, base64 encoded, as the 'credentials' option. All other options are optional.
Postgresql is currently the only supported database. A subordinate charm is required to run the actual server. The only charm tested is gunicorn, but another server that accepts the wsgi-file relation may work. An internal memcached instance is used by default, but the memcache relation can be used as well.
Example Deployment
juju bootstrap
juju deploy postgresql
juju deploy qlbr
juju deploy gunicorn
juju deploy memcached
juju add-relation qlbr postgresql:db
juju add-relation qlbr gunicorn
juju add-relation qlbr memcached
juju expose qlbr
Apache or another server can be connected in front of gunicorn. The default port is 8080.
Configuration
- cache_dir
- (string) The path to store the launchpadlib cache
- /srv/.launchpadlib
- credentials
- (string) The base64 encoded full text of a credentials file usable by launchpadlib
- credentials_file
- (string) The path to store the credentials file on the instance
- /srv/.launchpad-secret
- cron_file
- (string) The path to store the cron file on the instance
- /etc/cron.d/qlbr
- distro_packages
- (string) List of space-separated distro packages to install
- bzr python-django python-django-nose python-psycopg2 python-memcache memcached python-jinja2
- instance_type
- (string) Instance type
- devel
- payload
- (string) Payload tarball location
- port
- (int) Port to open for web server
- 8080
- ppas
- (string) List of space-separated PPAs to enable
- qlbr_branch
- (string) The bzr branch of qlbr to use
- lp:~canonical-platform-qa/qlbr/rtm-reports
- qlbr_dir
- (string) The path to store qlbr on the instance
- /srv/qlbr
- qlbr_group
- (string) The group that owns the code
- qlbr
- qlbr_user
- (string) The user that owns the code
- qlbr
- region
- (string) Region to which we are deploying
- canonistack
- wsgi_group
- (string) The group that runs the code
- www-data
- wsgi_user
- (string) The user that runs the code
- www-data