Specify the nodeset for zuul jobs
The py2.7 jobs need to specify xenial Changed py37 to py36 and specify bionic. The un-specified python3 jobs work fine on either focal or bionic. zuul is not setup to trigger off code changes in this repo so no source code changes are required to trigger the zuul jobs Partial-Bug: 1928978 Signed-off-by: albailey <Al.Bailey@windriver.com> Change-Id: Iab9c8727a0f16fa7ff02c20ca3bec5622abe7bd7
This commit is contained in:
parent
ce27c9b0f1
commit
5ff24cf13f
18
.zuul.yaml
18
.zuul.yaml
@ -9,7 +9,7 @@
|
|||||||
- openstack-tox-linters
|
- openstack-tox-linters
|
||||||
- nfv-tox-pep8
|
- nfv-tox-pep8
|
||||||
- nfv-tox-py27
|
- nfv-tox-py27
|
||||||
- nfv-tox-py37
|
- nfv-tox-py36
|
||||||
- nfv-tox-pylint
|
- nfv-tox-pylint
|
||||||
- nova-api-proxy-tox-pep8
|
- nova-api-proxy-tox-pep8
|
||||||
- nova-api-proxy-tox-pylint
|
- nova-api-proxy-tox-pylint
|
||||||
@ -18,7 +18,7 @@
|
|||||||
- openstack-tox-linters
|
- openstack-tox-linters
|
||||||
- nfv-tox-pep8
|
- nfv-tox-pep8
|
||||||
- nfv-tox-py27
|
- nfv-tox-py27
|
||||||
- nfv-tox-py37
|
- nfv-tox-py36
|
||||||
- nfv-tox-pylint
|
- nfv-tox-pylint
|
||||||
- nova-api-proxy-tox-pep8
|
- nova-api-proxy-tox-pep8
|
||||||
- nova-api-proxy-tox-pylint
|
- nova-api-proxy-tox-pylint
|
||||||
@ -30,6 +30,7 @@
|
|||||||
name: nfv-tox-py27
|
name: nfv-tox-py27
|
||||||
parent: tox
|
parent: tox
|
||||||
description: Run py27 for nfv
|
description: Run py27 for nfv
|
||||||
|
nodeset: ubuntu-xenial
|
||||||
required-projects:
|
required-projects:
|
||||||
- starlingx/fault
|
- starlingx/fault
|
||||||
vars:
|
vars:
|
||||||
@ -37,16 +38,17 @@
|
|||||||
tox_extra_args: -c nfv/tox.ini
|
tox_extra_args: -c nfv/tox.ini
|
||||||
|
|
||||||
- job:
|
- job:
|
||||||
name: nfv-tox-py37
|
name: nfv-tox-py36
|
||||||
parent: tox
|
parent: tox
|
||||||
description: Run py37 for nfv
|
description: Run py36 for nfv
|
||||||
|
nodeset: ubuntu-bionic
|
||||||
required-projects:
|
required-projects:
|
||||||
- starlingx/fault
|
- starlingx/fault
|
||||||
vars:
|
vars:
|
||||||
tox_envlist: py37
|
tox_envlist: py36
|
||||||
tox_extra_args: -c nfv/tox.ini
|
tox_extra_args: -c nfv/tox.ini
|
||||||
bindep_profile: test py37
|
bindep_profile: test py36
|
||||||
python_version: 3.7
|
python_version: 3.6
|
||||||
|
|
||||||
- job:
|
- job:
|
||||||
name: nfv-tox-pep8
|
name: nfv-tox-pep8
|
||||||
@ -62,6 +64,7 @@
|
|||||||
name: nfv-tox-pylint
|
name: nfv-tox-pylint
|
||||||
parent: tox
|
parent: tox
|
||||||
description: Run pylint for nfv
|
description: Run pylint for nfv
|
||||||
|
nodeset: ubuntu-xenial
|
||||||
required-projects:
|
required-projects:
|
||||||
- starlingx/fault
|
- starlingx/fault
|
||||||
vars:
|
vars:
|
||||||
@ -80,6 +83,7 @@
|
|||||||
name: nova-api-proxy-tox-pylint
|
name: nova-api-proxy-tox-pylint
|
||||||
parent: tox
|
parent: tox
|
||||||
description: Run pylint for nova-api-proxy
|
description: Run pylint for nova-api-proxy
|
||||||
|
nodeset: ubuntu-xenial
|
||||||
vars:
|
vars:
|
||||||
tox_envlist: pylint
|
tox_envlist: pylint
|
||||||
tox_extra_args: -c nova-api-proxy/tox.ini
|
tox_extra_args: -c nova-api-proxy/tox.ini
|
||||||
|
@ -141,8 +141,8 @@ commands = cp -v {[nfv]nfv_base_dir}/nfv-tests/nfv_unit_tests/test_data/nfv_vim_
|
|||||||
stestr --test-path={[nfv]nfv_base_dir}/nfv-tests/nfv_unit_tests/tests run '{posargs}'
|
stestr --test-path={[nfv]nfv_base_dir}/nfv-tests/nfv_unit_tests/tests run '{posargs}'
|
||||||
stestr slowest
|
stestr slowest
|
||||||
|
|
||||||
[testenv:py37]
|
[testenv:py36]
|
||||||
basepython = python3.7
|
basepython = python3.6
|
||||||
deps = {[nfv]deps}
|
deps = {[nfv]deps}
|
||||||
coverage
|
coverage
|
||||||
fixtures
|
fixtures
|
||||||
|
Loading…
Reference in New Issue
Block a user