From 2e644cf4ef98bf3e110656c11ad6161cc32e3e9c Mon Sep 17 00:00:00 2001 From: Monty Taylor Date: Mon, 7 Oct 2013 22:33:03 -0400 Subject: [PATCH] Add read-only tracking superproject for OpenStack There are use cases for keeping track of the sequence of commits as collected by zuul is important. This repo is intended to be only updated by gerrit's subproject subscription feature. Change-Id: Ia6a5b45dc766731c947cbf7b03933031bc5c2217 --- .../gerrit/acls/openstack/openstack.config | 20 +++++++++++++++++++ .../openstack_project/files/zuul/layout.yaml | 6 ++++++ .../templates/review.projects.yaml.erb | 2 ++ 3 files changed, 28 insertions(+) create mode 100644 modules/openstack_project/files/gerrit/acls/openstack/openstack.config diff --git a/modules/openstack_project/files/gerrit/acls/openstack/openstack.config b/modules/openstack_project/files/gerrit/acls/openstack/openstack.config new file mode 100644 index 0000000000..c1286785e2 --- /dev/null +++ b/modules/openstack_project/files/gerrit/acls/openstack/openstack.config @@ -0,0 +1,20 @@ +[access "refs/for/refs/*"] + exclsiveGroupPermissions = Push + push = group Release Managers +[access "refs/heads/*"] + exclusiveGroupPermissions = label-Code-Review label-Approved + label-Code-Review = -2..+2 group Release Managers + label-Approved = +0..+1 group Release Managers + label-Code-Review = -1..+1 group Registered Users +[access "refs/heads/stable/*"] + exclusiveGroupPermissions = label-Code-Review label-Approved + label-Code-Review = -2..+2 group Release Managers + label-Approved = +0..+1 group Release Managers + label-Code-Review = -1..+1 group Registered Users +[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 455ca0884e..7124f55c9f 100644 --- a/modules/openstack_project/files/zuul/layout.yaml +++ b/modules/openstack_project/files/zuul/layout.yaml @@ -848,6 +848,12 @@ projects: - periodic-nova-python26-stable-grizzly - periodic-nova-python27-stable-grizzly + - name: openstack/openstack + check: + - gate-noop + gate: + - gate-noop + - name: openstack/oslo-incubator check: - gate-oslo-incubator-requirements diff --git a/modules/openstack_project/templates/review.projects.yaml.erb b/modules/openstack_project/templates/review.projects.yaml.erb index 0c9ced1f20..0501f676de 100644 --- a/modules/openstack_project/templates/review.projects.yaml.erb +++ b/modules/openstack_project/templates/review.projects.yaml.erb @@ -102,6 +102,8 @@ - project: openstack/object-api - project: openstack/openstack-chef - project: openstack-infra/config +- project: openstack/openstack + upstream: git://github.com/emonty/openstack - project: openstack/openstack-manuals - project: openstack/operations-guide upstream: git://github.com/jeblair/openstack-ops