Add py27 and py36 tox jobs to Zuul

This change adds the k8sapp-openstack-tox-py27 and
k8sapp-openstack-tox-py36 jobs to Zuul, also adding them to the check
and gate jobs.

That way, both CentOS (py27, py36) and Debian (py39) environments will
be included in the tests ran by Zuul.

Signed-off-by: Gustavo Santos <gustavofaganello.santos@windriver.com>
Change-Id: I0ed931e24db85d668ee26210324c895f3d0ad65e
This commit is contained in:
Gustavo Santos 2022-02-22 10:54:13 -03:00
parent b06eb5f63a
commit 298fc4ae6a
4 changed files with 43 additions and 7 deletions

View File

@ -3,17 +3,55 @@
check:
jobs:
- openstack-tox-linters
- k8sapp-openstack-tox-py27
- k8sapp-openstack-tox-py36
- k8sapp-openstack-tox-py39
- k8sapp-openstack-tox-pylint
gate:
jobs:
- openstack-tox-linters
- k8sapp-openstack-tox-py27
- k8sapp-openstack-tox-py36
- k8sapp-openstack-tox-py39
- k8sapp-openstack-tox-pylint
post:
jobs:
- stx-openstack-armada-app-upload-git-mirror
- job:
name: k8sapp-openstack-tox-py27
parent: tox-py27
description: |
Run py27 test for k8app-openstack
nodeset: debian-bullseye
required-projects:
- starlingx/config
- starlingx/fault
- starlingx/update
- starlingx/utilities
files:
- python-k8sapp-openstack/k8sapp_openstack/*
vars:
tox_envlist: py27
python_version: 2.7
tox_extra_args: -c python-k8sapp-openstack/k8sapp_openstack/tox.ini
- job:
name: k8sapp-openstack-tox-py36
parent: tox-py36
description: |
Run py36 test for k8app-openstack
nodeset: ubuntu-bionic
required-projects:
- starlingx/config
- starlingx/fault
- starlingx/update
- starlingx/utilities
files:
- python-k8sapp-openstack/k8sapp_openstack/*
vars:
tox_envlist: py36
python_version: 3.6
tox_extra_args: -c python-k8sapp-openstack/k8sapp_openstack/tox.ini
- job:
name: k8sapp-openstack-tox-py39
parent: tox-py39

View File

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

View File

@ -1,7 +1,6 @@
# The order of packages is significant, because pip processes them in the order
# of appearance. Changing the order has an impact on the overall integration
# process, which may cause wedges in the gate later.
flake8<3.8.0
pycodestyle<2.6.0 # MIT License
hacking>=1.1.0,<=2.0.0 # Apache-2.0
coverage>=3.6
@ -17,7 +16,6 @@ oslotest>=3.2.0 # Apache-2.0
stestr>=1.0.0 # Apache-2.0
testrepository>=0.0.18
testtools!=1.2.0,>=0.9.36
tempest-lib<0.5.0,>=0.4.0
ipaddr
pytest
pyudev

View File

@ -1,5 +1,5 @@
# Override upstream constraints based on StarlingX load
iso8601==0.1.11
openstacksdk==0.25.0
os-client-config==1.28.0
paramiko==2.1.1
iso8601==0.1.12
openstacksdk==0.27.1
os-client-config==1.32.0
paramiko==2.4.2