Merge "Replace virtualenv-tools by a script"

This commit is contained in:
Zuul 2018-01-16 12:58:50 +00:00 committed by Gerrit Code Review
commit 18779ed05f
2 changed files with 5 additions and 3 deletions

View File

@ -109,7 +109,6 @@ tacker_service_in_ldap: false
# packages that must be installed before anything else
tacker_requires_pip_packages:
- virtualenv
- virtualenv-tools
- python-keystoneclient # Keystoneclient needed to OSA keystone lib
## Common pip packages

View File

@ -133,8 +133,11 @@
- skip_ansible_lint
- name: Update virtualenv path
command: >
virtualenv-tools --update-path=auto {{ tacker_bin | dirname }}
shell: |
find {{ tacker_bin }} -name \*.pyc -delete
sed -si '1s/^.*python.*$/#!{{ tacker_bin | replace ('/','\/') }}\/python/' {{ tacker_bin }}/*
tags:
- skip_ansible_lint
when:
- not tacker_developer_mode | bool
- tacker_get_venv | success