Browse Source

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
Jesse Pretorius 1 year ago
parent
commit
3e247f6f57
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      defaults/main.yml

+ 1
- 1
defaults/main.yml View File

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

Loading…
Cancel
Save