From 1041de747312406c73293fc6784bffe730353592 Mon Sep 17 00:00:00 2001
From: Matt Ray <matthewhray@gmail.com>
Date: Thu, 6 Mar 2014 11:46:52 -0600
Subject: [PATCH] Add Ceph support to existing Chef cookbooks

We're working with the maintainers of https://github.com/ceph/ceph-cookbooks to
bring Ceph cookbook development into StackForge.

Change-Id: I3ba034b4e16050128e576054dd089f0be242942d
---
 modules/gerritbot/files/gerritbot_channel_config.yaml  |  1 +
 .../files/jenkins_job_builder/config/projects.yaml     | 10 ++++++++++
 modules/openstack_project/files/review.projects.yaml   |  8 ++++++++
 modules/openstack_project/files/zuul/layout.yaml       |  9 +++++++++
 4 files changed, 28 insertions(+)

diff --git a/modules/gerritbot/files/gerritbot_channel_config.yaml b/modules/gerritbot/files/gerritbot_channel_config.yaml
index a40dc42c8c..da8906d051 100644
--- a/modules/gerritbot/files/gerritbot_channel_config.yaml
+++ b/modules/gerritbot/files/gerritbot_channel_config.yaml
@@ -252,6 +252,7 @@ openstack-chef:
       - change-merged
       - x-vrif-minus-2
     projects:
+      - stackforge/cookbook-ceph
       - stackforge/cookbook-openstack-block-storage
       - stackforge/cookbook-openstack-common
       - stackforge/cookbook-openstack-compute
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 65fb4e4a67..f69360d126 100644
--- a/modules/openstack_project/files/jenkins_job_builder/config/projects.yaml
+++ b/modules/openstack_project/files/jenkins_job_builder/config/projects.yaml
@@ -1636,6 +1636,16 @@
     jobs:
       - gate-openstack-chef-repo
 
+- project:
+    name: cookbook-ceph
+    github-org: stackforge
+    node: bare-precise
+
+    jobs:
+      - gate-{name}-chef-lint
+      - gate-{name}-chef-style
+      - gate-{name}-chef-unit
+
 - project:
     name: cookbook-openstack-common
     github-org: stackforge
diff --git a/modules/openstack_project/files/review.projects.yaml b/modules/openstack_project/files/review.projects.yaml
index a952f1d450..425e2a7d28 100644
--- a/modules/openstack_project/files/review.projects.yaml
+++ b/modules/openstack_project/files/review.projects.yaml
@@ -432,6 +432,14 @@
   description: Congress
   upstream: git://github.com/pballand/congress.git
   acl-config: /home/gerrit2/acls/stackforge/congress.config
+- project: stackforge/cookbook-ceph
+  group: openstack-chef
+  docimpact-group: openstack-chef
+  description: Chef Cookbook - Ceph
+  upstream: git://github.com/ceph/ceph-cookbooks.git
+  acl-config: /home/gerrit2/acls/stackforge/chef-cookbooks.config
+  options:
+    - direct-release
 - project: stackforge/cookbook-openstack-block-storage
   group: openstack-chef
   docimpact-group: openstack-chef
diff --git a/modules/openstack_project/files/zuul/layout.yaml b/modules/openstack_project/files/zuul/layout.yaml
index 8af5aeac94..c4013ca2ed 100644
--- a/modules/openstack_project/files/zuul/layout.yaml
+++ b/modules/openstack_project/files/zuul/layout.yaml
@@ -3182,6 +3182,15 @@ projects:
       - gate-cookbook-openstack-block-storage-chef-lint
       - gate-cookbook-openstack-block-storage-chef-unit
 
+  - name: stackforge/cookbook-ceph
+    check:
+      - gate-cookbook-ceph-chef-lint
+      - gate-cookbook-ceph-chef-style
+      - gate-cookbook-ceph-chef-unit
+    gate:
+      - gate-cookbook-ceph-chef-lint
+      - gate-cookbook-ceph-chef-unit
+
   - name: stackforge/cookbook-openstack-common
     check:
       - gate-cookbook-openstack-common-chef-lint