forked from openstack/ansible-collections-openstack
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathzuul.yaml
71 lines (69 loc) · 2.21 KB
/
zuul.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
# yamllint disable
---
- job:
name: openstacksdk-functional-devstack-collections
parent: devstack-tox-functional
description: |
Minimum job for devstack-based functional tests
post-run: ci/playbooks/devstack/post.yaml
required-projects:
- openstack/os-client-config
- openstack/openstacksdk
timeout: 9000
vars:
devstack_plugins:
neutron: https://opendev.org/openstack/neutron
#heat: https://opendev.org/openstack/heat
devstack_local_conf:
post-config:
$CINDER_CONF:
DEFAULT:
osapi_max_limit: 6
devstack_localrc:
Q_ML2_PLUGIN_EXT_DRIVERS: qos,port_security
DISABLE_AMP_IMAGE_BUILD: true
Q_SERVICE_PLUGIN_CLASSES: qos,trunk
devstack_services:
# sdk doesn't need vnc access
n-cauth: false
n-novnc: false
# sdk testing uses config drive only
n-api-meta: false
q-meta: false
neutron-qos: true
neutron-trunk: true
neutron-port-forwarding: true
tox_environment:
# Do we really need to set this? It's cargo culted
PYTHONUNBUFFERED: 'true'
# Is there a way we can query the localconf variable to get these
# rather than setting them explicitly?
OPENSTACKSDK_HAS_DESIGNATE: 0
OPENSTACKSDK_HAS_HEAT: 0
OPENSTACKSDK_HAS_MAGNUM: 0
OPENSTACKSDK_HAS_NEUTRON: 1
OPENSTACKSDK_HAS_SWIFT: 1
tox_install_siblings: false
tox_envlist: ansible
zuul_copy_output:
'{{ ansible_user_dir }}/ansible_logs': logs
zuul_work_dir: src/opendev.org/openstack/ansible-collections-openstack
- job:
name: ansible-collections-openstack-functional-devstack
parent: openstacksdk-functional-devstack-collections
description: |
Run openstacksdk ansible functional tests against a master devstack
using Openstack collections
vars:
tox_envlist: ansible-new
- project:
check:
jobs:
- tox-pep8
- openstack-tox-linters
- ansible-collections-openstack-functional-devstack
gate:
jobs:
- tox-pep8
- openstack-tox-linters
- ansible-collections-openstack-functional-devstack