90230c3766
* Add unit-tips job to run unit tests with the same project master branches as the functional-tips job (mostly useful for the unit.integ tests) * Add irrelevant-files to the osc-functional-devstack-base job * Comment out the functional-n-net job as it is horribly broken for now until the replacement package-installed OpenStack is ready Change-Id: I5acdcb0a2f0f0dfe488740ae0add36366cc0ee21
160 lines
5.0 KiB
YAML
160 lines
5.0 KiB
YAML
- job:
|
|
name: osc-tox-unit-tips
|
|
parent: openstack-tox
|
|
description: |
|
|
Run unit tests for OpenStackClient with master branch of important libs.
|
|
|
|
Uses tox with the ``unit-tips`` environment and master branch of
|
|
the required-projects below.
|
|
irrelevant-files:
|
|
- ^.*\.rst$
|
|
- ^doc/.*$
|
|
- ^releasenotes/.*$
|
|
required-projects:
|
|
- openstack/os-client-config
|
|
- openstack/osc-lib
|
|
- openstack/python-openstackclient
|
|
- openstack/python-openstacksdk
|
|
vars:
|
|
tox_envlist: unit-tips
|
|
|
|
- job:
|
|
name: osc-functional-devstack-base
|
|
parent: devstack
|
|
description: |
|
|
Base job for devstack-based functional tests
|
|
pre-run: playbooks/osc-devstack/pre
|
|
run: playbooks/osc-devstack/run
|
|
post-run: playbooks/osc-devstack/post
|
|
required-projects:
|
|
- name: openstack/swift
|
|
roles:
|
|
- zuul: openstack-infra/devstack
|
|
timeout: 9000
|
|
irrelevant-files:
|
|
- ^.*\.rst$
|
|
- ^doc/.*$
|
|
- ^releasenotes/.*$
|
|
vars:
|
|
devstack_localrc:
|
|
SWIFT_HASH: "1234123412341234"
|
|
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
|
|
horizon: False
|
|
s-account: True
|
|
s-container: True
|
|
s-object: True
|
|
s-proxy: True
|
|
osc_environment:
|
|
PYTHONUNBUFFERED: 'true'
|
|
OS_CLOUD: 'devstack-admin'
|
|
tox_install_siblings: False
|
|
zuul_work_dir: src/git.openstack.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://git.openstack.org/openstack/neutron
|
|
devstack_services:
|
|
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/os-client-config
|
|
- openstack/osc-lib
|
|
- openstack/python-openstackclient
|
|
- openstack/python-openstacksdk
|
|
vars:
|
|
devstack_localrc:
|
|
USE_PYTHON3: True
|
|
LIBS_FROM_GIT: 'python-openstackclient,python-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
|
|
tox_envlist: functional-tips
|
|
|
|
- project:
|
|
name: openstack/python-openstackclient
|
|
templates:
|
|
- openstackclient-plugin-jobs
|
|
check:
|
|
jobs:
|
|
- osc-tox-unit-tips:
|
|
# The functional-tips job only tests the latest and shouldn't be run
|
|
# on the stable branches
|
|
branches: ^(?!stable)
|
|
- 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:
|
|
voting: false
|
|
# The functional-tips job only tests the latest and shouldn't be run
|
|
# on the stable branches
|
|
branches: ^(?!stable)
|
|
gate:
|
|
jobs:
|
|
- osc-functional-devstack
|