From 9c08aa5bce967f0dc115fac0d127a2890a6876a5 Mon Sep 17 00:00:00 2001
From: Monty Taylor <mordred@inaugust.com>
Date: Fri, 30 Nov 2012 09:26:45 -0800
Subject: [PATCH] Add healthnmon project to stackforge.

Change-Id: I1d282484c473cf4015e89041e5aa209942e576d7
Reviewed-on: https://review.openstack.org/17222
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Approved: Monty Taylor <mordred@inaugust.com>
Tested-by: Jenkins
---
 .../files/gerrit/acls/stackforge/healthnmon.config   | 12 ++++++++++++
 .../files/jenkins_job_builder/config/projects.yaml   |  9 +++++++++
 modules/openstack_project/files/zuul/layout.yaml     | 10 ++++++++++
 .../templates/review.projects.yaml.erb               |  4 ++++
 4 files changed, 35 insertions(+)
 create mode 100644 modules/openstack_project/files/gerrit/acls/stackforge/healthnmon.config

diff --git a/modules/openstack_project/files/gerrit/acls/stackforge/healthnmon.config b/modules/openstack_project/files/gerrit/acls/stackforge/healthnmon.config
new file mode 100644
index 0000000000..7bc328b2ea
--- /dev/null
+++ b/modules/openstack_project/files/gerrit/acls/stackforge/healthnmon.config
@@ -0,0 +1,12 @@
+[access "refs/*"]
+        owner = group Administrators
+        create = group healthnmon-core
+        pushTag = group healthnmon-core
+[access "refs/heads/*"]
+        label-Code-Review = -2..+2 group healthnmon-core
+        label-Approved = +0..+1 group healthnmon-core
+[receive]
+        requireChangeId = true
+        requireContributorAgreement = true
+[submit]
+        mergeContent = true
diff --git a/modules/openstack_project/files/jenkins_job_builder/config/projects.yaml b/modules/openstack_project/files/jenkins_job_builder/config/projects.yaml
index c0c45a8818..85e55c35e6 100644
--- a/modules/openstack_project/files/jenkins_job_builder/config/projects.yaml
+++ b/modules/openstack_project/files/jenkins_job_builder/config/projects.yaml
@@ -598,6 +598,15 @@
       - python-jobs
 
 
+- project:
+    name: healthnmon
+    github-org: stackforge
+    node: precise
+
+    jobs:
+      - python-jobs
+
+
 - project:
     name: marconi
     github-org: stackforge
diff --git a/modules/openstack_project/files/zuul/layout.yaml b/modules/openstack_project/files/zuul/layout.yaml
index b8bde0f569..19d9bebbe9 100644
--- a/modules/openstack_project/files/zuul/layout.yaml
+++ b/modules/openstack_project/files/zuul/layout.yaml
@@ -708,6 +708,16 @@ projects:
         - gate-libra-pep8
         - gate-libra-python27
 
+  - name: stackforge/healthnmon
+    check:
+      - gate-healthnmon-merge:
+        - gate-healthnmon-pep8
+        - gate-healthnmon-python27
+    gate:
+      - gate-healthnmon-merge:
+        - gate-healthnmon-pep8
+        - gate-healthnmon-python27
+
   - name: openstack/heat
     check:
       - gate-heat-merge:
diff --git a/modules/openstack_project/templates/review.projects.yaml.erb b/modules/openstack_project/templates/review.projects.yaml.erb
index 1789fcb62a..8a79be43df 100644
--- a/modules/openstack_project/templates/review.projects.yaml.erb
+++ b/modules/openstack_project/templates/review.projects.yaml.erb
@@ -135,6 +135,10 @@
   acl_config: /home/gerrit2/acls/stackforge/diskimage-builder.config
   description: "Image building tools for Openstack"
   upstream: git://github.com/tripleo/baremetal-initrd-builder.git
+- project: stackforge/healthnmon
+  acl_config: /home/gerrit2/acls/stackforge/healthnmon.config
+  description: "Healthnmon aims to deliver 'Cloud Resource Monitor', an extensible service to OpenStack Cloud Operating system by providing monitoring service for Cloud Resources and Infrastructure with a pluggable framework for 'Inventory Management', 'Alerts and notifications' and 'Utilization Data."
+  upstream: git://github.com/healthnmon/healthnmon.git
 - project: stackforge/libra
   acl_config: /home/gerrit2/acls/stackforge/libra.config
 - project: stackforge/marconi