Add check-requirements to project template
This patch adds a job to check the requirements in the gate. To pass the test, this patch includes several fixes: * Revert following commits: - https://review.opendev.org/#/c/671249 (baaaff17b5
) * Add missing packages in lower-constraints.txt - osprofiler - setuptools * Adjust psycopg2 version in test-requirements.txt to that in lower-constraints.txt. This has been bumped in: - https://review.opendev.org/#/c/614559/. (4469a813cb
) Change-Id: Ib9942a8310a74bf48a2b05a78a4971cba87d7689 Depends-On: https://review.opendev.org/#/c/698960 Story: #2007023 Task: #37813
This commit is contained in:
parent
3eab6acb65
commit
4e58f8a56b
|
@ -6,11 +6,12 @@
|
|||
# tempest-integrated-placement and grenade-py3 jobs.
|
||||
# tempest-integrated-placement runs a subset of tempest tests which are
|
||||
# relevant for placement, e.g. it does not run keystone tests.
|
||||
- check-requirements
|
||||
- integrated-gate-placement
|
||||
- publish-openstack-docs-pti
|
||||
- openstack-cover-jobs
|
||||
- openstack-lower-constraints-jobs
|
||||
- openstack-python3-ussuri-jobs
|
||||
- publish-openstack-docs-pti
|
||||
- release-notes-jobs-python3
|
||||
check:
|
||||
jobs:
|
||||
|
|
|
@ -50,6 +50,7 @@ oslo.serialization==2.18.0
|
|||
oslo.upgradecheck==0.2.0
|
||||
oslo.utils==3.37.0
|
||||
oslotest==3.4.0
|
||||
osprofiler==1.4.0
|
||||
pbr==2.0.0
|
||||
pep8==1.5.7
|
||||
pluggy==0.6.0
|
||||
|
@ -77,6 +78,7 @@ Routes==2.3.1
|
|||
six==1.10.0
|
||||
smmap2==2.0.3
|
||||
SQLAlchemy==1.2.19
|
||||
setuptools==21.0.0
|
||||
sqlparse==0.2.4
|
||||
statsd==3.2.2
|
||||
stestr==1.0.0
|
||||
|
|
|
@ -6,8 +6,12 @@ hacking!=0.13.0,<0.14,>=0.12.0 # Apache-2.0
|
|||
coverage!=4.4,>=4.0 # Apache-2.0
|
||||
fixtures>=3.0.0 # Apache-2.0/BSD
|
||||
mock>=2.0.0 # BSD
|
||||
psycopg2>=2.6.2; sys_platform!='darwin' # LGPL/ZPL
|
||||
PyMySQL>=0.7.6; sys_platform!='darwin' # MIT License
|
||||
# NOTE(tetsuro): Local testing on osx may have problems to install packages,
|
||||
# psycopg2 and PYMySQL. You can workaround them using sys_platform qualifier.
|
||||
# See the https://review.opendev.org/#/c/671249/ for details. However, we
|
||||
# don't use it here to keep the consistency with global requirements.
|
||||
psycopg2>=2.7 # LGPL/ZPL
|
||||
PyMySQL>=0.7.6 # MIT License
|
||||
oslotest>=3.4.0 # Apache-2.0
|
||||
stestr>=1.0.0 # Apache-2.0
|
||||
testtools>=2.2.0 # MIT
|
||||
|
|
Loading…
Reference in New Issue