Update bindep to pass zuul on ubuntu workers

The previous bindep fix was only for centos, so zuul
workers running ubuntu (dpkg) would still not work.
Updating the file to handle those nodes.

Updating a python file to ensure pylint target is executed

The sitepackages for the cgcs-patch pylint tox target
also needs to be set to True to correspond to the bindep
values.

Story: 2008943
Task: 44183
Signed-off-by: albailey <Al.Bailey@windriver.com>
Change-Id: I2a9e630aa26c2823ccdc6a361c46575b58a1c39c
This commit is contained in:
albailey 2021-12-15 12:07:01 -06:00
parent a72d8edca4
commit 9a5a91439f
3 changed files with 3 additions and 1 deletions

View File

@ -1,4 +1,5 @@
# This is a cross-platform list tracking distribution packages needed for install and tests;
# see https://docs.openstack.org/infra/bindep/ for additional information.
python3-rpm [platform:dpkg]
rpm-python [platform:rpm]

View File

@ -1,5 +1,5 @@
"""
Copyright (c) 2015-2019 Wind River Systems, Inc.
Copyright (c) 2015-2021 Wind River Systems, Inc.
SPDX-License-Identifier: Apache-2.0

View File

@ -129,6 +129,7 @@ commands =
[testenv:pylint]
basepython = python3.6
sitepackages = True
commands = pylint cgcs_patch --rcfile=./pylint.rc
pylint cgcs_make_patch --rcfile=./pylint_make_patch.rc