Skip to content
This repository has been archived by the owner on Jun 26, 2020. It is now read-only.

Commit

Permalink
Create virtualenv without downloading
Browse files Browse the repository at this point in the history
When creating the virtualenv, we would rather just
use the pip/setuptools packages already available on
the host, then upgrade them later. This helps keeps
the builds isolated to the versions we want, and
reduces outgoing requests which is important for
isolated builds.

Change-Id: Iba22f5a11af858b52f006494b30002d34e5aa4f6
  • Loading branch information
Jesse Pretorius committed Oct 23, 2018
1 parent e69a10b commit 9d56adf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions defaults/main.yml
Expand Up @@ -104,6 +104,7 @@ repo_build_venv_pip_install_options: >-
repo_build_venv_command_options: >-
{{ virtualenv_bin }}
{{ (ansible_pkg_mgr == 'apt') | ternary('--always-copy', '') }}
--no-download
# Path to the repo build venv binaries
repo_build_bin: "/openstack/venvs/repo-build-{{ repo_build_release_tag }}/bin"
Expand Down

0 comments on commit 9d56adf

Please sign in to comment.