From 0f2d3f47a9ec18c43e223d3941a3f1f11665354c Mon Sep 17 00:00:00 2001 From: Jeremy Stanley Date: Tue, 24 Oct 2017 22:56:32 +0000 Subject: [PATCH] Add a Python release job for API services OpenStack API services traditionally haven't published releases on PyPI, but still want to follow all the other basic steps of the release process aside from that (including tarball signing, release announcements and so on). Add a specific job for this so we can create a new project-template in a subsequent change to apply to those projects. Change-Id: I59b7b0af47a39ed8af599a162d8f80d7c2e5b187 --- zuul.d/jobs.yaml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/zuul.d/jobs.yaml b/zuul.d/jobs.yaml index f42131db37..32168cf0b9 100644 --- a/zuul.d/jobs.yaml +++ b/zuul.d/jobs.yaml @@ -118,6 +118,27 @@ - secret: site_tarballs name: fileserver +- job: + name: release-openstack-python-without-pypi + parent: publish-openstack-artifacts + description: | + Sign and release python tarballs to tarballs.openstack.org, but + do not upload to PyPI. + pre-run: playbooks/python-tarball/pre + run: playbooks/python-tarball/run + post-run: + - playbooks/python-tarball/post + required-projects: + - name: openstack/requirements + secrets: + - gpg_key + vars: + # NOTE(dhellmann): Library projects using a custom installation + # script need to be told where the constraints file is. We can + # remove this when tox is no longer part of the CTI for building + # sdists. + tox_constraints_file: "{{ ansible_user_dir }}/src/git.openstack.org/openstack/requirements/upper-constraints.txt" + - job: name: release-openstack-python parent: publish-openstack-artifacts