diff --git a/modules/openstack_project/files/gerrit/acls/openstack-dev/hacking.config b/modules/openstack_project/files/gerrit/acls/openstack-dev/hacking.config new file mode 100644 index 0000000000..104d310bd3 --- /dev/null +++ b/modules/openstack_project/files/gerrit/acls/openstack-dev/hacking.config @@ -0,0 +1,13 @@ +[access "refs/heads/*"] + label-Approved = +0..+1 group openstack-ci-core + label-Code-Review = -2..+2 group openstack-ci-core +[access "refs/tags/*"] + create = group openstack-ci-core + pushTag = group openstack-ci-core +[project] + state = active +[receive] + requireChangeId = true +[submit] + mergeContent = true + action = cherry pick diff --git a/modules/openstack_project/files/gerrit/acls/openstack-dev/pbr.config b/modules/openstack_project/files/gerrit/acls/openstack-dev/pbr.config new file mode 100644 index 0000000000..104d310bd3 --- /dev/null +++ b/modules/openstack_project/files/gerrit/acls/openstack-dev/pbr.config @@ -0,0 +1,13 @@ +[access "refs/heads/*"] + label-Approved = +0..+1 group openstack-ci-core + label-Code-Review = -2..+2 group openstack-ci-core +[access "refs/tags/*"] + create = group openstack-ci-core + pushTag = group openstack-ci-core +[project] + state = active +[receive] + requireChangeId = true +[submit] + mergeContent = true + action = cherry pick diff --git a/modules/openstack_project/files/jenkins_job_builder/config/projects.yaml b/modules/openstack_project/files/jenkins_job_builder/config/projects.yaml index e8583782f5..36e35c8a00 100644 --- a/modules/openstack_project/files/jenkins_job_builder/config/projects.yaml +++ b/modules/openstack_project/files/jenkins_job_builder/config/projects.yaml @@ -63,6 +63,32 @@ - openstack-compute-api-doc +- project: + name: hacking + github-org: openstack-dev + node: quantal + doc-publisher-site: ci.openstack.org + tarball-site: tarballs.openstack.org + + jobs: + - python-jobs + - '{name}-tarball' + - pypi-jobs + + +- project: + name: pbr + github-org: openstack-dev + node: quantal + doc-publisher-site: ci.openstack.org + tarball-site: tarballs.openstack.org + + jobs: + - python-jobs + - '{name}-tarball' + - pypi-jobs + + - project: name: gerritbot github-org: openstack-infra diff --git a/modules/openstack_project/files/zuul/layout.yaml b/modules/openstack_project/files/zuul/layout.yaml index 0391fb835c..4fc02cb1eb 100644 --- a/modules/openstack_project/files/zuul/layout.yaml +++ b/modules/openstack_project/files/zuul/layout.yaml @@ -796,6 +796,52 @@ projects: gate: - gate-noop + - name: openstack-dev/hacking + check: + - gate-hacking-pep8: + - gate-hacking-docs + - gate-hacking-python26 + - gate-hacking-python27 + gate: + - gate-hacking-docs + - gate-hacking-pep8 + - gate-hacking-python26 + - gate-hacking-python27 + post: + - hacking-branch-tarball + - hacking-coverage + - hacking-docs + pre-release: + - hacking-docs + - hacking-tarball + release: + - hacking-docs + - hacking-tarball: + - hacking-pypi-upload + + - name: openstack-dev/pbr + check: + - gate-pbr-pep8: + - gate-pbr-docs + - gate-pbr-python26 + - gate-pbr-python27 + gate: + - gate-pbr-docs + - gate-pbr-pep8 + - gate-pbr-python26 + - gate-pbr-python27 + post: + - pbr-branch-tarball + - pbr-coverage + - pbr-docs + pre-release: + - pbr-docs + - pbr-tarball + release: + - pbr-docs + - pbr-tarball: + - pbr-pypi-upload + - name: openstack-dev/devstack check: - gate-tempest-devstack-vm-smoke diff --git a/modules/openstack_project/templates/review.projects.yaml.erb b/modules/openstack_project/templates/review.projects.yaml.erb index 24becafbb2..cb3c0dd5be 100644 --- a/modules/openstack_project/templates/review.projects.yaml.erb +++ b/modules/openstack_project/templates/review.projects.yaml.erb @@ -42,6 +42,12 @@ - project: openstack-dev/grenade upstream: git://github.com/nebula/grenade description: OpenStack upgrade testing tool +- project: openstack-dev/hacking + upstream: git://github.com/emonty/hacking + description: OpenStack Hacking Style Checks +- project: openstack-dev/pbr + upstream: git://github.com/emonty/oslo.packaging + description: Python Build Reasonableness - project: openstack-dev/openstack-nose - project: openstack-dev/openstack-qa - project: openstack-dev/sandbox