zuul-jobs/roles/ensure-twine
Ian Wienand 8c6512107c
Standarise block/when ordering
Newer ansbile-lint finds "when" or "become" statements that are at the
end of blocks.  Ordering these before the block seems like a very
logical thing to do, as we read from top-to-bottom so it's good to see
if the block will execute or not.

This is a no-op, and just moves the places the newer linter found.

Change-Id: If4d1dc4343ea2575c64510e1829c3fe02d6c273f
2022-11-07 10:37:53 +11:00
..
defaults ensure-twine: make python3 default, ensure pip installed 2022-07-13 15:18:10 +10:00
tasks Standarise block/when ordering 2022-11-07 10:37:53 +11:00
README.rst test/upload-pypi : install venv 2022-07-27 10:54:30 +10:00

Ensure twine is installed.

This role is designed to run without permissions, so assumes a working Python 3 pip environment (i.e. it will not install system packages).

Role Variables

Output Variables