From 6c2d64a5b0ed0a5187daadede5a7faefb646ed8d Mon Sep 17 00:00:00 2001
From: Adrian Otto <adrian.otto@rackspace.com>
Date: Tue, 22 Oct 2013 08:37:22 -0700
Subject: [PATCH] Adding project Solum to StackForge

Change-Id: Ia0469e2beeab6d9edba184f4a3e890a4c1a7697c
---
 .../files/gerrit/acls/stackforge/solum.config | 13 ++++++++++++
 .../jenkins_job_builder/config/projects.yaml  |  9 +++++++++
 .../openstack_project/files/zuul/layout.yaml  | 20 +++++++++++++++++++
 .../templates/review.projects.yaml.erb        |  3 +++
 4 files changed, 45 insertions(+)
 create mode 100644 modules/openstack_project/files/gerrit/acls/stackforge/solum.config

diff --git a/modules/openstack_project/files/gerrit/acls/stackforge/solum.config b/modules/openstack_project/files/gerrit/acls/stackforge/solum.config
new file mode 100644
index 0000000000..4ba7f1b7fd
--- /dev/null
+++ b/modules/openstack_project/files/gerrit/acls/stackforge/solum.config
@@ -0,0 +1,13 @@
+[access "refs/*"]
+        owner = group Administrators
+[access "refs/heads/*"]
+        label-Code-Review = -2..+2 group solum-core
+        label-Approved = +0..+1 group solum-core
+[access "refs/tags/*"]
+        create = group solum-ptl
+        pushTag = group solum-ptl
+[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 7f99328c12..3c477fd54a 100644
--- a/modules/openstack_project/files/jenkins_job_builder/config/projects.yaml
+++ b/modules/openstack_project/files/jenkins_job_builder/config/projects.yaml
@@ -1647,3 +1647,12 @@
 
     jobs:
       - python-jobs
+
+- project:
+    name: solum
+    github-org: stackforge
+    node: precise
+    tarball-site: tarballs.openstack.org
+
+    jobs:
+      - python-jobs
diff --git a/modules/openstack_project/files/zuul/layout.yaml b/modules/openstack_project/files/zuul/layout.yaml
index 7d63d43d24..eddac14397 100644
--- a/modules/openstack_project/files/zuul/layout.yaml
+++ b/modules/openstack_project/files/zuul/layout.yaml
@@ -3550,3 +3550,23 @@ projects:
     post:
       - python-manilaclient-branch-tarball
       - python-manilaclient-coverage
+
+  - name: stackforge/solum
+    check:
+      - gate-solum-pep8
+      - gate-solum-python26
+      - gate-solum-python27
+      - gate-solum-python33
+      - gate-solum-pypy
+#      docs will be added as soon as we have and docs to build
+#      - gate-solum-docs
+    gate:
+      - gate-solum-pep8
+      - gate-solum-python26
+      - gate-solum-python27
+      - gate-solum-python33
+      - gate-solum-pypy
+#      docs will be added as soon as we have and docs to build
+#      - gate-solum-docs
+    post:
+      - solum-coverage
diff --git a/modules/openstack_project/templates/review.projects.yaml.erb b/modules/openstack_project/templates/review.projects.yaml.erb
index 4251ab8922..10545aa279 100644
--- a/modules/openstack_project/templates/review.projects.yaml.erb
+++ b/modules/openstack_project/templates/review.projects.yaml.erb
@@ -457,3 +457,6 @@
 - project: openstack-infra/elastic-recheck
   upstream: git://github.com/jogo/elasticRecheck
   description: Classify tempest-devstack failures using ElasticSearch
+- project: stackforge/solum
+  description: "An OpenStack related project designed to make cloud services easier to consume and integrate into your application development process. See: https://wiki.openstack.org/wiki/Solum"
+  upstream: git://github.com/rackerlabs/solum