From a0550a3e1ae718c6bc3b0fa448f49910ac1dc6c4 Mon Sep 17 00:00:00 2001 From: Sergey Lukjanov Date: Fri, 29 Nov 2013 14:56:50 +0400 Subject: [PATCH] Move ttx/os-releasing to os-infra/release-tools Change-Id: I22b58d241c91765ca29ed42f350e11f6d55b1e1d --- .../gerritbot/files/gerritbot_channel_config.yaml | 1 + .../gerrit/acls/openstack-infra/release-tools.config | 12 ++++++++++++ .../files/jenkins_job_builder/config/projects.yaml | 9 +++++++++ modules/openstack_project/files/zuul/layout.yaml | 12 ++++++++++++ .../templates/review.projects.yaml.erb | 3 +++ 5 files changed, 37 insertions(+) create mode 100644 modules/openstack_project/files/gerrit/acls/openstack-infra/release-tools.config diff --git a/modules/gerritbot/files/gerritbot_channel_config.yaml b/modules/gerritbot/files/gerritbot_channel_config.yaml index d7aafcdcc4..fef0709911 100644 --- a/modules/gerritbot/files/gerritbot_channel_config.yaml +++ b/modules/gerritbot/files/gerritbot_channel_config.yaml @@ -32,6 +32,7 @@ openstack-infra: - openstack-infra/puppet-dashboard - openstack-infra/puppet-vcsrepo - openstack-infra/pypi-mirror + - openstack-infra/release-tools - openstack-infra/releasestatus - openstack-infra/reviewday - openstack-infra/reviewstats diff --git a/modules/openstack_project/files/gerrit/acls/openstack-infra/release-tools.config b/modules/openstack_project/files/gerrit/acls/openstack-infra/release-tools.config new file mode 100644 index 0000000000..0ab66b8bab --- /dev/null +++ b/modules/openstack_project/files/gerrit/acls/openstack-infra/release-tools.config @@ -0,0 +1,12 @@ +[access "refs/heads/*"] + label-Code-Review = -2..+2 group release-tools-core + label-Approved = +0..+1 group release-tools-core +[access "refs/tags/*"] + create = group release-tools-core + pushTag = group release-tools-core +[project] + state = active +[receive] + requireChangeId = true +[submit] + mergeContent = true 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 5fc0dfbac5..8a7476b131 100644 --- a/modules/openstack_project/files/jenkins_job_builder/config/projects.yaml +++ b/modules/openstack_project/files/jenkins_job_builder/config/projects.yaml @@ -1748,3 +1748,12 @@ jobs: - python-jobs + +- project: + name: release-tools + github-org: openstack-infra + node: precise + tarball-site: tarballs.openstack.org + + jobs: + - python-jobs diff --git a/modules/openstack_project/files/zuul/layout.yaml b/modules/openstack_project/files/zuul/layout.yaml index 957d33fbe5..6f544fc708 100644 --- a/modules/openstack_project/files/zuul/layout.yaml +++ b/modules/openstack_project/files/zuul/layout.yaml @@ -3755,3 +3755,15 @@ projects: - gate-python-solumclient-docs post: - python-solumclient-coverage + + - name: openstack-infra/release-tools + check: + - gate-release-tools-pep8 + - gate-release-tools-python26 + - gate-release-tools-python27 + - gate-release-tools-pypy + gate: + - gate-release-tools-pep8 + - gate-release-tools-python26 + - gate-release-tools-python27 + - gate-release-tools-pypy diff --git a/modules/openstack_project/templates/review.projects.yaml.erb b/modules/openstack_project/templates/review.projects.yaml.erb index 9fc699ce29..563fddae16 100644 --- a/modules/openstack_project/templates/review.projects.yaml.erb +++ b/modules/openstack_project/templates/review.projects.yaml.erb @@ -83,6 +83,9 @@ - project: openstack-infra/pypi-mirror upstream: git://github.com/openstack-infra/jeepyb.git description: PyPI mirror builder +- project: openstack-infra/release-tools + upstream: git://github.com/ttx/openstack-releasing.git + description: OpenStack Release Tools - project: openstack-infra/releasestatus upstream: git://github.com/ttx/releasestatus.git description: OpenStack Release Status page generator