From b153bfc8662995560a5088df275f70555d284991 Mon Sep 17 00:00:00 2001 From: Paul Belanger Date: Fri, 20 Nov 2015 20:06:54 -0500 Subject: [PATCH] Add ansible-role-zuul project In this patch, we are just adding ansible-role-zuul into the OpenStack gerrit workflow. After talking with both openstack-infra and third party CI teams it was decided to deal with which team this would be part of at a later date. Additionally, we have not created a launchpad project for this module or pypi (since we won't release there). Gerritbot was also not configured at this time, since we don't know which team we are going to be part of. Change-Id: I6424d66fb644c938e53091da11714e3f782f9a7c Signed-off-by: Paul Belanger --- gerrit/acls/openstack/ansible-role-zuul.config | 14 ++++++++++++++ gerrit/projects.yaml | 3 +++ jenkins/jobs/projects.yaml | 8 ++++++++ zuul/layout.yaml | 8 ++++++++ 4 files changed, 33 insertions(+) create mode 100644 gerrit/acls/openstack/ansible-role-zuul.config diff --git a/gerrit/acls/openstack/ansible-role-zuul.config b/gerrit/acls/openstack/ansible-role-zuul.config new file mode 100644 index 0000000000..c4540195e8 --- /dev/null +++ b/gerrit/acls/openstack/ansible-role-zuul.config @@ -0,0 +1,14 @@ +[access "refs/heads/*"] +abandon = group ansible-role-zuul-core +label-Code-Review = -2..+2 group ansible-role-zuul-core +label-Workflow = -1..+1 group ansible-role-zuul-core + +[access "refs/tags/*"] +pushSignedTag = group ansible-role-zuul-release + +[receive] +requireChangeId = true +requireContributorAgreement = true + +[submit] +mergeContent = true diff --git a/gerrit/projects.yaml b/gerrit/projects.yaml index ec348b5619..077a899d1c 100755 --- a/gerrit/projects.yaml +++ b/gerrit/projects.yaml @@ -756,6 +756,9 @@ PKI operations - project: openstack/ansible-role-nodepool description: Ansible role to manage Nodepool +- project: openstack/ansible-role-zuul + description: Ansible role to manage Zuul + upstream: https://github.com/pabelanger/ansible-role-zuul.git - project: openstack/anvil description: A set of python scripts and utilities to forge raw OpenStack into a productive tool! diff --git a/jenkins/jobs/projects.yaml b/jenkins/jobs/projects.yaml index fbb25a68b7..483e8bc8f4 100644 --- a/jenkins/jobs/projects.yaml +++ b/jenkins/jobs/projects.yaml @@ -40,6 +40,14 @@ jobs: - ansible-role-jobs +- project: + name: ansible-role-zuul + node: 'bare-precise || bare-trusty' + tarball-site: tarballs.openstack.org + + jobs: + - ansible-role-jobs + - project: name: anvil node: 'bare-precise || bare-trusty' diff --git a/zuul/layout.yaml b/zuul/layout.yaml index a573559e17..8b95575a76 100644 --- a/zuul/layout.yaml +++ b/zuul/layout.yaml @@ -3595,6 +3595,14 @@ projects: - gate-ansible-role-nodepool-dsvm-functional-centos7-nv - gate-ansible-role-nodepool-dsvm-functional-trusty-nv + - name: openstack/ansible-role-zuul + template: + - name: merge-check + - name: ansible-role-jobs + check: + - gate-ansible-role-zuul-dsvm-functional-centos7-nv + - gate-ansible-role-zuul-dsvm-functional-trusty-nv + - name: openstack/anvil template: - name: merge-check