diff --git a/modules/gerritbot/files/gerritbot_channel_config.yaml b/modules/gerritbot/files/gerritbot_channel_config.yaml index 35ddd4c3f1..f36fb7c053 100644 --- a/modules/gerritbot/files/gerritbot_channel_config.yaml +++ b/modules/gerritbot/files/gerritbot_channel_config.yaml @@ -4,6 +4,7 @@ openstack-infra: - change-merged - x-vrif-minus-2 projects: + - openstack-dev/cookiecutter - openstack-dev/hacking - openstack-dev/pbr - openstack-infra/askbot-theme diff --git a/modules/openstack_project/files/gerrit/acls/openstack-dev/cookiecutter.config b/modules/openstack_project/files/gerrit/acls/openstack-dev/cookiecutter.config new file mode 100644 index 0000000000..dfc83b1c66 --- /dev/null +++ b/modules/openstack_project/files/gerrit/acls/openstack-dev/cookiecutter.config @@ -0,0 +1,12 @@ +[access "refs/heads/*"] + label-Approved = +0..+1 group cookiecutter-core + label-Code-Review = -2..+2 group cookiecutter-core +[access "refs/tags/*"] + create = group cookiecutter-core + pushTag = group cookiecutter-core +[project] + state = active +[receive] + requireChangeId = true +[submit] + mergeContent = true diff --git a/modules/openstack_project/files/zuul/layout.yaml b/modules/openstack_project/files/zuul/layout.yaml index b49e909277..c15f4a5540 100644 --- a/modules/openstack_project/files/zuul/layout.yaml +++ b/modules/openstack_project/files/zuul/layout.yaml @@ -1289,6 +1289,12 @@ projects: experimental: - gate-grenade-devstack-vm-stable + - name: openstack-dev/cookiecutter + check: + - gate-noop + gate: + - gate-noop + - name: openstack-dev/hacking check: - gate-hacking-pep8 diff --git a/modules/openstack_project/templates/review.projects.yaml.erb b/modules/openstack_project/templates/review.projects.yaml.erb index 502cb8e6ba..3ee8248bcc 100644 --- a/modules/openstack_project/templates/review.projects.yaml.erb +++ b/modules/openstack_project/templates/review.projects.yaml.erb @@ -366,6 +366,9 @@ - project: openstack-dev/heat-cfnclient description: CloudFormation compatibile Heat client upstream: git://github.com/steveb/heat-cfnclient.git +- project: openstack-dev/cookiecutter + description: Cookiecutter Template for new OpenStack projects + upstream: git://github.com/emonty/cookiecutter-openstack.git - project: stackforge/pycadf description: CADF Python module - project: stackforge/tuskar