From db3dd9156ef6e5d6a38530e36d7ca96448897ba7 Mon Sep 17 00:00:00 2001 From: Clark Boylan <clark.boylan@gmail.com> Date: Tue, 25 Nov 2014 15:53:12 -0800 Subject: [PATCH] Add a ci-sandbox project. With the move to not using a special group for non voting CI accounts we need a new sandbox project that allows all registered users to vote +/-1 in the Verified column. The reason we did not modify the existing sandbox project is we do not want to give new users that do not intend on performing CI the ability to +/-1 Verified as they will never have to do that with normal projects. This second sandbox project ensures other users get a consistent experience. Change-Id: Id70b4c5a8910d6d35742ed5cee9a9520ed2e2310 --- gerrit/acls/openstack-dev/ci-sandbox.config | 21 +++++++++++++++++++++ gerrit/projects.yaml | 2 ++ zuul/layout.yaml | 5 +++++ 3 files changed, 28 insertions(+) create mode 100644 gerrit/acls/openstack-dev/ci-sandbox.config diff --git a/gerrit/acls/openstack-dev/ci-sandbox.config b/gerrit/acls/openstack-dev/ci-sandbox.config new file mode 100644 index 0000000000..42e5291575 --- /dev/null +++ b/gerrit/acls/openstack-dev/ci-sandbox.config @@ -0,0 +1,21 @@ +[access "refs/heads/*"] +abandon = group Registered Users +label-Code-Review = -2..+2 group Registered Users +label-Verified = -1..+1 group Registered Users +label-Workflow = -1..+1 group Registered Users + +[access "refs/heads/proposed/*"] +abandon = group Registered Users +label-Code-Review = -2..+2 group Registered Users +label-Verified = -1..+1 group Registered Users +label-Workflow = -1..+1 group Registered Users + +[access "refs/tags/*"] +pushSignedTag = group infra-core + +[receive] +requireChangeId = true +requireContributorAgreement = true + +[submit] +mergeContent = true diff --git a/gerrit/projects.yaml b/gerrit/projects.yaml index 67b5373998..6d39e02413 100644 --- a/gerrit/projects.yaml +++ b/gerrit/projects.yaml @@ -6,6 +6,8 @@ - project: openstack-attic/python-melangeclient - project: openstack-dev/bashate description: A pep8 equivalent for bash scripts +- project: openstack-dev/ci-sandbox + use-storyboard: true - project: openstack-dev/cookiecutter description: Cookiecutter Template for new OpenStack projects upstream: git://github.com/emonty/cookiecutter-openstack.git diff --git a/zuul/layout.yaml b/zuul/layout.yaml index 75c6759fff..2938caa660 100644 --- a/zuul/layout.yaml +++ b/zuul/layout.yaml @@ -2970,6 +2970,11 @@ projects: - name: publish-to-pypi - name: python-jobs + - name: openstack-dev/ci-sandbox + template: + - name: merge-check + - name: noop-jobs + - name: openstack-dev/cookiecutter template: - name: merge-check