Cleanup tox for python3.9 jobs

sysinv tox could not be run in a developer environment
due to a relative path that only existed in a zuul env.

the py39 zuul jobs do not need root repo cloned since
the upper constraints are accessed by URL.

The py files are only being updated in their header
so that the tox jobs will be triggered to be executed
due to zuul filtering.

Story: 2006796
Task: 44861
Signed-off-by: Al Bailey <al.bailey@windriver.com>
Change-Id: I184dc910717239fd343a70c343361a4c6b8fb9e3
This commit is contained in:
Al Bailey 2022-03-25 20:20:21 +00:00
parent 59f027fc42
commit 5a251fab1a
5 changed files with 4 additions and 6 deletions

View File

@ -73,7 +73,6 @@
required-projects: required-projects:
- starlingx/fault - starlingx/fault
- starlingx/utilities - starlingx/utilities
- starlingx/root
- starlingx/update - starlingx/update
files: files:
- sysinv/sysinv/* - sysinv/sysinv/*
@ -142,7 +141,6 @@
nodeset: debian-bullseye nodeset: debian-bullseye
required-projects: required-projects:
- starlingx/fault - starlingx/fault
- starlingx/root
files: files:
- controllerconfig/* - controllerconfig/*
vars: vars:

View File

@ -1,5 +1,5 @@
# #
# Copyright (c) 2014-2021 Wind River Systems, Inc. # Copyright (c) 2014-2022 Wind River Systems, Inc.
# #
# SPDX-License-Identifier: Apache-2.0 # SPDX-License-Identifier: Apache-2.0
# #

View File

@ -15,7 +15,7 @@
# License for the specific language governing permissions and limitations # License for the specific language governing permissions and limitations
# under the License. # under the License.
# #
# Copyright (c) 2013-2021 Wind River Systems, Inc. # Copyright (c) 2013-2022 Wind River Systems, Inc.
# #
try: try:

View File

@ -120,7 +120,7 @@ commands =
[testenv:py39] [testenv:py39]
basepython = python3.9 basepython = python3.9
install_command = pip install -v -v -v \ install_command = pip install -v -v -v \
-c{[tox]stxdir}/root/build-tools/requirements/debian/upper-constraints.txt \ -c{env:UPPER_CONSTRAINTS_FILE:https://opendev.org/starlingx/root/raw/branch/master/build-tools/requirements/debian/upper-constraints.txt} \
{opts} {packages} {opts} {packages}
commands = commands =
stestr run {posargs} stestr run {posargs}

View File

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