diff --git a/.zuul.yaml b/.zuul.yaml index 37296e2..06369d6 100644 --- a/.zuul.yaml +++ b/.zuul.yaml @@ -50,6 +50,7 @@ parent: tox description: | Run pylint test for k8sapp_portieris + nodeset: ubuntu-bionic required-projects: - starlingx/config - starlingx/fault diff --git a/python-k8sapp-portieris/k8sapp_portieris/tox.ini b/python-k8sapp-portieris/k8sapp_portieris/tox.ini index 4a130c3..16c775f 100644 --- a/python-k8sapp-portieris/k8sapp_portieris/tox.ini +++ b/python-k8sapp-portieris/k8sapp_portieris/tox.ini @@ -39,6 +39,7 @@ setenv = VIRTUAL_ENV={envdir} TOX_WORK_DIR={toxworkdir} PYLINTHOME={toxworkdir} +# the path to cgcs-patch needs to be updated to sw-patch deps = -r{toxinidir}/requirements.txt -r{toxinidir}/test-requirements.txt -e{[tox]stxdir}/config/sysinv/sysinv/sysinv @@ -109,7 +110,7 @@ commands = bandit --ini tox.ini -n 5 -r k8sapp_portieris [testenv:pylint] basepython = python3 sitepackages = False - +# If this target is run on python3.8 or later, the install_command needs the debian upper-constaints deps = {[testenv]deps} pylint commands =