
As it was announced [1] global bindep-fallback.txt was removed and now projects need to have a local bindep.txt to be able to install binary dependencies for testing. In test jobs the script tools/test-setup.sh is called which requires mysql and postgres servers and clients to be installed. To eliminate 'ERROR: InterpreterNotFound: python3.5' of the zuul job refstack-tox-py35-func-mysql, simply replace the tox environment py35-func-mysql to py36-func-mysql with a base python of 3.6 instead of 3.5 and rename the zuul job to contain py36 in the name. Update the Zuul template to use nodejs6 jobs, this makes the single jobs obsolete, remove them. Without this change, the gate will use nodejs4 and fail. [1] http://lists.openstack.org/pipermail/openstack-discuss/2019-June/007272.html Change-Id: I90cb912befb9d09fed330bd8d27a491caffbf7b9
45 lines
1.1 KiB
YAML
45 lines
1.1 KiB
YAML
- project:
|
|
templates:
|
|
- nodejs6-jobs
|
|
- publish-openstack-docs-pti
|
|
- openstack-cover-jobs
|
|
- openstack-python-jobs
|
|
- openstack-python35-jobs
|
|
- openstack-python36-jobs
|
|
check:
|
|
jobs:
|
|
- refstack-tox-py27-func-mysql
|
|
- refstack-tox-py36-func-mysql
|
|
gate:
|
|
jobs:
|
|
- refstack-tox-py27-func-mysql
|
|
- refstack-tox-py36-func-mysql
|
|
|
|
- job:
|
|
name: refstack-tox-py27-func-mysql
|
|
parent: openstack-tox
|
|
description: |
|
|
Run unit tests for an OpenStack Python project under cPython version 2.7.
|
|
|
|
Uses tox with the ``py27-func-mysql`` environment.
|
|
irrelevant-files:
|
|
- ^.*\.rst$
|
|
- ^doc/.*$
|
|
- ^releasenotes/.*$
|
|
vars:
|
|
tox_envlist: py27-func-mysql
|
|
|
|
- job:
|
|
name: refstack-tox-py36-func-mysql
|
|
parent: openstack-tox
|
|
description: |
|
|
Run unit tests for an OpenStack Python project under cPython version 3.6.
|
|
|
|
Uses tox with the ``py36-func-mysql`` environment.
|
|
irrelevant-files:
|
|
- ^.*\.rst$
|
|
- ^doc/.*$
|
|
- ^releasenotes/.*$
|
|
vars:
|
|
tox_envlist: py36-func-mysql
|