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: Id56bf8691ab95d4d53d60b887f7e9e6b9654eb95
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 18:01:01 +00:00
parent e3e7c1f00b
commit 8ac539f4cb

View File

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