rajat29 | 0fc826d | 2017-11-21 00:06:00 +0530 | [diff] [blame] | 1 | - job: |
Felipe Monteiro | 25949b8 | 2017-11-29 23:25:34 +0000 | [diff] [blame] | 2 | name: patrole-base |
Felipe Monteiro | 097d94c | 2018-02-25 13:48:14 +0000 | [diff] [blame] | 3 | parent: devstack-tempest |
| 4 | description: Patrole base job for admin and Member roles. |
| 5 | required-projects: |
| 6 | - name: openstack/tempest |
| 7 | - name: openstack/patrole |
rajat29 | 0fc826d | 2017-11-21 00:06:00 +0530 | [diff] [blame] | 8 | timeout: 7800 |
Felipe Monteiro | 097d94c | 2018-02-25 13:48:14 +0000 | [diff] [blame] | 9 | roles: |
| 10 | - zuul: openstack-dev/devstack |
rajat29 | 0fc826d | 2017-11-21 00:06:00 +0530 | [diff] [blame] | 11 | irrelevant-files: |
| 12 | - ^(test-|)requirements.txt$ |
| 13 | - ^.*\.rst$ |
| 14 | - ^doc/.* |
| 15 | - ^patrole/patrole_tempest_plugin/tests/unit/.*$ |
| 16 | - ^releasenotes/.* |
| 17 | - ^setup.cfg$ |
Felipe Monteiro | 097d94c | 2018-02-25 13:48:14 +0000 | [diff] [blame] | 18 | 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 |
rajat29 | 0fc826d | 2017-11-21 00:06:00 +0530 | [diff] [blame] | 29 | |
| 30 | - job: |
Felipe Monteiro | 25949b8 | 2017-11-29 23:25:34 +0000 | [diff] [blame] | 31 | name: patrole-base-multinode |
rajat29 | 0fc826d | 2017-11-21 00:06:00 +0530 | [diff] [blame] | 32 | 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 Nakamura | 211d4f9 | 2018-01-09 10:29:17 +0900 | [diff] [blame] | 47 | name: patrole-admin |
Felipe Monteiro | 25949b8 | 2017-11-29 23:25:34 +0000 | [diff] [blame] | 48 | parent: patrole-base |
Felipe Monteiro | 097d94c | 2018-02-25 13:48:14 +0000 | [diff] [blame] | 49 | description: Patrole job for admin role. |
| 50 | vars: |
| 51 | devstack_localrc: |
| 52 | RBAC_TEST_ROLE: admin |
rajat29 | 0fc826d | 2017-11-21 00:06:00 +0530 | [diff] [blame] | 53 | |
| 54 | - job: |
Hidekazu Nakamura | 211d4f9 | 2018-01-09 10:29:17 +0900 | [diff] [blame] | 55 | name: patrole-member |
Felipe Monteiro | 25949b8 | 2017-11-29 23:25:34 +0000 | [diff] [blame] | 56 | parent: patrole-base |
Felipe Monteiro | 097d94c | 2018-02-25 13:48:14 +0000 | [diff] [blame] | 57 | description: Patrole job for Member role. |
Felipe Monteiro | 4c3ae9b | 2018-02-25 18:33:32 +0000 | [diff] [blame^] | 58 | # This currently works from stable/pike onward. |
| 59 | branches: |
| 60 | - master |
| 61 | - stable/queens |
| 62 | - stable/pike |
Felipe Monteiro | 097d94c | 2018-02-25 13:48:14 +0000 | [diff] [blame] | 63 | vars: |
| 64 | devstack_localrc: |
| 65 | RBAC_TEST_ROLE: Member |
rajat29 | 0fc826d | 2017-11-21 00:06:00 +0530 | [diff] [blame] | 66 | |
| 67 | - job: |
Felipe Monteiro | 4c3ae9b | 2018-02-25 18:33:32 +0000 | [diff] [blame^] | 68 | 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 Nakamura | 211d4f9 | 2018-01-09 10:29:17 +0900 | [diff] [blame] | 78 | name: patrole-multinode-admin |
Felipe Monteiro | 25949b8 | 2017-11-29 23:25:34 +0000 | [diff] [blame] | 79 | parent: patrole-base-multinode |
dennisa | 795dae5 | 2018-01-29 18:02:46 +0530 | [diff] [blame] | 80 | run: playbooks/patrole-multinode-admin/run.yaml |
| 81 | post-run: playbooks/patrole-multinode-admin/post.yaml |
rajat29 | 0fc826d | 2017-11-21 00:06:00 +0530 | [diff] [blame] | 82 | voting: false |
| 83 | nodeset: legacy-ubuntu-xenial-2-node |
| 84 | |
| 85 | - job: |
Hidekazu Nakamura | 211d4f9 | 2018-01-09 10:29:17 +0900 | [diff] [blame] | 86 | name: patrole-multinode-member |
Felipe Monteiro | 25949b8 | 2017-11-29 23:25:34 +0000 | [diff] [blame] | 87 | parent: patrole-base-multinode |
dennisa | 795dae5 | 2018-01-29 18:02:46 +0530 | [diff] [blame] | 88 | run: playbooks/patrole-multinode-member/run.yaml |
| 89 | post-run: playbooks/patrole-multinode-member/post.yaml |
rajat29 | 0fc826d | 2017-11-21 00:06:00 +0530 | [diff] [blame] | 90 | voting: false |
| 91 | nodeset: legacy-ubuntu-xenial-2-node |
| 92 | |
| 93 | - job: |
Hidekazu Nakamura | 211d4f9 | 2018-01-09 10:29:17 +0900 | [diff] [blame] | 94 | name: patrole-py35-member |
Felipe Monteiro | 25949b8 | 2017-11-29 23:25:34 +0000 | [diff] [blame] | 95 | parent: patrole-base |
Felipe Monteiro | 097d94c | 2018-02-25 13:48:14 +0000 | [diff] [blame] | 96 | description: Patrole py3 job for Member role. |
| 97 | vars: |
| 98 | devstack_localrc: |
| 99 | # Use Member for py3 because arguably negative testing is more |
| 100 | # important than admin, which is already covered by patrole-admin job. |
| 101 | RBAC_TEST_ROLE: Member |
Doug Hellmann | 8669a51 | 2018-03-22 17:42:03 -0400 | [diff] [blame] | 102 | USE_PYTHON3: true |
Felipe Monteiro | 097d94c | 2018-02-25 13:48:14 +0000 | [diff] [blame] | 103 | 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 |
rajat29 | 0fc826d | 2017-11-21 00:06:00 +0530 | [diff] [blame] | 110 | |
| 111 | - project: |
rajat29 | 0fc826d | 2017-11-21 00:06:00 +0530 | [diff] [blame] | 112 | check: |
| 113 | jobs: |
Hidekazu Nakamura | 211d4f9 | 2018-01-09 10:29:17 +0900 | [diff] [blame] | 114 | - patrole-admin |
| 115 | - patrole-member |
Felipe Monteiro | 4c3ae9b | 2018-02-25 18:33:32 +0000 | [diff] [blame^] | 116 | - patrole-member-queens |
| 117 | - patrole-member-pike |
Hidekazu Nakamura | 211d4f9 | 2018-01-09 10:29:17 +0900 | [diff] [blame] | 118 | - patrole-py35-member |
| 119 | - patrole-multinode-admin |
| 120 | - patrole-multinode-member |
Doug Hellmann | 8669a51 | 2018-03-22 17:42:03 -0400 | [diff] [blame] | 121 | - openstack-tox-lower-constraints |
rajat29 | 0fc826d | 2017-11-21 00:06:00 +0530 | [diff] [blame] | 122 | gate: |
| 123 | jobs: |
Hidekazu Nakamura | 211d4f9 | 2018-01-09 10:29:17 +0900 | [diff] [blame] | 124 | - patrole-admin |
| 125 | - patrole-member |
Felipe Monteiro | 4c3ae9b | 2018-02-25 18:33:32 +0000 | [diff] [blame^] | 126 | - patrole-member-queens |
| 127 | - patrole-member-pike |
Hidekazu Nakamura | 211d4f9 | 2018-01-09 10:29:17 +0900 | [diff] [blame] | 128 | - patrole-py35-member |
Doug Hellmann | 8669a51 | 2018-03-22 17:42:03 -0400 | [diff] [blame] | 129 | - openstack-tox-lower-constraints |