juju reports #45

  • By juju-qa
  • Latest version (#45)
  • trusty
  • Stable
  • Edge

Description

A website to aggregate and display reports and metrics for the Juju project,
including, but not limited to:
- CI data for Juju
- CI data for charms
- Usage data for both
- Usage of ecosystem websites (e.g. jujuguig, charm browser)


Overview

This charm deploys juju
reports
, a tool to aggregate
and report statistics on the Juju project and related tools (e.g. unit tests,
usage numbers).

Usage

You will need to have Juju installed and a Juju
Environment bootstrapped
.
To deploy juju-reports you will need a MongoDB instance in addition to
juju-reports:

juju deploy mongodb --constraints instance-type=m1.small

Deploy Charmworld

juju deploy cs:~jcsackett/charms/precise/juju-reports --constraints \
instance-type=m1.small

Once deployed relate mongodb to juju-reports:

juju add-relation juju-reports mongodb

Configuration

kpi-influxdb-password
(string) The db password to authenticate with.
cron-interval
(int) The amount of time (in minutes) between cron jobs for the app. -1 to disable cron.
60
cloud-health-failure-threshold
(string) The failure thresholds for cloud health jobs. A space-separated list of job-name:failure-threshold pairs.
current-conditions-list
(string) Comma separated list of charms and/or bundles that should be included in the Current Conditions report.
cs:trusty/juju-gui
cidata-url
(string) The S3 mirror URL to use for linking build artifacts.
http://data.vapour.ws/juju-ci/products
lp-oauth
(string) OAuth credentials for accessing private data on Launchapd.
charm-bundle-test-token
(string) The build token for the charm-bundle-test job.
jujuci-url
(string) The Jenkins URL to use for retrieving cloud health data.
http://juju-ci.vapour.ws:8080
kpi-influxdb-username
(string) The db username to authenticate with.
source
(string) The bzr branch to pull the juju-reports source from.
lp:juju-reports
test-failure-email
(string) Address to mail test failures to.
kpi-influxdb-url
(string) The InfluxDB URL to store kpi metrics at.
error-email
(string) Address to mail errors to.
develop-install
(boolean) If enabled, install in develop mode.
revno
(int) The revno of the bzr branch to use. -1 for current tip.
-1
jujuci-user
(string) The cloud health Jenkins user to authenticate as.
dist-clean
(boolean) If enabled, run dist-clean when updating source code.
True
aws-secret-key
(string) The secret key to use for the s3 bucket.
gh-token
(string) GitHub OAuth token to use for counting revisions.
aws-access-key
(string) The access key to use for the s3 bucket.
lp-key
(string) SSH key for accessing private code on launchpad.
kpi-influxdb-db
(string) The InfluxDB db name to store metrics kpi metrics.
error-email-from
(string) Address to mail errors from.
jujuci-pass
(string) The cloud health Jenkins passwed to authenticate with.