tox.ini: Expose USER environment variable to execution environment

In order to allow the use of the environment variable which informs
Ansible which user executed the playbook, we pass the USER env var
into the environment that tox builds.

Change-Id: Ia4e760454d216b8d2f54fc6fc11d7455f148427c
Implements: blueprint python-build-install-simplification
Signed-off-by: Jesse Pretorius <jesse.pretorius@rackspace.co.uk>
This commit is contained in:
Jesse Pretorius 2018-03-15 17:55:14 +00:00
parent 27965b5f02
commit cf86f3e55a
1 changed files with 1 additions and 0 deletions

View File

@ -14,6 +14,7 @@ commands =
/usr/bin/find . -type f -name "*.pyc" -delete
passenv =
HOME
USER
http_proxy
HTTP_PROXY
https_proxy