From e6396cca487b39e83bba5b2e1f4b042967e9abd3 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Mon, 1 Jun 2020 12:20:42 +0200 Subject: [PATCH] Document twine_executable Change Ia06218a830b5d44f04e0f10e0444be2cf9ad682e missed to document the variable, add it. Change-Id: Ibbe4c40f8a4ea26a16e0a25a788636621e062902 --- roles/ensure-twine/README.rst | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/roles/ensure-twine/README.rst b/roles/ensure-twine/README.rst index 64e4f5172..604d61a54 100644 --- a/roles/ensure-twine/README.rst +++ b/roles/ensure-twine/README.rst @@ -7,3 +7,17 @@ Ensure twine is installed. The python interpreter to use to install twine if it is not already installed. Set it to "python3" to use python 3, for example. + +**Output Variables** + +.. zuul:rolevar:: twine_excutable + :default: twine + + After running this role, ``twine_executable`` will be set as the path + to a valid ``twine``. + + At role runtime, look for an existing ``twine`` at this specific + path. Note the default (``twine``) effectively means to find tox in + the current ``$PATH``. For example, if your base image + pre-installs twine in an out-of-path environment, set this so the + role does not attempt to install the user version.