summaryrefslogtreecommitdiffstats
path: root/tox.ini
AgeCommit message (Collapse)AuthorFilesLines
2019-10-09Use python3 as baseAric Gardner1-0/+3
Signed-off-by: Aric Gardner <agardner@linuxfoundation.org> Change-Id: I527835a3c70e4fb149b3476e6144f5b3e41d75df
2018-10-16Update Jenkins Job Builder to 2.5.0Aric Gardner1-1/+1
We need the fix: 'Allow running only on one of nodes with label parameter' https://review.openstack.org/#/c/590356/ This fix is present in 2.5.0 Change-Id: Iff9e9e6357573db382d94b688b7cfe7d42d4023c Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
2018-10-12Update jenkins-job-builder to 2.2.1Aric Gardner1-1/+1
jjb/lf-ci-jobs.yaml has jjb-version: 2.2.1 as a minimum change block-level to blocking-level: https://review.openstack.org/#/c/608092/ We will need to change this back once we move past jenkins-job-builder>2.5.0 Change-Id: I12d0f55ee3c2dad20340ebf0fa8428ee1ad8484c Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
2018-06-13Update tox jjb command to use jjb 2.0.3Trevor Bramwell1-2/+2
2.0.3 is the current JJB version being used by OPNFV. This removes 'jjb/global' from the positional arguments as overriding with '-- jjb' will throw errors files are included twice. Change-Id: If9014fd8a5b92ade89d97994ea1b58f0b227c65a Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2018-04-20Enable Local Docs builds by using LF Docs ConfTrevor Bramwell1-1/+12
The docs-conf[1] project will allow releng to have local docs builds using the OPNFV theme while also not needing to duplicate the opnfvdocs conf.py file. [1] https://github.com/lfit/releng-docs-conf Change-Id: I255faf045eccb363993af9dfb81b487e538cbb41 Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2018-04-05Update Tox JJB CommandTrevor Bramwell1-1/+1
This allows using the command to only test one project's changes. For example: tox -e jjb -- jjb/releng Will only test jobs under 'jjb/releng'. If jobs have dependencies, of multiple project jobs need to be tested, they can be included using the jjb ':' syntax, as anything after '--' is passed directly to jjb: tox -e jjb -- jjb/doctor:jjb/functest Change-Id: I4b71803a1d6ed4f62d50cdca87183a68b20fae5a Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2017-08-07Remove Python packaging filesTrevor Bramwell1-17/+3
Since we don't release releng as a python project, it doesn't make much sense to include a setup.py. The jjb testenv in tox.ini is modified to pin jenkins-job-builder and no longer require setup.py nor jjb/test-requirements.txt, and the modules testenv is moved to it's own tox.ini under modules. Locally testing of jjb can still be done using: tox -e jjb Change-Id: I512b1a8f9cd7d48a2f14b1bbe966b525793a6fe3 Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2017-04-01Add tox supportJulien1-0/+34
be easier to test jjb locally before submit for review. add unitest in modules dir to tox(tox -emodules) Change-Id: Ief4f10debc567d1d3ba111685c86b812a2058697 Signed-off-by: Julien <zhang.jun3g@zte.com.cn>