Document pyenv usage in the tox job 84/8384/3
authorThanh Ha <thanh.ha@linuxfoundation.org>
Fri, 12 Jan 2018 19:10:06 +0000 (14:10 -0500)
committerThanh Ha <thanh.ha@linuxfoundation.org>
Mon, 12 Mar 2018 01:01:23 +0000 (21:01 -0400)
Change-Id: Id07a1e4065b03489260dfe1d0b86cacf8d60238d
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
docs/jjb/lf-python-jobs.rst

index a047724..2a8e66b 100644 (file)
@@ -44,7 +44,15 @@ Job Templates
 Tox Verify
 ----------
 
-Tox runner to verify a project
+Tox runner to verify a project. This job is pyenv aware so if the image
+contains an installation of pyenv at /opt/pyenv it will pick it up and run
+Python tests with the appropriate Python versions. This job will set the
+following pyenv variables before running.
+
+.. code:: bash
+
+   export PYENV_ROOT="/opt/pyenv"
+   export PATH="$PYENV_ROOT/bin:$PATH"
 
 :Template Names: