Update tox.ini to work with tox 4
This change will allow this repo to pass zuul now that this has merged: https://review.opendev.org/c/zuul/zuul-jobs/+/866943 Tox 4 deprecated whitelist_externals. Replace whitelist_externals with allowlist_externals Due to unit test failures related to installing the components, the Zuul file for this repo is pinned to be less than tox 4. Partial-Bug: #2000399 Signed-off-by: Al Bailey <al.bailey@windriver.com> Change-Id: I906ebaa601170bd12183f1c983c3d5087014e696
This commit is contained in:
parent
a392d114d7
commit
056036a19b
@ -1,5 +1,7 @@
|
|||||||
---
|
---
|
||||||
- project:
|
- project:
|
||||||
|
vars:
|
||||||
|
ensure_tox_version: '<4'
|
||||||
check:
|
check:
|
||||||
jobs:
|
jobs:
|
||||||
- openstack-tox-linters
|
- openstack-tox-linters
|
||||||
@ -37,7 +39,7 @@
|
|||||||
parent: tox
|
parent: tox
|
||||||
description: |
|
description: |
|
||||||
Run pylint test for k8sapp-oran-o2
|
Run pylint test for k8sapp-oran-o2
|
||||||
nodeset: ubuntu-xenial
|
nodeset: ubuntu-bionic
|
||||||
required-projects:
|
required-projects:
|
||||||
- starlingx/config
|
- starlingx/config
|
||||||
- starlingx/fault
|
- starlingx/fault
|
||||||
|
@ -19,7 +19,7 @@ distshare={toxworkdir}/.tox/distshare
|
|||||||
sitepackages = False
|
sitepackages = False
|
||||||
|
|
||||||
# tox is silly... these need to be separated by a newline....
|
# tox is silly... these need to be separated by a newline....
|
||||||
whitelist_externals = bash
|
allowlist_externals = bash
|
||||||
find
|
find
|
||||||
|
|
||||||
install_command = pip install \
|
install_command = pip install \
|
||||||
|
Loading…
Reference in New Issue
Block a user