From 063c33cdab44b87923c65f157e546bd83c77c0fa Mon Sep 17 00:00:00 2001 From: Marton Kiss Date: Wed, 14 Aug 2013 00:05:10 +0200 Subject: [PATCH] Add groups to gerrit Add groups community portal to master project list, setup ACL and minimal gating. Change-Id: Ia513509083d05b97e6e2db088e3d9c4d24e22776 --- .../files/gerrit/acls/openstack-infra/groups.config | 13 +++++++++++++ modules/openstack_project/files/zuul/layout.yaml | 6 ++++++ .../templates/review.projects.yaml.erb | 3 +++ 3 files changed, 22 insertions(+) create mode 100644 modules/openstack_project/files/gerrit/acls/openstack-infra/groups.config diff --git a/modules/openstack_project/files/gerrit/acls/openstack-infra/groups.config b/modules/openstack_project/files/gerrit/acls/openstack-infra/groups.config new file mode 100644 index 0000000000..d7ad4b0295 --- /dev/null +++ b/modules/openstack_project/files/gerrit/acls/openstack-infra/groups.config @@ -0,0 +1,13 @@ +[access "refs/*"] + create = group groups-core + pushTag = group groups-core +[access "refs/heads/*"] + label-Approved = +0..+1 group groups-core + label-Code-Review = -2..+2 group groups-core +[project] + state = active +[receive] + requireChangeId = true + requireContributorAgreement = true +[submit] + mergeContent = true diff --git a/modules/openstack_project/files/zuul/layout.yaml b/modules/openstack_project/files/zuul/layout.yaml index 4c7ab3c5e3..e5c5bfd48a 100644 --- a/modules/openstack_project/files/zuul/layout.yaml +++ b/modules/openstack_project/files/zuul/layout.yaml @@ -2780,3 +2780,9 @@ projects: - post-mirror-python26 - post-mirror-python27 - post-mirror-python33 + + - name: openstack-infra/groups + check: + - gate-noop + gate: + - gate-noop diff --git a/modules/openstack_project/templates/review.projects.yaml.erb b/modules/openstack_project/templates/review.projects.yaml.erb index 8292c83bcc..9f831b71b2 100644 --- a/modules/openstack_project/templates/review.projects.yaml.erb +++ b/modules/openstack_project/templates/review.projects.yaml.erb @@ -374,3 +374,6 @@ - project: stackforge/pecan description: "A WSGI object-dispatching web framework, designed to be lean and fast with few dependencies." upstream: git://github.com/dreamhost/pecan.git +- project: openstack-infra/groups + description: "Openstack Groups community portal" + upstream: git://github.com/mkissam/groups.git