zuul-jobs/roles/upload-afs
Ian Wienand eee316ce7b Enable Python 2.7 unit tests
Add a testenv:py27 environment that overrides basepython to 2.7

Unfortunately implicit namespace packages are a Python3 thing [1] so
we have to scatter a few __init__.py's around for the test loader
under python2 to be able to find the unit test directories.

Update documenation to mention this

Needed-By: https://review.openstack.org/592768

[1] https://www.python.org/dev/peps/pep-0420/

Change-Id: I9a653666e8a083fb7f3fbb92589fe0467a41e6e6
2018-08-17 10:23:20 +10:00
..
defaults Create upload-afs role 2017-08-29 15:43:22 -04:00
library Add a python unit test framework 2018-07-25 09:11:25 -07:00
tasks Create upload-afs role 2017-08-29 15:43:22 -04:00
README.rst Create upload-afs role 2017-08-29 15:43:22 -04:00
__init__.py Enable Python 2.7 unit tests 2018-08-17 10:23:20 +10:00

README.rst

Copy contents from {{ zuul.executor.work_root }}/artifacts/ to AFS

Role Variables

Path to local source directory.

Target path in AFS (should begin with '/afs/...').