blob: 21b56793033829ba406ff6f725a9c897ebd6c4d7 [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
Felipe Monteiro2fc29292018-06-15 18:26:27 -04004 description: Patrole base job for admin and member roles.
Felipe Monteiro097d94c2018-02-25 13:48:14 +00005 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
Felipe Monteiro318fa3b2018-06-19 16:53:33 -040032 parent: tempest-multinode-full
33 description: |-
34 Patrole base job for multinode and "slow" tests where "slow" tests include:
35
36 * Tests that take more than ~30 seconds to run.
37 * Tests that experience spurious failures related to servers, volumes,
38 backups and similar resources failing to build.
rajat290fc826d2017-11-21 00:06:00 +053039 timeout: 7800
Felipe Monteiro318fa3b2018-06-19 16:53:33 -040040 branches:
41 - master
42 required-projects:
43 - openstack-infra/devstack-gate
44 - openstack/tempest
45 - openstack/patrole
rajat290fc826d2017-11-21 00:06:00 +053046 irrelevant-files:
47 - ^(test-|)requirements.txt$
48 - ^.*\.rst$
49 - ^doc/.*
50 - ^patrole/patrole_tempest_plugin/tests/unit/.*$
51 - ^releasenotes/.*
52 - ^setup.cfg$
Felipe Monteiro318fa3b2018-06-19 16:53:33 -040053 vars:
54 devstack_localrc:
55 TEMPEST_PLUGINS: "'{{ ansible_user_dir }}/src/git.openstack.org/openstack/patrole'"
56 devstack_plugins:
57 patrole: git://git.openstack.org/openstack/patrole.git
58 devstack_services:
59 tempest: true
60 neutron: true
61 tempest_concurrency: 1
62 tempest_test_regex: (?=.*\[.*\bslow\b.*\])(^patrole_tempest_plugin\.tests\.api)
63 tox_envlist: all-plugin
rajat290fc826d2017-11-21 00:06:00 +053064
65- job:
Hidekazu Nakamura211d4f92018-01-09 10:29:17 +090066 name: patrole-admin
Felipe Monteiro25949b82017-11-29 23:25:34 +000067 parent: patrole-base
Felipe Monteiro097d94c2018-02-25 13:48:14 +000068 description: Patrole job for admin role.
69 vars:
70 devstack_localrc:
71 RBAC_TEST_ROLE: admin
rajat290fc826d2017-11-21 00:06:00 +053072
73- job:
Hidekazu Nakamura211d4f92018-01-09 10:29:17 +090074 name: patrole-member
Felipe Monteiro25949b82017-11-29 23:25:34 +000075 parent: patrole-base
Felipe Monteiro2fc29292018-06-15 18:26:27 -040076 description: Patrole job for member role.
Felipe Monteiro4c3ae9b2018-02-25 18:33:32 +000077 # This currently works from stable/pike onward.
78 branches:
79 - master
80 - stable/queens
81 - stable/pike
Felipe Monteiro097d94c2018-02-25 13:48:14 +000082 vars:
83 devstack_localrc:
Felipe Monteiro2fc29292018-06-15 18:26:27 -040084 RBAC_TEST_ROLE: member
rajat290fc826d2017-11-21 00:06:00 +053085
86- job:
Felipe Monteiro4c3ae9b2018-02-25 18:33:32 +000087 name: patrole-member-queens
88 parent: patrole-member
89 override-checkout: stable/queens
90
91- job:
92 name: patrole-member-pike
93 parent: patrole-member
94 override-checkout: stable/pike
95
96- job:
Hidekazu Nakamura211d4f92018-01-09 10:29:17 +090097 name: patrole-multinode-admin
Felipe Monteiro25949b82017-11-29 23:25:34 +000098 parent: patrole-base-multinode
rajat290fc826d2017-11-21 00:06:00 +053099 voting: false
Felipe Monteiro318fa3b2018-06-19 16:53:33 -0400100 vars:
101 devstack_localrc:
102 RBAC_TEST_ROLE: admin
rajat290fc826d2017-11-21 00:06:00 +0530103
104- job:
Hidekazu Nakamura211d4f92018-01-09 10:29:17 +0900105 name: patrole-multinode-member
Felipe Monteiro25949b82017-11-29 23:25:34 +0000106 parent: patrole-base-multinode
rajat290fc826d2017-11-21 00:06:00 +0530107 voting: false
Felipe Monteiro318fa3b2018-06-19 16:53:33 -0400108 vars:
109 devstack_localrc:
110 RBAC_TEST_ROLE: member
rajat290fc826d2017-11-21 00:06:00 +0530111
112- job:
Hidekazu Nakamura211d4f92018-01-09 10:29:17 +0900113 name: patrole-py35-member
Felipe Monteiro25949b82017-11-29 23:25:34 +0000114 parent: patrole-base
Felipe Monteiro2fc29292018-06-15 18:26:27 -0400115 description: Patrole py35 job for member role.
Felipe Monteiro097d94c2018-02-25 13:48:14 +0000116 vars:
117 devstack_localrc:
Felipe Monteiro2fc29292018-06-15 18:26:27 -0400118 # Use member for py35 because arguably negative testing is more
Felipe Monteiro097d94c2018-02-25 13:48:14 +0000119 # important than admin, which is already covered by patrole-admin job.
Felipe Monteiro2fc29292018-06-15 18:26:27 -0400120 RBAC_TEST_ROLE: member
Doug Hellmann8669a512018-03-22 17:42:03 -0400121 USE_PYTHON3: true
Felipe Monteiro097d94c2018-02-25 13:48:14 +0000122 devstack_services:
123 s-account: false
124 s-container: false
125 s-object: false
126 s-proxy: false
127 # Without Swift, c-bak cannot run (in the gate at least).
128 c-bak: false
rajat290fc826d2017-11-21 00:06:00 +0530129
130- project:
rajat290fc826d2017-11-21 00:06:00 +0530131 check:
132 jobs:
Hidekazu Nakamura211d4f92018-01-09 10:29:17 +0900133 - patrole-admin
134 - patrole-member
Felipe Monteiro4c3ae9b2018-02-25 18:33:32 +0000135 - patrole-member-queens
136 - patrole-member-pike
Hidekazu Nakamura211d4f92018-01-09 10:29:17 +0900137 - patrole-py35-member
138 - patrole-multinode-admin
139 - patrole-multinode-member
Doug Hellmann8669a512018-03-22 17:42:03 -0400140 - openstack-tox-lower-constraints
rajat290fc826d2017-11-21 00:06:00 +0530141 gate:
142 jobs:
Hidekazu Nakamura211d4f92018-01-09 10:29:17 +0900143 - patrole-admin
144 - patrole-member