Add python-ldap deps for zuul test
Zuul tests are failing to build python-ldap due to some missing binary pkg dependencies [1]. Added them using bindep following the solution on the gui repo [2, 3] [1] https://zuul.opendev.org/t/openstack/build/8356394372e24999b27e1a0251e1d919 [2] https://review.opendev.org/c/starlingx/gui/+/894397 [3] https://review.opendev.org/c/starlingx/gui/+/885834 Test Plan: pass: tox --notest -epylint -vv --skip-missing-interpreters=false Closes-Bug: 2036280 Change-Id: Ic1f38573d3ea344b3724bfd92a167bd209ebcea0 Signed-off-by: Leonardo Fagundes Luz Serrano <Leonardo.FagundesLuzSerrano@windriver.com>
This commit is contained in:
parent
dae78f1f9e
commit
a04fa768cd
@ -48,6 +48,7 @@
|
|||||||
- starlingx/fault
|
- starlingx/fault
|
||||||
- starlingx/config
|
- starlingx/config
|
||||||
vars:
|
vars:
|
||||||
|
bindep_profile: pylint
|
||||||
tox_envlist: pylint
|
tox_envlist: pylint
|
||||||
|
|
||||||
- job:
|
- job:
|
||||||
|
@ -1,3 +1,6 @@
|
|||||||
|
libldap2-dev [pylint platform:dpkg]
|
||||||
|
libsasl2-dev [pylint platform:dpkg]
|
||||||
|
libssl-dev [pylint platform:dpkg]
|
||||||
libvirt-dev [platform:dpkg]
|
libvirt-dev [platform:dpkg]
|
||||||
libvirt-devel [platform:redhat]
|
libvirt-devel [platform:redhat]
|
||||||
pkg-config [platform:dpkg]
|
pkg-config [platform:dpkg]
|
||||||
|
3
tox.ini
3
tox.ini
@ -1,6 +1,6 @@
|
|||||||
[tox]
|
[tox]
|
||||||
envlist = linters,pylint,pep8
|
envlist = linters,pylint,pep8
|
||||||
minversion = 2.3
|
minversion = 4
|
||||||
skipsdist = True
|
skipsdist = True
|
||||||
toxworkdir = /tmp/{env:USER}_python_utilities_tox
|
toxworkdir = /tmp/{env:USER}_python_utilities_tox
|
||||||
stxdir = {toxinidir}/..
|
stxdir = {toxinidir}/..
|
||||||
@ -114,5 +114,4 @@ commands =
|
|||||||
{[testenv:sorted]commands}
|
{[testenv:sorted]commands}
|
||||||
|
|
||||||
[testenv:bandit]
|
[testenv:bandit]
|
||||||
basepython = python3
|
|
||||||
description = Dummy environment to allow bandit to be run in subdir tox
|
description = Dummy environment to allow bandit to be run in subdir tox
|
||||||
|
Loading…
x
Reference in New Issue
Block a user