Merge "Create stackalytics.o.o under -infra"
This commit is contained in:
commit
e339aa65ae
39
doc/source/stackalytics.rst
Normal file
39
doc/source/stackalytics.rst
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
:title: Stackalytics
|
||||||
|
|
||||||
|
.. _stackalytics:
|
||||||
|
|
||||||
|
Stackalytics
|
||||||
|
############
|
||||||
|
|
||||||
|
Stackalytics is a service that collects and processes development activity
|
||||||
|
data such as commits, lines of code changed, code reviews and blueprints then
|
||||||
|
makes it possible to visualize it in a convenient web dashboard. The
|
||||||
|
Stackalytics dashboard makes it possible to view data by project, company,
|
||||||
|
contributor, and other factors.
|
||||||
|
|
||||||
|
The primary data sources for Stackalytics are the OpenStack Git repositories
|
||||||
|
and the Gerrit review history.
|
||||||
|
|
||||||
|
At a Glance
|
||||||
|
===========
|
||||||
|
|
||||||
|
:Hosts:
|
||||||
|
* http://stackalytics.openstack.org
|
||||||
|
:Puppet:
|
||||||
|
* https://git.openstack.org/cgit/openstack-infra/puppet-stackalytics/tree/
|
||||||
|
* :file:`modules/openstack_project/manifests/stackalytics.pp`
|
||||||
|
:Projects:
|
||||||
|
* https://git.openstack.org/cgit/openstack/stackalytics
|
||||||
|
:Documentation:
|
||||||
|
* https://wiki.openstack.org/wiki/Stackalytics
|
||||||
|
:Bugs:
|
||||||
|
* https://bugs.launchpad.net/stackalytics
|
||||||
|
|
||||||
|
Installation
|
||||||
|
============
|
||||||
|
|
||||||
|
Gerrit Events
|
||||||
|
-------------
|
||||||
|
|
||||||
|
Create a dedicated service account, described in :ref:`request-account-label`,
|
||||||
|
in order to properly stream events from :ref:`gerrit`.
|
@ -23,6 +23,7 @@ Major Systems
|
|||||||
paste
|
paste
|
||||||
planet
|
planet
|
||||||
puppet
|
puppet
|
||||||
|
stackalytics
|
||||||
static
|
static
|
||||||
bandersnatch
|
bandersnatch
|
||||||
lists
|
lists
|
||||||
|
@ -145,6 +145,18 @@ node 'health.openstack.org' {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Node-OS: trusty
|
||||||
|
node 'stackalytics.openstack.org' {
|
||||||
|
class { 'openstack_project::server':
|
||||||
|
iptables_public_tcp_ports => [80],
|
||||||
|
sysadmins => hiera('sysadmins', []),
|
||||||
|
}
|
||||||
|
|
||||||
|
class { 'openstack_project::stackalytics':
|
||||||
|
gerrit_ssh_user => hiera('stackalytics_gerrit_ssh_user'),
|
||||||
|
stackalytics_ssh_private_key => hiera('stackalytics_ssh_private_key_contents'),
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
# Node-OS: precise
|
# Node-OS: precise
|
||||||
node 'jenkins.openstack.org' {
|
node 'jenkins.openstack.org' {
|
||||||
|
@ -123,6 +123,7 @@ INTEGRATION_MODULES["$OPENSTACK_GIT_ROOT/openstack-infra/puppet-simpleproxy"]="o
|
|||||||
INTEGRATION_MODULES["$OPENSTACK_GIT_ROOT/openstack-infra/puppet-snmpd"]="origin/master"
|
INTEGRATION_MODULES["$OPENSTACK_GIT_ROOT/openstack-infra/puppet-snmpd"]="origin/master"
|
||||||
INTEGRATION_MODULES["$OPENSTACK_GIT_ROOT/openstack-infra/puppet-ssh"]="origin/master"
|
INTEGRATION_MODULES["$OPENSTACK_GIT_ROOT/openstack-infra/puppet-ssh"]="origin/master"
|
||||||
INTEGRATION_MODULES["$OPENSTACK_GIT_ROOT/openstack-infra/puppet-ssl_cert_check"]="origin/master"
|
INTEGRATION_MODULES["$OPENSTACK_GIT_ROOT/openstack-infra/puppet-ssl_cert_check"]="origin/master"
|
||||||
|
INTEGRATION_MODULES["$OPENSTACK_GIT_ROOT/openstack-infra/puppet-stackalytics"]="origin/master"
|
||||||
INTEGRATION_MODULES["$OPENSTACK_GIT_ROOT/openstack-infra/puppet-statusbot"]="origin/master"
|
INTEGRATION_MODULES["$OPENSTACK_GIT_ROOT/openstack-infra/puppet-statusbot"]="origin/master"
|
||||||
INTEGRATION_MODULES["$OPENSTACK_GIT_ROOT/openstack-infra/puppet-storyboard"]="origin/master"
|
INTEGRATION_MODULES["$OPENSTACK_GIT_ROOT/openstack-infra/puppet-storyboard"]="origin/master"
|
||||||
INTEGRATION_MODULES["$OPENSTACK_GIT_ROOT/openstack-infra/puppet-subunit2sql"]="origin/master"
|
INTEGRATION_MODULES["$OPENSTACK_GIT_ROOT/openstack-infra/puppet-subunit2sql"]="origin/master"
|
||||||
|
@ -152,6 +152,7 @@ class openstack_project::cacti (
|
|||||||
'release.slave.openstack.org',
|
'release.slave.openstack.org',
|
||||||
'review-dev.openstack.org',
|
'review-dev.openstack.org',
|
||||||
'review.openstack.org',
|
'review.openstack.org',
|
||||||
|
'stackalytics.openstack.org',
|
||||||
'static.openstack.org',
|
'static.openstack.org',
|
||||||
'status.openstack.org',
|
'status.openstack.org',
|
||||||
'subunit-worker01.openstack.org',
|
'subunit-worker01.openstack.org',
|
||||||
|
17
modules/openstack_project/manifests/stackalytics.pp
Normal file
17
modules/openstack_project/manifests/stackalytics.pp
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
# == Class: openstack_project::stackalytics
|
||||||
|
#
|
||||||
|
class openstack_project::stackalytics (
|
||||||
|
$gerrit_ssh_user,
|
||||||
|
$stackalytics_ssh_private_key,
|
||||||
|
$vhost_name = $::fqdn,
|
||||||
|
) {
|
||||||
|
class { '::stackalytics':
|
||||||
|
gerrit_ssh_user => $gerrit_ssh_user,
|
||||||
|
stackalytics_ssh_private_key => $stackalytics_ssh_private_key,
|
||||||
|
vhost_name => $vhost_name,
|
||||||
|
}
|
||||||
|
|
||||||
|
realize (
|
||||||
|
User::Virtual::Localuser['pabelanger'],
|
||||||
|
)
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user