Update jobs for Zed development cycle

The commit updates jobs for the current, Zed, development cycle
and edits nodejs jobs so that we run with nodejs 16.

Task: 43761
Story: 2009327
Change-Id: I37bb7dc520119bdab280d62e23922641ef7658ce
This commit is contained in:
Martin Kopec 2022-04-20 10:52:00 +02:00
parent 8daea3e908
commit 10e03dce75
7 changed files with 18 additions and 18 deletions

View File

@ -1,17 +1,15 @@
- project: - project:
templates: templates:
- nodejs6-jobs - nodejs16-jobs
- openstack-cover-jobs - openstack-cover-jobs
- openstack-python3-yoga-jobs - openstack-python3-zed-jobs
check: check:
jobs: jobs:
- refstack-tox-functional: - refstack-tox-functional
nodeset: openstack-single-node-bionic
- opendev-tox-docs - opendev-tox-docs
gate: gate:
jobs: jobs:
- refstack-tox-functional: - refstack-tox-functional
nodeset: openstack-single-node-bionic
- opendev-tox-docs - opendev-tox-docs
promote: promote:
jobs: jobs:

View File

@ -98,7 +98,7 @@ class TestResultValidator(BaseValidator):
'duration_seconds': {'type': 'integer'}, 'duration_seconds': {'type': 'integer'},
'results': { 'results': {
'type': 'array', 'type': 'array',
'items': [{ 'items': {
'type': 'object', 'type': 'object',
'properties': { 'properties': {
'name': {'type': 'string'}, 'name': {'type': 'string'},
@ -107,8 +107,7 @@ class TestResultValidator(BaseValidator):
'format': 'uuid_hex' 'format': 'uuid_hex'
} }
} }
}] }
} }
}, },
'required': ['cpid', 'duration_seconds', 'results'], 'required': ['cpid', 'duration_seconds', 'results'],

View File

@ -18,7 +18,13 @@ import os
from alembic import config as alembic_conf from alembic import config as alembic_conf
from alembic.operations import Operations from alembic.operations import Operations
import alembic.migration as alembic_migration import alembic.migration as alembic_migration
from collections import Iterable try:
# Python 3.10 and above
from collections.abc import Iterable
except ImportError:
# Python <= 3.9, this is deprecated since Python 3.3 and it's
# removed in Python 3.10
from collections import Iterable
from oslo_config import cfg from oslo_config import cfg
from sqlalchemy import text from sqlalchemy import text

View File

@ -1,5 +1,5 @@
SQLAlchemy>=0.8.3 SQLAlchemy>=0.8.3
alembic alembic>=1.8.0
beaker beaker
beautifulsoup4 beautifulsoup4
cryptography>=3.0 # BSD/Apache-2.0 cryptography>=3.0 # BSD/Apache-2.0
@ -11,9 +11,7 @@ oslo.utils>=3.16.0 # Apache-2.0
pecan>=0.8.2 pecan>=0.8.2
requests>=2.2.0,!=2.4.0 requests>=2.2.0,!=2.4.0
requests-cache>=0.4.9,<0.6.0 requests-cache>=0.4.9,<0.6.0
# jsonschema is capped due to the following bug: jsonschema>=4.7.0
# https://storyboard.openstack.org/#!/story/2009327
jsonschema==3.2.0
PyJWT>=2.0.0 # MIT PyJWT>=2.0.0 # MIT
WebOb>=1.7.1 # MIT WebOb>=1.7.1 # MIT
PyMySQL>=0.6.2,!=0.6.4 PyMySQL>=0.6.2,!=0.6.4

View File

@ -6,7 +6,7 @@ description-file =
author = OpenStack author = OpenStack
author-email = openstack-discuss@lists.openstack.org author-email = openstack-discuss@lists.openstack.org
home-page = https://refstack.openstack.org home-page = https://refstack.openstack.org
python_requires = >=3.6 python_requires = >=3.8
classifier = classifier =
Environment :: OpenStack Environment :: OpenStack
Intended Audience :: Developers Intended Audience :: Developers
@ -15,8 +15,6 @@ classifier =
Operating System :: POSIX :: Linux Operating System :: POSIX :: Linux
Programming Language :: Python Programming Language :: Python
Programming Language :: Python :: 3 Programming Language :: Python :: 3
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8 Programming Language :: Python :: 3.8
Programming Language :: Python :: 3 :: Only Programming Language :: Python :: 3 :: Only
Programming Language :: Python :: Implementation :: CPython Programming Language :: Python :: Implementation :: CPython

View File

@ -10,3 +10,4 @@ stestr>=1.1.0 # Apache-2.0
testtools>=0.9.34 testtools>=0.9.34
pep257>=0.5.0 pep257>=0.5.0
PyMySQL>=0.6.2,!=0.6.4 PyMySQL>=0.6.2,!=0.6.4
WebTest>=3.0.0

View File

@ -1,5 +1,5 @@
[tox] [tox]
envlist = py36,py38,pep8,pip-check-reqs envlist = py3,pep8,pip-check-reqs
minversion = 3.18 minversion = 3.18
skipsdist = True skipsdist = True