2 Commits

Author SHA1 Message Date
Jeremy Stanley
b6c833b82a Determine wheel names for PyPI uploading
* .../files/slave_scripts/pypi-extract-name.py: Add --tarball and
--wheel switches to return the proper corresponding name versions,
since they differ in some cases in the presence of non-alphanumeric
characters. Make --tarball the default for backward-compatibility.
This adds a dependency on the wheel module.

* .../files/slave_scripts/pypi-extract-universal.py: Use the correct
py2 indicator for non-universal wheel types rather than the old py27
fallback.

* .../files/slave_scripts/pypi-tarball-upload.sh: Request the
tarball version of the package name prefix.

* .../files/slave_scripts/pypi-wheel-upload.sh: Request the wheel
version of the package name prefix, and also correct the
version/type separator character.

* .../manifests/pypi_slave.pp: Always install the latest versions of
the wheel and twine packages.

Change-Id: I2ae724f1f4d0a88b602e3581a0b06b999fb4833c
2014-06-06 14:48:32 +00:00
K Jonathan Harker
8e7f9e3458 Move openstack-specific config out of ::jenkins
The ::jenkins::slave class contained a lot of openstack-specific
configuration rather than configuration of a generic jenkins slave.

The term "bare slave" is overloaded and confusing: create simple_slave
and thick_slave to differentiate between the two meanings of "bare".
Some portions of ::jenkins::slave will move to simple_slave, some
portions to thick_slave, and some portions to slave_common (all in the
openstack_project module).

Change-Id: I5281a03a7f6da3f98714bcc59ae840ace8435578
2014-05-20 14:39:51 -07:00