X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=tox.ini;h=d9ebf87f76eb7f5b588c3ffc9b1301ccb94e6889;hb=8901fe0bee2fecb6b32accffd9f952d46da59a38;hp=03b8bc5ba9d0e40d100749d67b2373f0887caca2;hpb=c7e6d4b7e48ee8ac60fd550069a6cb85c40383fd;p=releng%2Fglobal-jjb.git diff --git a/tox.ini b/tox.ini index 03b8bc5b..d9ebf87f 100644 --- a/tox.ini +++ b/tox.ini @@ -4,17 +4,21 @@ envlist = ensure-documented, jjb, jjb-compare-xml, -# jjb-latest, + jjb-latest, jjb-version, license, bashate, -# pre-commit + pre-commit skipsdist = True [testenv:docs] basepython = python3 deps = -rrequirements.txt +allowlist_externals = + git commands = + # Full repository depth required for docs job to run (release notes) + git fetch --unshallow sphinx-build -W -b html -n -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/html [testenv:ensure-documented] @@ -26,14 +30,16 @@ commands = [testenv:jjb] basepython = python3 deps = - jenkins-job-builder==4.1.0 + jenkins-job-builder==6.0.0 + # RELENG-5179 (undeclared dependency by stevedore) + setuptools commands = jenkins-jobs -l DEBUG test --recursive -o {toxinidir}/archives/job-configs {toxinidir}/jjb:{toxinidir}/.jjb-test [testenv:jjb-compare-xml] basepython = python3 deps = - jenkins-job-builder + jenkins-job-builder==6.0.0 allowlist_externals = ./jjb-compare-xml.sh commands = @@ -103,7 +109,7 @@ commands = [testenv:jenkins-jobs] deps = - jenkins-job-builder{env:JJB_VERSION_OP:~=}{env:JJB_VERSION:4.1.0} + jenkins-job-builder{env:JJB_VERSION_OP:~=}{env:JJB_VERSION:6.0.0} commands = jenkins-jobs {posargs:--help}