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: Ie039c33e38320a9954b4ff8c72f14a89ffb9ba22
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:49 +00:00
parent 07e2695303
commit e7e2f2e794

View File

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