Fix pylint gate

Nodeset was not set so it tries to run the gate on the default
host, since the pylint gate is running in python2.7 it fails.
So set it to ubuntu-xenial. Also fix python2.7 because it
was failing as well.

Story: 2009101
Task: 43149

Signed-off-by: Charles Short <charles.short@windriver.com>
Change-Id: I7b3430fbf9a77ba6796e0b12136d0a266cba078e
This commit is contained in:
Charles Short 2021-08-31 13:12:54 -04:00
parent 10051cce95
commit 57ec63d970
4 changed files with 4 additions and 6 deletions

View File

@ -70,6 +70,7 @@
parent: tox
description: |
Run pylint test for k8sapp_platform
nodeset: ubuntu-xenial
required-projects:
- starlingx/config
- starlingx/fault

View File

@ -1,3 +1,2 @@
pbr>=2.0.0
pbr>=0.5
PyYAML>=3.10

View File

@ -8,5 +8,5 @@ import setuptools
setuptools.setup(
setup_requires=['pbr>=2.0.0'],
setup_requires=['pbr>=0.5'],
pbr=True)

View File

@ -10,11 +10,11 @@ stxdir = {toxinidir}/../../..
distshare={toxworkdir}/.tox/distshare
[testenv]
# usedevelop = True
# enabling usedevelop results in py27 develop-inst:
# Exception: Versioning for this project requires either an sdist tarball,
# or access to an upstream git repository.
# Note. site-packages is true and rpm-python must be yum installed on your dev machine.
usedevelop = True
sitepackages = True
# tox is silly... these need to be separated by a newline....
@ -167,8 +167,6 @@ commands = bandit --ini tox.ini -n 5 -r k8sapp_platform
[testenv:pylint]
basepython = python2.7
sitepackages = False
deps = {[testenv]deps}
pylint
commands =