a8309a2a85
All the integration testing has been moved to Bionic now[1] and py3.5 is not tested runtime for Train or stable/stein[2]. As per below ML thread, we are good to drop the py35 testing now: http://lists.openstack.org/pipermail/openstack-discuss/2019-April/005097.html [1] http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004647.html [2] https://governance.openstack.org/tc/reference/runtimes/stein.html https://governance.openstack.org/tc/reference/runtimes/train.html Change-Id: Ie7bcc327fd588a1ff6b2556d49017df56bc55bf8
219 lines
7.1 KiB
YAML
219 lines
7.1 KiB
YAML
- job:
|
|
name: osc-tox-unit-tips
|
|
parent: openstack-tox
|
|
description: |
|
|
Run unit tests for OpenStackClient with master branch of important libs.
|
|
|
|
Takes advantage of the base tox job's install-siblings feature.
|
|
required-projects:
|
|
- openstack/cliff
|
|
- openstack/keystoneauth
|
|
- openstack/openstacksdk
|
|
- openstack/os-client-config
|
|
- openstack/osc-lib
|
|
- openstack/python-openstackclient
|
|
vars:
|
|
tox_envlist: py27
|
|
# Set work dir to openstackclient so that if it's triggered by one of the
|
|
# other repos the tests will run in the same place
|
|
zuul_work_dir: src/opendev.org/openstack/python-openstackclient
|
|
|
|
- job:
|
|
name: osc-tox-py27-tips
|
|
parent: openstack-tox-py27
|
|
description: |
|
|
Run unit tests for OpenStackClient with master branch of important libs.
|
|
|
|
Takes advantage of the base tox job's install-siblings feature.
|
|
# The job only tests the latest and shouldn't be run on the stable branches
|
|
branches: ^(?!stable)
|
|
required-projects:
|
|
- openstack/cliff
|
|
- openstack/keystoneauth
|
|
- openstack/openstacksdk
|
|
- openstack/os-client-config
|
|
- openstack/osc-lib
|
|
- openstack/python-openstackclient
|
|
vars:
|
|
# Set work dir to openstackclient so that if it's triggered by one of the
|
|
# other repos the tests will run in the same place
|
|
zuul_work_dir: src/opendev.org/openstack/python-openstackclient
|
|
|
|
- job:
|
|
name: osc-tox-py36-tips
|
|
parent: openstack-tox-py36
|
|
description: |
|
|
Run unit tests for OpenStackClient with master branch of important libs.
|
|
|
|
Takes advantage of the base tox job's install-siblings feature.
|
|
# The job only tests the latest and shouldn't be run on the stable branches
|
|
branches: ^(?!stable)
|
|
required-projects:
|
|
- openstack/cliff
|
|
- openstack/keystoneauth
|
|
- openstack/openstacksdk
|
|
- openstack/os-client-config
|
|
- openstack/osc-lib
|
|
- openstack/python-openstackclient
|
|
vars:
|
|
# Set work dir to openstackclient so that if it's triggered by one of the
|
|
# other repos the tests will run in the same place
|
|
zuul_work_dir: src/opendev.org/openstack/python-openstackclient
|
|
|
|
- job:
|
|
name: osc-functional-devstack-base
|
|
parent: devstack-tox-functional
|
|
description: |
|
|
Base job for devstack-based functional tests
|
|
timeout: 9000
|
|
irrelevant-files:
|
|
- ^.*\.rst$
|
|
- ^doc/.*$
|
|
- ^releasenotes/.*$
|
|
required-projects:
|
|
- openstack/python-openstackclient
|
|
vars:
|
|
devstack_localrc:
|
|
LIBS_FROM_GIT: python-openstackclient
|
|
# NOTE(dtroyer): OSC needs to support Image v1 for a while yet so re-enable
|
|
GLANCE_V1_ENABLED: true
|
|
# NOTE(dtroyer): Functional tests need a bit more volume headroom
|
|
VOLUME_BACKING_FILE_SIZE: 20G
|
|
devstack_local_conf:
|
|
post-config:
|
|
$CINDER_CONF:
|
|
DEFAULT:
|
|
# NOTE(dtroyer): OSC needs to support Volume v1 for a while yet so re-enable
|
|
enable_v1_api: true
|
|
devstack_services:
|
|
ceilometer-acentral: false
|
|
ceilometer-acompute: false
|
|
ceilometer-alarm-evaluator: false
|
|
ceilometer-alarm-notifier: false
|
|
ceilometer-anotification: false
|
|
ceilometer-api: false
|
|
ceilometer-collector: false
|
|
s-account: true
|
|
s-container: true
|
|
s-object: true
|
|
s-proxy: true
|
|
osc_environment:
|
|
PYTHONUNBUFFERED: 'true'
|
|
OS_CLOUD: devstack-admin
|
|
zuul_work_dir: src/opendev.org/openstack/python-openstackclient
|
|
|
|
# The Neutron bits are here rather than in osc-functional-devstack-base to
|
|
# simplify removing Neutron in the osc-functional-devstack-n-net job.
|
|
- job:
|
|
name: osc-functional-devstack
|
|
parent: osc-functional-devstack-base
|
|
timeout: 7800
|
|
vars:
|
|
devstack_plugins:
|
|
# NOTE(amotoki): Some neutron features are enabled by devstack plugin
|
|
neutron: https://opendev.org/openstack/neutron
|
|
devstack_services:
|
|
neutron-network-segment-range: true
|
|
neutron-segments: true
|
|
q-metering: true
|
|
q-qos: true
|
|
tox_envlist: functional
|
|
|
|
- job:
|
|
name: osc-functional-devstack-n-net
|
|
parent: osc-functional-devstack-base
|
|
timeout: 7800
|
|
vars:
|
|
devstack_localrc:
|
|
FLAT_INTERFACE: br_flat
|
|
PUBLIC_INTERFACE: br_pub
|
|
devstack_services:
|
|
n-cell: true
|
|
n-net: true
|
|
neutron: false
|
|
neutron-segments: false
|
|
q-agt: false
|
|
q-dhcp: false
|
|
q-l3: false
|
|
q-meta: false
|
|
q-metering: false
|
|
q-qos: false
|
|
q-svc: false
|
|
tox_envlist: functional
|
|
|
|
- job:
|
|
name: osc-functional-devstack-tips
|
|
parent: osc-functional-devstack
|
|
timeout: 7800
|
|
required-projects:
|
|
- openstack/cliff
|
|
- openstack/keystoneauth
|
|
- openstack/openstacksdk
|
|
- openstack/os-client-config
|
|
- openstack/osc-lib
|
|
- openstack/python-openstackclient
|
|
vars:
|
|
devstack_localrc:
|
|
USE_PYTHON3: true
|
|
LIBS_FROM_GIT: python-openstackclient,openstacksdk,osc-lib,os-client-config
|
|
# This is insufficient, but leaving it here as a reminder of what may
|
|
# someday be all we need to make this work
|
|
# disable_python3_package swift
|
|
DISABLED_PYTHON3_PACKAGES: swift
|
|
devstack_services:
|
|
# Swift is not ready for python3 yet: At a minimum keystonemiddleware needs
|
|
# to be installed in the py2 env, there are probably other things too...
|
|
s-account: false
|
|
s-container: false
|
|
s-object: false
|
|
s-proxy: false
|
|
# As swift is not available for this job, c-bak service won't be functional.
|
|
# The backup related tests can be handled by other jobs having swift enabled.
|
|
# The backup service along with swift services can be enabled once swift is
|
|
# compatible with py3
|
|
c-bak: false
|
|
tox_envlist: functional
|
|
tox_install_siblings: true
|
|
|
|
- project-template:
|
|
name: osc-tox-unit-tips
|
|
check:
|
|
jobs:
|
|
- osc-tox-py27-tips
|
|
- osc-tox-py36-tips
|
|
gate:
|
|
jobs:
|
|
- osc-tox-py27-tips
|
|
- osc-tox-py36-tips
|
|
|
|
- project:
|
|
templates:
|
|
- openstackclient-plugin-jobs
|
|
- osc-tox-unit-tips
|
|
- openstack-cover-jobs
|
|
- openstack-lower-constraints-jobs
|
|
- openstack-python-jobs
|
|
- openstack-python36-jobs
|
|
- openstack-python37-jobs
|
|
- publish-openstack-docs-pti
|
|
- check-requirements
|
|
- release-notes-jobs-python3
|
|
- lib-forward-testing
|
|
- lib-forward-testing-python3
|
|
check:
|
|
jobs:
|
|
- osc-functional-devstack
|
|
# - osc-functional-devstack-n-net:
|
|
# voting: false
|
|
# # The job testing nova-network no longer works before Pike, and
|
|
# # should be disabled until the New Way of testing against old clouds
|
|
# # is ready and backported
|
|
# branches: ^(?!stable/(newton|ocata)).*$
|
|
- osc-functional-devstack-tips:
|
|
# The functional-tips job only tests the latest and shouldn't be run
|
|
# on the stable branches
|
|
branches: ^(?!stable)
|
|
gate:
|
|
jobs:
|
|
- osc-functional-devstack
|