From 9fcde96e5ee019d8fc295d0e62ac94aba65708e5 Mon Sep 17 00:00:00 2001 From: Nikhil Manchanda Date: Thu, 21 Feb 2013 15:14:44 -0800 Subject: [PATCH] Enable upload to pypi for python-reddwarfclient Update the Openstack CI config for python-reddwarfclient so that we can: 1. Publish pre-release tarballs to tarballs.openstack.org 2. Publish and upload released builds to the pypi server. Fixes bug: 1131455 Change-Id: I1526065435eed809487b7677c0a154b37d3d805b Reviewed-on: https://review.openstack.org/22632 Reviewed-by: Clark Boylan Approved: Jeremy Stanley Reviewed-by: Jeremy Stanley Tested-by: Jenkins --- .../gerrit/acls/stackforge/python-reddwarfclient.config | 3 +++ .../files/jenkins_job_builder/config/projects.yaml | 1 + modules/openstack_project/files/zuul/layout.yaml | 5 +++++ 3 files changed, 9 insertions(+) diff --git a/modules/openstack_project/files/gerrit/acls/stackforge/python-reddwarfclient.config b/modules/openstack_project/files/gerrit/acls/stackforge/python-reddwarfclient.config index c8e5dc35dc..1b83db2aa5 100644 --- a/modules/openstack_project/files/gerrit/acls/stackforge/python-reddwarfclient.config +++ b/modules/openstack_project/files/gerrit/acls/stackforge/python-reddwarfclient.config @@ -7,6 +7,9 @@ [access "refs/heads/milestone-proposed"] label-Code-Review = -2..+2 group reddwarf-core label-Approved = +0..+1 group reddwarf-core +[access "refs/tags/*"] + create = group reddwarf-core + pushTag = group reddwarf-core [project] state = active [receive] 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 c34e65bc8f..14cb26913c 100644 --- a/modules/openstack_project/files/jenkins_job_builder/config/projects.yaml +++ b/modules/openstack_project/files/jenkins_job_builder/config/projects.yaml @@ -433,6 +433,7 @@ jobs: - python-jobs + - pypi-jobs - project: diff --git a/modules/openstack_project/files/zuul/layout.yaml b/modules/openstack_project/files/zuul/layout.yaml index dbc3c838b7..2ddb8f4513 100644 --- a/modules/openstack_project/files/zuul/layout.yaml +++ b/modules/openstack_project/files/zuul/layout.yaml @@ -943,6 +943,11 @@ projects: - gate-python-reddwarfclient-pep8 - gate-python-reddwarfclient-python26 - gate-python-reddwarfclient-python27 + pre-release: + - python-reddwarfclient-tarball + release: + - python-reddwarfclient-tarball: + - python-reddwarfclient-pypi-upload - name: stackforge/marconi check: