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: Id6d47779821d101bc504fd9e23e7a7ec29da3f7b
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:57:29 +00:00
parent 1147265a64
commit ef4b673a84

View File

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