tripleo-image-elements/elements/pypi-openstack
Gregory Haynes 4c826de97e Use /simple instead of /openstack for pypi mirror
Were getting CI fails because /openstack is deprecated. Switching to
/simple which should fix this.

Change-Id: I5f6f1e0be7a66dbc31c5a2f09bd9cbb222ad9bc9
2014-07-10 22:55:09 -07:00
..
post-install.d Add an OpenStack PyPI mirror element. 2013-09-09 00:51:55 +12:00
pre-install.d Use /simple instead of /openstack for pypi mirror 2014-07-10 22:55:09 -07:00
README.md Document shortcomings of pypi-openstack element 2014-02-03 10:22:56 -08:00

Configure the OpenStack PyPI mirror globally

Temporarily overwrites /root/.pip.conf and .pydistutils.cfg to use http://pypi.openstack.org.

By policy all tests in the OpenStack CI/CD environment need to use just the OpenStack PyPI mirror and thus should include this element.

Note that when building images with this element, pip uses HTTP, and the OpenStack mirror does not provide a way to verify the contents of the downloaded packages, and thus is vulnerable to a man-in-the-middle attack.

In order to have a secure local mirror which is built in the same way pypi-openstack is, see the diskimage-builder element 'pypi'. If you would like to build an image which hosts such a mirror, see the pypi-mirror element.