blob: 1eab46494eb7ca492584c96de7a64d9455c05d98 [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
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 Monteiro2fc29292018-06-15 18:26:27 -040057 description: Patrole job for member role.
Felipe Monteiro4c3ae9b2018-02-25 18:33:32 +000058 # This currently works from stable/pike onward.
59 branches:
60 - master
61 - stable/queens
62 - stable/pike
Felipe Monteiro097d94c2018-02-25 13:48:14 +000063 vars:
64 devstack_localrc:
Felipe Monteiro2fc29292018-06-15 18:26:27 -040065 RBAC_TEST_ROLE: member
rajat290fc826d2017-11-21 00:06:00 +053066
67- job:
Felipe Monteiro4c3ae9b2018-02-25 18:33:32 +000068 name: patrole-member-queens
69 parent: patrole-member
70 override-checkout: stable/queens
71
72- job:
73 name: patrole-member-pike
74 parent: patrole-member
75 override-checkout: stable/pike
76
77- job:
Hidekazu Nakamura211d4f92018-01-09 10:29:17 +090078 name: patrole-multinode-admin
Felipe Monteiro25949b82017-11-29 23:25:34 +000079 parent: patrole-base-multinode
dennisa795dae52018-01-29 18:02:46 +053080 run: playbooks/patrole-multinode-admin/run.yaml
81 post-run: playbooks/patrole-multinode-admin/post.yaml
rajat290fc826d2017-11-21 00:06:00 +053082 voting: false
83 nodeset: legacy-ubuntu-xenial-2-node
84
85- job:
Hidekazu Nakamura211d4f92018-01-09 10:29:17 +090086 name: patrole-multinode-member
Felipe Monteiro25949b82017-11-29 23:25:34 +000087 parent: patrole-base-multinode
dennisa795dae52018-01-29 18:02:46 +053088 run: playbooks/patrole-multinode-member/run.yaml
89 post-run: playbooks/patrole-multinode-member/post.yaml
rajat290fc826d2017-11-21 00:06:00 +053090 voting: false
91 nodeset: legacy-ubuntu-xenial-2-node
92
93- job:
Hidekazu Nakamura211d4f92018-01-09 10:29:17 +090094 name: patrole-py35-member
Felipe Monteiro25949b82017-11-29 23:25:34 +000095 parent: patrole-base
Felipe Monteiro2fc29292018-06-15 18:26:27 -040096 description: Patrole py35 job for member role.
Felipe Monteiro097d94c2018-02-25 13:48:14 +000097 vars:
98 devstack_localrc:
Felipe Monteiro2fc29292018-06-15 18:26:27 -040099 # Use member for py35 because arguably negative testing is more
Felipe Monteiro097d94c2018-02-25 13:48:14 +0000100 # important than admin, which is already covered by patrole-admin job.
Felipe Monteiro2fc29292018-06-15 18:26:27 -0400101 RBAC_TEST_ROLE: member
Doug Hellmann8669a512018-03-22 17:42:03 -0400102 USE_PYTHON3: true
Felipe Monteiro097d94c2018-02-25 13:48:14 +0000103 devstack_services:
104 s-account: false
105 s-container: false
106 s-object: false
107 s-proxy: false
108 # Without Swift, c-bak cannot run (in the gate at least).
109 c-bak: false
rajat290fc826d2017-11-21 00:06:00 +0530110
111- project:
rajat290fc826d2017-11-21 00:06:00 +0530112 check:
113 jobs:
Hidekazu Nakamura211d4f92018-01-09 10:29:17 +0900114 - patrole-admin
115 - patrole-member
Felipe Monteiro4c3ae9b2018-02-25 18:33:32 +0000116 - patrole-member-queens
117 - patrole-member-pike
Hidekazu Nakamura211d4f92018-01-09 10:29:17 +0900118 - patrole-py35-member
119 - patrole-multinode-admin
120 - patrole-multinode-member
Doug Hellmann8669a512018-03-22 17:42:03 -0400121 - openstack-tox-lower-constraints
rajat290fc826d2017-11-21 00:06:00 +0530122 gate:
123 jobs:
Hidekazu Nakamura211d4f92018-01-09 10:29:17 +0900124 - patrole-admin
125 - patrole-member
Felipe Monteiro4c3ae9b2018-02-25 18:33:32 +0000126 - patrole-member-queens
127 - patrole-member-pike
Hidekazu Nakamura211d4f92018-01-09 10:29:17 +0900128 - patrole-py35-member
Doug Hellmann8669a512018-03-22 17:42:03 -0400129 - openstack-tox-lower-constraints