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 |
Felipe Monteiro | 2fc2929 | 2018-06-15 18:26:27 -0400 | [diff] [blame] | 4 | description: Patrole base job for admin and member roles. |
Felipe Monteiro | 097d94c | 2018-02-25 13:48:14 +0000 | [diff] [blame] | 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 |
Felipe Monteiro | 318fa3b | 2018-06-19 16:53:33 -0400 | [diff] [blame^] | 32 | 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. |
rajat29 | 0fc826d | 2017-11-21 00:06:00 +0530 | [diff] [blame] | 39 | timeout: 7800 |
Felipe Monteiro | 318fa3b | 2018-06-19 16:53:33 -0400 | [diff] [blame^] | 40 | branches: |
| 41 | - master |
| 42 | required-projects: |
| 43 | - openstack-infra/devstack-gate |
| 44 | - openstack/tempest |
| 45 | - openstack/patrole |
rajat29 | 0fc826d | 2017-11-21 00:06:00 +0530 | [diff] [blame] | 46 | irrelevant-files: |
| 47 | - ^(test-|)requirements.txt$ |
| 48 | - ^.*\.rst$ |
| 49 | - ^doc/.* |
| 50 | - ^patrole/patrole_tempest_plugin/tests/unit/.*$ |
| 51 | - ^releasenotes/.* |
| 52 | - ^setup.cfg$ |
Felipe Monteiro | 318fa3b | 2018-06-19 16:53:33 -0400 | [diff] [blame^] | 53 | 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 |
rajat29 | 0fc826d | 2017-11-21 00:06:00 +0530 | [diff] [blame] | 64 | |
| 65 | - job: |
Hidekazu Nakamura | 211d4f9 | 2018-01-09 10:29:17 +0900 | [diff] [blame] | 66 | name: patrole-admin |
Felipe Monteiro | 25949b8 | 2017-11-29 23:25:34 +0000 | [diff] [blame] | 67 | parent: patrole-base |
Felipe Monteiro | 097d94c | 2018-02-25 13:48:14 +0000 | [diff] [blame] | 68 | description: Patrole job for admin role. |
| 69 | vars: |
| 70 | devstack_localrc: |
| 71 | RBAC_TEST_ROLE: admin |
rajat29 | 0fc826d | 2017-11-21 00:06:00 +0530 | [diff] [blame] | 72 | |
| 73 | - job: |
Hidekazu Nakamura | 211d4f9 | 2018-01-09 10:29:17 +0900 | [diff] [blame] | 74 | name: patrole-member |
Felipe Monteiro | 25949b8 | 2017-11-29 23:25:34 +0000 | [diff] [blame] | 75 | parent: patrole-base |
Felipe Monteiro | 2fc2929 | 2018-06-15 18:26:27 -0400 | [diff] [blame] | 76 | description: Patrole job for member role. |
Felipe Monteiro | 4c3ae9b | 2018-02-25 18:33:32 +0000 | [diff] [blame] | 77 | # This currently works from stable/pike onward. |
| 78 | branches: |
| 79 | - master |
| 80 | - stable/queens |
| 81 | - stable/pike |
Felipe Monteiro | 097d94c | 2018-02-25 13:48:14 +0000 | [diff] [blame] | 82 | vars: |
| 83 | devstack_localrc: |
Felipe Monteiro | 2fc2929 | 2018-06-15 18:26:27 -0400 | [diff] [blame] | 84 | RBAC_TEST_ROLE: member |
rajat29 | 0fc826d | 2017-11-21 00:06:00 +0530 | [diff] [blame] | 85 | |
| 86 | - job: |
Felipe Monteiro | 4c3ae9b | 2018-02-25 18:33:32 +0000 | [diff] [blame] | 87 | 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 Nakamura | 211d4f9 | 2018-01-09 10:29:17 +0900 | [diff] [blame] | 97 | name: patrole-multinode-admin |
Felipe Monteiro | 25949b8 | 2017-11-29 23:25:34 +0000 | [diff] [blame] | 98 | parent: patrole-base-multinode |
rajat29 | 0fc826d | 2017-11-21 00:06:00 +0530 | [diff] [blame] | 99 | voting: false |
Felipe Monteiro | 318fa3b | 2018-06-19 16:53:33 -0400 | [diff] [blame^] | 100 | vars: |
| 101 | devstack_localrc: |
| 102 | RBAC_TEST_ROLE: admin |
rajat29 | 0fc826d | 2017-11-21 00:06:00 +0530 | [diff] [blame] | 103 | |
| 104 | - job: |
Hidekazu Nakamura | 211d4f9 | 2018-01-09 10:29:17 +0900 | [diff] [blame] | 105 | name: patrole-multinode-member |
Felipe Monteiro | 25949b8 | 2017-11-29 23:25:34 +0000 | [diff] [blame] | 106 | parent: patrole-base-multinode |
rajat29 | 0fc826d | 2017-11-21 00:06:00 +0530 | [diff] [blame] | 107 | voting: false |
Felipe Monteiro | 318fa3b | 2018-06-19 16:53:33 -0400 | [diff] [blame^] | 108 | vars: |
| 109 | devstack_localrc: |
| 110 | RBAC_TEST_ROLE: member |
rajat29 | 0fc826d | 2017-11-21 00:06:00 +0530 | [diff] [blame] | 111 | |
| 112 | - job: |
Hidekazu Nakamura | 211d4f9 | 2018-01-09 10:29:17 +0900 | [diff] [blame] | 113 | name: patrole-py35-member |
Felipe Monteiro | 25949b8 | 2017-11-29 23:25:34 +0000 | [diff] [blame] | 114 | parent: patrole-base |
Felipe Monteiro | 2fc2929 | 2018-06-15 18:26:27 -0400 | [diff] [blame] | 115 | description: Patrole py35 job for member role. |
Felipe Monteiro | 097d94c | 2018-02-25 13:48:14 +0000 | [diff] [blame] | 116 | vars: |
| 117 | devstack_localrc: |
Felipe Monteiro | 2fc2929 | 2018-06-15 18:26:27 -0400 | [diff] [blame] | 118 | # Use member for py35 because arguably negative testing is more |
Felipe Monteiro | 097d94c | 2018-02-25 13:48:14 +0000 | [diff] [blame] | 119 | # important than admin, which is already covered by patrole-admin job. |
Felipe Monteiro | 2fc2929 | 2018-06-15 18:26:27 -0400 | [diff] [blame] | 120 | RBAC_TEST_ROLE: member |
Doug Hellmann | 8669a51 | 2018-03-22 17:42:03 -0400 | [diff] [blame] | 121 | USE_PYTHON3: true |
Felipe Monteiro | 097d94c | 2018-02-25 13:48:14 +0000 | [diff] [blame] | 122 | 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 |
rajat29 | 0fc826d | 2017-11-21 00:06:00 +0530 | [diff] [blame] | 129 | |
| 130 | - project: |
rajat29 | 0fc826d | 2017-11-21 00:06:00 +0530 | [diff] [blame] | 131 | check: |
| 132 | jobs: |
Hidekazu Nakamura | 211d4f9 | 2018-01-09 10:29:17 +0900 | [diff] [blame] | 133 | - patrole-admin |
| 134 | - patrole-member |
Felipe Monteiro | 4c3ae9b | 2018-02-25 18:33:32 +0000 | [diff] [blame] | 135 | - patrole-member-queens |
| 136 | - patrole-member-pike |
Hidekazu Nakamura | 211d4f9 | 2018-01-09 10:29:17 +0900 | [diff] [blame] | 137 | - patrole-py35-member |
| 138 | - patrole-multinode-admin |
| 139 | - patrole-multinode-member |
Doug Hellmann | 8669a51 | 2018-03-22 17:42:03 -0400 | [diff] [blame] | 140 | - openstack-tox-lower-constraints |
rajat29 | 0fc826d | 2017-11-21 00:06:00 +0530 | [diff] [blame] | 141 | gate: |
| 142 | jobs: |
Hidekazu Nakamura | 211d4f9 | 2018-01-09 10:29:17 +0900 | [diff] [blame] | 143 | - patrole-admin |
| 144 | - patrole-member |