blob: 089ba6e33f1508f93b6157a320aa07a17359c176 [file] [log] [blame]
rajat290fc826d2017-11-21 00:06:00 +05301- job:
Felipe Monteiro25949b82017-11-29 23:25:34 +00002 name: patrole-base
Felipe Monteiro097d94c2018-02-25 13:48:14 +00003 parent: devstack-tempest
4 description: Patrole base job for admin and Member roles.
5 required-projects:
6 - name: openstack/tempest
7 - name: openstack/patrole
rajat290fc826d2017-11-21 00:06:00 +05308 timeout: 7800
Felipe Monteiro097d94c2018-02-25 13:48:14 +00009 roles:
10 - zuul: openstack-dev/devstack
rajat290fc826d2017-11-21 00:06:00 +053011 irrelevant-files:
12 - ^(test-|)requirements.txt$
13 - ^.*\.rst$
14 - ^doc/.*
15 - ^patrole/patrole_tempest_plugin/tests/unit/.*$
16 - ^releasenotes/.*
17 - ^setup.cfg$
Felipe Monteiro097d94c2018-02-25 13:48:14 +000018 vars:
19 devstack_localrc:
20 TEMPEST_PLUGINS: "'{{ ansible_user_dir }}/src/git.openstack.org/openstack/patrole'"
21 devstack_plugins:
22 patrole: git://git.openstack.org/openstack/patrole.git
23 devstack_services:
24 tempest: true
25 neutron: true
26 tempest_concurrency: 2
27 tempest_test_regex: (?!.*\[.*\bslow\b.*\])(^patrole_tempest_plugin\.tests\.api)
28 tox_envlist: all-plugin
rajat290fc826d2017-11-21 00:06:00 +053029
30- job:
Felipe Monteiro25949b82017-11-29 23:25:34 +000031 name: patrole-base-multinode
rajat290fc826d2017-11-21 00:06:00 +053032 parent: legacy-dsvm-base-multinode
33 timeout: 7800
34 irrelevant-files:
35 - ^(test-|)requirements.txt$
36 - ^.*\.rst$
37 - ^doc/.*
38 - ^patrole/patrole_tempest_plugin/tests/unit/.*$
39 - ^releasenotes/.*
40 - ^setup.cfg$
41 required-projects:
42 - openstack-infra/devstack-gate
43 - openstack/patrole
44 - openstack/tempest
45
46- job:
Hidekazu Nakamura211d4f92018-01-09 10:29:17 +090047 name: patrole-admin
Felipe Monteiro25949b82017-11-29 23:25:34 +000048 parent: patrole-base
Felipe Monteiro097d94c2018-02-25 13:48:14 +000049 description: Patrole job for admin role.
50 vars:
51 devstack_localrc:
52 RBAC_TEST_ROLE: admin
rajat290fc826d2017-11-21 00:06:00 +053053
54- job:
Hidekazu Nakamura211d4f92018-01-09 10:29:17 +090055 name: patrole-member
Felipe Monteiro25949b82017-11-29 23:25:34 +000056 parent: patrole-base
Felipe Monteiro097d94c2018-02-25 13:48:14 +000057 description: Patrole job for Member role.
58 vars:
59 devstack_localrc:
60 RBAC_TEST_ROLE: Member
rajat290fc826d2017-11-21 00:06:00 +053061
62- job:
Hidekazu Nakamura211d4f92018-01-09 10:29:17 +090063 name: patrole-multinode-admin
Felipe Monteiro25949b82017-11-29 23:25:34 +000064 parent: patrole-base-multinode
dennisa795dae52018-01-29 18:02:46 +053065 run: playbooks/patrole-multinode-admin/run.yaml
66 post-run: playbooks/patrole-multinode-admin/post.yaml
rajat290fc826d2017-11-21 00:06:00 +053067 voting: false
68 nodeset: legacy-ubuntu-xenial-2-node
69
70- job:
Hidekazu Nakamura211d4f92018-01-09 10:29:17 +090071 name: patrole-multinode-member
Felipe Monteiro25949b82017-11-29 23:25:34 +000072 parent: patrole-base-multinode
dennisa795dae52018-01-29 18:02:46 +053073 run: playbooks/patrole-multinode-member/run.yaml
74 post-run: playbooks/patrole-multinode-member/post.yaml
rajat290fc826d2017-11-21 00:06:00 +053075 voting: false
76 nodeset: legacy-ubuntu-xenial-2-node
77
78- job:
Hidekazu Nakamura211d4f92018-01-09 10:29:17 +090079 name: patrole-py35-member
Felipe Monteiro25949b82017-11-29 23:25:34 +000080 parent: patrole-base
Felipe Monteiro097d94c2018-02-25 13:48:14 +000081 description: Patrole py3 job for Member role.
82 vars:
83 devstack_localrc:
84 # Use Member for py3 because arguably negative testing is more
85 # important than admin, which is already covered by patrole-admin job.
86 RBAC_TEST_ROLE: Member
Doug Hellmann8669a512018-03-22 17:42:03 -040087 USE_PYTHON3: true
Felipe Monteiro097d94c2018-02-25 13:48:14 +000088 devstack_services:
89 s-account: false
90 s-container: false
91 s-object: false
92 s-proxy: false
93 # Without Swift, c-bak cannot run (in the gate at least).
94 c-bak: false
rajat290fc826d2017-11-21 00:06:00 +053095
96- project:
rajat290fc826d2017-11-21 00:06:00 +053097 check:
98 jobs:
Hidekazu Nakamura211d4f92018-01-09 10:29:17 +090099 - patrole-admin
100 - patrole-member
101 - patrole-py35-member
102 - patrole-multinode-admin
103 - patrole-multinode-member
Doug Hellmann8669a512018-03-22 17:42:03 -0400104 - openstack-tox-lower-constraints
rajat290fc826d2017-11-21 00:06:00 +0530105 gate:
106 jobs:
Hidekazu Nakamura211d4f92018-01-09 10:29:17 +0900107 - patrole-admin
108 - patrole-member
109 - patrole-py35-member
Doug Hellmann8669a512018-03-22 17:42:03 -0400110 - openstack-tox-lower-constraints