
The review: * adds a python3 job in order to test the refstack-client with python3 as well. * adds a job which runs unit tests by python3.7 * changes default python3 (when -p 3 is specified) in setup_env script to version 3.6.0 * converts downloaded list of tests from bytes to str in order to unify the types used for python2 and python3 compatibility. * edits -p argument in the setup_env script so that it also accepts a full version of Python a user wants to run with, before there were 2 options: * python2.7.8 * python3.6.0 * sets object-storage.operator_role to Member in tempest.conf in order to run tempest.api.object_storage.test_container_services.ContainerTest tests Change-Id: I961f0f093bd7d40fde7e448ea12ef9907c61d126
60 lines
1.7 KiB
YAML
60 lines
1.7 KiB
YAML
- project:
|
|
templates:
|
|
- openstack-python-jobs
|
|
- openstack-python35-jobs
|
|
- openstack-python36-jobs
|
|
- openstack-python37-jobs
|
|
check:
|
|
jobs:
|
|
- refstack-client-devstack-tempestconf
|
|
- refstack-client-devstack-tempestconf-py3
|
|
gate:
|
|
jobs:
|
|
- refstack-client-devstack-tempestconf
|
|
- refstack-client-devstack-tempestconf-py3
|
|
|
|
- job:
|
|
name: refstack-client-devstack-tempestconf-base
|
|
parent: devstack
|
|
description: |
|
|
Refstack client job for testing python-tempestconf and RefStack Integration
|
|
required-projects:
|
|
- openstack/refstack-client
|
|
- openstack/tempest
|
|
- openstack/devstack
|
|
- openstack/python-tempestconf
|
|
roles:
|
|
- zuul: openstack/python-tempestconf
|
|
- zuul: openstack/tempest
|
|
- zuul: openstack/devstack
|
|
- zuul: openstack/refstack-client
|
|
run: playbooks/tempestconf-refstack-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: refstack-client-devstack-tempestconf
|
|
parent: refstack-client-devstack-tempestconf-base
|
|
description: |
|
|
Refstack client job for testing python-tempestconf and RefStack Integration
|
|
using python2.
|
|
|
|
- job:
|
|
name: refstack-client-devstack-tempestconf-py3
|
|
parent: refstack-client-devstack-tempestconf-base
|
|
description: |
|
|
Refstack client job for testing python-tempestconf and RefStack Integration
|
|
using python3.
|
|
vars:
|
|
python_3_args: -p 3
|
|
devstack_localrc:
|
|
USE_PYTHON3: true
|