Commit Graph

11 Commits

Author SHA1 Message Date
Ian Wienand 8cdf719bb3 linter: update some YAML whitespace issues
These were found by a later version of ansible-lint.  This should have
no effect, but just fixes some inconsistent whitespace issues.

Change-Id: I7bcde4942c97cfe743e8aba74833aeb5844c8290
2022-07-28 12:02:45 +10:00
Jeremy Stanley a4c873b51a Clean up pti-python-tarball python-branch-tarball
OpenStack's Python release jobs don't run tox, and don't install the
projects being packaged, not even in the branch tarball variants
these days. Remove the bindep, ensure-tox and collect-tox-logs roles
from pti-python-tarball and python-branch-tarball playbooks so that
the jobs using them can be more portable between distro versions
with less work. This should also make the jobs considerably faster.

Change-Id: Icc30a79f770ed78674354f6226d28907bab7eb1d
2020-11-13 18:11:44 +00:00
Jeremy Stanley 3f72ab620c Add ensure-tox to pti-python-tarball
The publish-openstack-python-branch-tarball job run by many projects
uses tox (in python-branch-tarball/post.yaml), so needs it installed.

Change-Id: Iba219ad14523ce900d9562ef56c78cc6c15aa01d
2020-06-18 21:43:32 +00:00
Sean McGinnis 9c91006304 Ensure pip is installed for propose-update-constraints
Pip is used by this task, make sure ensure-pip is used so it is
present.

While here, install git-review to a venv and symlink it globally to
keep things separate.

Change-Id: If6b1abd2545c68f727bddc5317797236f451b67c
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
Signed-off-by: Ian Wienand <iwienand@redhat.com>
2020-06-17 16:02:46 +10:00
Andreas Jaeger 53f1b26469 Remove check-python-release role
The check-python-release role is still running 'setup.py check' against
the repo. That command is obsolete, and should be replaced with twine.
The pti-python-tarball/check.yaml playbook already runs twine, so we can
just remove the role with the obsolete command to have it tested with
twine.

Change-Id: I99469da7b0f06656524d97d788b7440e1ed8ad4f
2018-11-08 21:37:11 +01:00
Andreas Jaeger 40ecd7d3dd Remove fetch-tox-output from release-openstack-python
We do not use tox -e venv anymore for release-openstack-python, remove
it to avoid an failure like:
http://logs.openstack.org/33/33d839da8acb93a36a45186d158262f269e9bbd6/release/release-openstack-python/3a9339d/job-output.txt.gz#_2018-10-19_14_13_36_512020

Change-Id: Ib2fd39b0f9b6799e8b5a39044e70b2540b2b5541
2018-10-19 16:25:42 +02:00
Doug Hellmann b06c1c979f ensure the twine check command runs in the correct directory
chdir to the same directory used by the step that builds the dist
files in the first place

Change-Id: Idc905fd5bd921a2d0b5c384505b6bf5880973aba
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-09-28 14:14:29 -04:00
Chandan Kumar 38e40c5de7 Added twine check functionality to python-tarball playbook
* twine has introduced a new feature to check the README.rst so that
  the content should render fine on pypi

Change-Id: I05bceff2feafc24e93e295312cdff4bcabf00501
2018-09-27 01:26:34 +05:30
Doug Hellmann 1430cfedd7 sign artifacts built with the python3 publishing job
Change-Id: Ibf74d899a07a718e3cb9c5279eedeb20a3229459
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-08-27 17:17:32 -04:00
Doug Hellmann 60d1cd0808 add a job to check the metadata for python packages
Change-Id: I4900089d36b114c5a70d8598a9be90a2ab6a73af
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-06-12 16:57:18 -04:00
Doug Hellmann dbcfcaaaa6 fix release-openstack-python3 so it does what we mean
Import the python-tarball playbook from openstack-zuul-jobs and call
it pti-python-tarball to reflect the fact that it honors the OpenStack
Python Testing Interface.

Redefine release-openstack-python3 to use the new pti-python-tarball
playbook instead of inheriting from release-openstack-python, because
the old job uses the old python-tarball playbook which does not honor
the release_python variable.

Change-Id: Ic6c1da3e05d3fc59700ed97e1e5aafa3196d9fb6
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-06-12 14:20:55 -04:00