From 050f111b7fc0d9cc3beda4ab0b55b115983d4117 Mon Sep 17 00:00:00 2001
From: Anita Kuno <anteaya@anteaya.info>
Date: Thu, 14 Aug 2014 11:22:52 -0600
Subject: [PATCH] Create a stackforge repo for ci dashboard project - radar

This patch creates a stackforge repo for a new project called
radar. This code is currently in Michael Still's github repo
and provides a dashboard to view ci output. An example:
http://www.rcbops.com/gerrit/reports/neutron-cireport.html

Having this repository in stackforge will allow more contributions
on the code base.

Change-Id: I38fe6b3e1d6a7a12b47bf769e65c1b251eef8896
---
 .../files/gerrit/acls/stackforge/radar.config       | 13 +++++++++++++
 .../openstack_project/files/review.projects.yaml    |  3 +++
 modules/openstack_project/files/zuul/layout.yaml    |  8 ++++++++
 3 files changed, 24 insertions(+)
 create mode 100644 modules/openstack_project/files/gerrit/acls/stackforge/radar.config

diff --git a/modules/openstack_project/files/gerrit/acls/stackforge/radar.config b/modules/openstack_project/files/gerrit/acls/stackforge/radar.config
new file mode 100644
index 0000000000..d47c0cc02c
--- /dev/null
+++ b/modules/openstack_project/files/gerrit/acls/stackforge/radar.config
@@ -0,0 +1,13 @@
+[access "refs/heads/*"]
+abandon = group radar-core
+label-Code-Review = -2..+2 group radar-core
+label-Workflow = -1..+1 group radar-core
+
+[access "refs/tags/*"]
+pushSignedTag = group radar-release
+
+[receive]
+requireChangeId = true
+
+[submit]
+mergeContent = true
diff --git a/modules/openstack_project/files/review.projects.yaml b/modules/openstack_project/files/review.projects.yaml
index 05b1d7cbcc..49f3cc25e6 100644
--- a/modules/openstack_project/files/review.projects.yaml
+++ b/modules/openstack_project/files/review.projects.yaml
@@ -1115,6 +1115,9 @@
 - project: stackforge/rack
   description: Provides the ability that can control OpenStack as program resource with an application. It enables you to implement a large scale distributed system in a variety of programming languages on OpenStack.
   upstream: https://github.com/ctc-g/rack
+- project: stackforge/radar
+  description: dashboard for ci reporting
+  upstream: https://github.com/rcbau/radar
 - project: stackforge/rally
   description: Benchmark System for OpenStack
   upstream: git://github.com/pboris/rally.git
diff --git a/modules/openstack_project/files/zuul/layout.yaml b/modules/openstack_project/files/zuul/layout.yaml
index 19bd80fe0c..dcb463c4e2 100644
--- a/modules/openstack_project/files/zuul/layout.yaml
+++ b/modules/openstack_project/files/zuul/layout.yaml
@@ -4593,6 +4593,14 @@ projects:
       - gate-solum-infra-guestagent-python33
       - gate-solum-infra-guestagent-pypy
 
+  - name: stackforge/radar
+    template:
+      - name: merge-check
+    check:
+      - noop
+    gate:
+      - noop
+
   - name: stackforge/rally
     template:
       - name: python-jobs