998025e5a6
- port away from filter (list comprehension is the suggested way); - explicitly convert the result of map to a list (thus simulating the Python 2 behavior); - remove the last (newly introduced) relative import; - add a temporary py35 job to avoid clashes with the future official job from project-config. Python 3 unit tests should pass now. Story: 2002574 Task: 22141 Change-Id: I73786ed5ca238da1236e6847e25d4435aeebbd87
137 lines
3.9 KiB
YAML
137 lines
3.9 KiB
YAML
- project:
|
|
check:
|
|
jobs:
|
|
- python-tempestconf-tox-py35:
|
|
voting: false
|
|
- python-tempestconf-tox-cover
|
|
- python-tempestconf-tempest-devstack-admin
|
|
- python-tempestconf-tempest-devstack-demo
|
|
- python-tempestconf-tempest-packstack-admin
|
|
- python-tempestconf-tempest-packstack-demo
|
|
- tripleo-ci-centos-7-containers-multinode
|
|
gate:
|
|
jobs:
|
|
- python-tempestconf-tempest-devstack-admin
|
|
- python-tempestconf-tempest-devstack-demo
|
|
- python-tempestconf-tempest-packstack-admin
|
|
- python-tempestconf-tempest-packstack-demo
|
|
- tripleo-ci-centos-7-containers-multinode
|
|
|
|
- job:
|
|
name: python-tempestconf-tox-py35
|
|
parent: openstack-tox-py35
|
|
description: Temporary local job which runs unit tests with py35
|
|
|
|
- job:
|
|
name: python-tempestconf-tox-cover
|
|
parent: openstack-tox
|
|
description: Run tox code coverage tests.
|
|
irrelevant-files:
|
|
- ^.*\.rst$
|
|
- ^doc/.*$
|
|
- ^releasenotes/.*$
|
|
vars:
|
|
tox_envlist: cover
|
|
|
|
- job:
|
|
name: python-tempestconf-tempest-devstack-admin
|
|
parent: devstack
|
|
description: |
|
|
Tempest job for python-tempestconf on a devstack environment as the admin user.
|
|
required-projects:
|
|
- openstack/python-tempestconf
|
|
- openstack/tempest
|
|
- openstack-dev/devstack
|
|
roles:
|
|
- zuul: openstack/python-tempestconf
|
|
- zuul: openstack/tempest
|
|
- zuul: openstack-dev/devstack
|
|
run: playbooks/python-tempestconf-tempest-devstack.yaml
|
|
vars:
|
|
user: admin
|
|
cloud_user: devstack-admin
|
|
irrelevant-files:
|
|
- config_tempest/tests/.*$
|
|
- ^doc/.*$
|
|
- ^releasenotes/.*$
|
|
- ^.*\.rst$
|
|
|
|
- job:
|
|
name: python-tempestconf-tempest-devstack-demo
|
|
parent: devstack
|
|
description: |
|
|
Tempest job for python-tempestconf on a devstack environment as the demo user.
|
|
required-projects:
|
|
- openstack/python-tempestconf
|
|
- openstack/tempest
|
|
- openstack-dev/devstack
|
|
roles:
|
|
- zuul: openstack/python-tempestconf
|
|
- zuul: openstack/tempest
|
|
- zuul: openstack-dev/devstack
|
|
run: playbooks/python-tempestconf-tempest-devstack.yaml
|
|
vars:
|
|
user: demo
|
|
cloud_user: devstack
|
|
test_demo: True
|
|
cloud_admin: devstack-admin
|
|
irrelevant-files:
|
|
- config_tempest/tests/.*$
|
|
- ^doc/.*$
|
|
- ^releasenotes/.*$
|
|
- ^.*\.rst$
|
|
|
|
- job:
|
|
name: python-tempestconf-tempest-packstack-admin
|
|
parent: packstack-allinone
|
|
description: |
|
|
Tempest job for python-tempestconf on a packstack environment as the admin user.
|
|
required-projects:
|
|
- openstack/packstack
|
|
- openstack/python-tempestconf
|
|
- openstack/tempest
|
|
- openstack-dev/devstack
|
|
timeout: 5400
|
|
roles:
|
|
- zuul: openstack/packstack
|
|
- zuul: openstack/python-tempestconf
|
|
- zuul: openstack/tempest
|
|
- zuul: openstack-dev/devstack
|
|
run: playbooks/python-tempestconf-tempest-packstack.yaml
|
|
vars:
|
|
scenario: scenario000
|
|
user: admin
|
|
irrelevant-files:
|
|
- config_tempest/tests/.*$
|
|
- ^doc/.*$
|
|
- ^releasenotes/.*$
|
|
- ^.*\.rst$
|
|
|
|
- job:
|
|
name: python-tempestconf-tempest-packstack-demo
|
|
parent: packstack-allinone
|
|
description: |
|
|
Tempest job for python-tempestconf on a packstack environment as the demo user.
|
|
required-projects:
|
|
- openstack/packstack
|
|
- openstack/python-tempestconf
|
|
- openstack/tempest
|
|
- openstack-dev/devstack
|
|
timeout: 5400
|
|
roles:
|
|
- zuul: openstack/packstack
|
|
- zuul: openstack/python-tempestconf
|
|
- zuul: openstack/tempest
|
|
- zuul: openstack-dev/devstack
|
|
run: playbooks/python-tempestconf-tempest-packstack.yaml
|
|
vars:
|
|
scenario: scenario000
|
|
user: demo
|
|
test_demo: True
|
|
cloud_admin: packstack-admin
|
|
irrelevant-files:
|
|
- config_tempest/tests/.*$
|
|
- ^doc/.*$
|
|
- ^releasenotes/.*$
|
|
- ^.*\.rst$
|