Set the pypiserver root to the correct directory

The folder from which pypiserver will serve the wheels that are
pre-built in the repo-build process was incorrectly set, resulting
in pypiserver never, ever serving the wheels but instead always
forwarding on to the nginx reverse proxy to fetch things from
pypi.

Now that the root folder is correctly set, two things will happen:

* Wheels will be served from pypi, negating the need to use the
  pip_links, so [1] should pass once this merges.
* Once the repo build is complete, the packages available to
  install will be restricted properly to only the packages
  built by the repo build process.

[1] https://review.openstack.org/549012

Change-Id: I16706d399f6b026a6d0004fd07e5f18605a7b5db
This commit is contained in:
Jesse Pretorius 2018-04-19 11:41:17 +01:00
parent 33f9b867d8
commit 3e247f6f57
1 changed files with 1 additions and 1 deletions

View File

@ -79,7 +79,7 @@ repo_pypiserver_pip_packages:
# Set the path to place all built python wheels
# This is used by pypiserver to serve them
repo_pypiserver_package_path: "{{ repo_service_home_folder }}/pools"
repo_pypiserver_package_path: "{{ repo_service_home_folder }}/repo/pools"
# Path to the pypiserver python virtualenv binaries
repo_pypiserver_bin: "/openstack/venvs/pypiserver-1.2.0/bin"