Petr Michalec | e9a6c2a | 2017-03-05 20:14:34 +0100 | [diff] [blame] | 1 | --- |
| 2 | driver: |
| 3 | name: docker |
| 4 | hostname: keystone.ci.local |
Filip Pytloun | 8703129 | 2017-05-03 15:08:01 +0200 | [diff] [blame] | 5 | use_sudo: false |
Petr Michalec | e9a6c2a | 2017-03-05 20:14:34 +0100 | [diff] [blame] | 6 | |
| 7 | provisioner: |
| 8 | name: salt_solo |
| 9 | salt_install: bootstrap |
| 10 | salt_bootstrap_url: https://bootstrap.saltstack.com |
Martin Polreich | 757410e | 2018-12-17 16:00:42 +0100 | [diff] [blame] | 11 | salt_version: latest |
Petr Michalec | e9a6c2a | 2017-03-05 20:14:34 +0100 | [diff] [blame] | 12 | require_chef: false |
Martin Polreich | 962dfdd | 2017-06-08 14:04:14 +0200 | [diff] [blame] | 13 | log_level: error |
Petr Michalec | e9a6c2a | 2017-03-05 20:14:34 +0100 | [diff] [blame] | 14 | formula: keystone |
| 15 | grains: |
Vasyl Saienko | 778efdd | 2018-08-06 08:55:21 +0000 | [diff] [blame] | 16 | noservices: True |
Petr Michalec | e9a6c2a | 2017-03-05 20:14:34 +0100 | [diff] [blame] | 17 | dependencies: |
| 18 | - name: linux |
| 19 | repo: git |
sgarbuz | 96532ba | 2018-11-16 13:14:57 +0200 | [diff] [blame] | 20 | source: https://gerrit.mcp.mirantis.com/salt-formulas/linux |
Petr Michalec | e9a6c2a | 2017-03-05 20:14:34 +0100 | [diff] [blame] | 21 | - name: apache |
| 22 | repo: git |
sgarbuz | 96532ba | 2018-11-16 13:14:57 +0200 | [diff] [blame] | 23 | source: https://gerrit.mcp.mirantis.com/salt-formulas/apache |
Petr Michalec | e9a6c2a | 2017-03-05 20:14:34 +0100 | [diff] [blame] | 24 | - name: memcached |
| 25 | repo: git |
sgarbuz | 96532ba | 2018-11-16 13:14:57 +0200 | [diff] [blame] | 26 | source: https://gerrit.mcp.mirantis.com/salt-formulas/memcached |
Petr Michalec | e9a6c2a | 2017-03-05 20:14:34 +0100 | [diff] [blame] | 27 | - name: rabbitmq |
| 28 | repo: git |
sgarbuz | 96532ba | 2018-11-16 13:14:57 +0200 | [diff] [blame] | 29 | source: https://gerrit.mcp.mirantis.com/salt-formulas/rabbitmq |
| 30 | - name: oslo_templates |
| 31 | repo: git |
| 32 | source: https://gerrit.mcp.mirantis.com/salt-formulas/oslo-templates |
| 33 | - name: mysql |
| 34 | repo: git |
| 35 | source: https://gerrit.mcp.mirantis.com/salt-formulas/mysql |
Petr Michalec | e9a6c2a | 2017-03-05 20:14:34 +0100 | [diff] [blame] | 36 | state_top: |
| 37 | base: |
| 38 | "*": |
| 39 | - linux |
Petr Michalec | e9a6c2a | 2017-03-05 20:14:34 +0100 | [diff] [blame] | 40 | - keystone |
| 41 | pillars: |
sgarbuz | 96532ba | 2018-11-16 13:14:57 +0200 | [diff] [blame] | 42 | release.sls: |
| 43 | keystone: |
| 44 | server: |
| 45 | version: <%= ENV['OS_VERSION'] || 'pike' %> |
| 46 | ssl.sls: |
| 47 | keystone: |
| 48 | server: |
| 49 | identity: |
| 50 | protocol: https |
| 51 | database: |
| 52 | x509: |
| 53 | enabled: True |
| 54 | ca_file: /etc/keystone/ssl/mysql/ca-cert.pem |
| 55 | key_file: /etc/keystone/ssl/mysql/client-key.pem |
| 56 | cert_file: /etc/keystone/ssl/mysql/client-cert.pem |
| 57 | cacert: | |
| 58 | -----BEGIN CERTIFICATE----- |
| 59 | MIIFzzCCA7egAwIBAgIIe7zZ8hCvkgowDQYJKoZIhvcNAQELBQAwSjELMAkGA1UE |
| 60 | -----END CERTIFICATE----- |
| 61 | cert: | |
| 62 | -----BEGIN CERTIFICATE----- |
| 63 | MIIGSjCCBDKgAwIBAgIJAIHRPs2rZbLvMA0GCSqGSIb3DQEBCwUAMEoxCzAJBgNV |
| 64 | -----END CERTIFICATE----- |
| 65 | key: | |
| 66 | -----BEGIN RSA PRIVATE KEY----- |
| 67 | MIIJKQIBAAKCAgEAq0m4kOIITliYea07yJnlSRNY0o6NaykiteSfHGauiub4lNQJ |
| 68 | -----END RSA PRIVATE KEY----- |
| 69 | ssl: |
| 70 | enabled: True |
| 71 | cacert_file: /etc/keystone/ssl/mysql/ca-cert.pem |
| 72 | cacert: | |
| 73 | -----BEGIN CERTIFICATE----- |
| 74 | MIIFzzCCA7egAwIBAgIIe7zZ8hCvkgowDQYJKoZIhvcNAQELBQAwSjELMAkGA1UE |
| 75 | -----END CERTIFICATE----- |
| 76 | message_queue: |
| 77 | port: 5671 |
| 78 | ssl: |
| 79 | enabled: True |
| 80 | cacert_file: /etc/keystone/ssl/mysql/ca-cert.pem |
| 81 | cacert: | |
| 82 | -----BEGIN CERTIFICATE----- |
| 83 | MIIFzzCCA7egAwIBAgIIe7zZ8hCvkgowDQYJKoZIhvcNAQELBQAwSjELMAkGA1UE |
| 84 | -----END CERTIFICATE----- |
Petr Michalec | e9a6c2a | 2017-03-05 20:14:34 +0100 | [diff] [blame] | 85 | top.sls: |
| 86 | base: |
| 87 | "*": |
| 88 | - linux_repo_openstack |
| 89 | - keystone |
sgarbuz | 96532ba | 2018-11-16 13:14:57 +0200 | [diff] [blame] | 90 | - release |
Petr Michalec | e9a6c2a | 2017-03-05 20:14:34 +0100 | [diff] [blame] | 91 | |
| 92 | verifier: |
| 93 | name: inspec |
| 94 | sudo: true |
| 95 | |
Martin Polreich | 757410e | 2018-12-17 16:00:42 +0100 | [diff] [blame] | 96 | docker_images: |
| 97 | - &xenial-20177 <%=ENV['IMAGE_XENIAL_20177'] || 'docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-2017.7/salt:2018_11_19'%> |
| 98 | - &xenial-stable <%=ENV['IMAGE_XENIAL_STABLE'] || 'docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-stable/salt:2018_11_19'%> |
| 99 | |
Petr Michalec | e9a6c2a | 2017-03-05 20:14:34 +0100 | [diff] [blame] | 100 | platforms: |
Martin Polreich | 757410e | 2018-12-17 16:00:42 +0100 | [diff] [blame] | 101 | - name: xenial-2017.7 |
Petr Michalec | e9a6c2a | 2017-03-05 20:14:34 +0100 | [diff] [blame] | 102 | driver_config: |
Martin Polreich | 757410e | 2018-12-17 16:00:42 +0100 | [diff] [blame] | 103 | image: *xenial-20177 |
| 104 | platform: ubuntu |
| 105 | |
| 106 | - name: xenial-stable |
| 107 | driver_config: |
| 108 | image: *xenial-stable |
Petr Michalec | e9a6c2a | 2017-03-05 20:14:34 +0100 | [diff] [blame] | 109 | platform: ubuntu |
Petr Michalec | e9a6c2a | 2017-03-05 20:14:34 +0100 | [diff] [blame] | 110 | |
| 111 | suites: |
Martin Polreich | 757410e | 2018-12-17 16:00:42 +0100 | [diff] [blame] | 112 | <% for os_version in ['ocata','pike','queens','rocky'] %> |
| 113 | <% for mysql_version in ['5.7'] %> |
| 114 | - name: single_<%=mysql_version%>_<%=os_version%> |
Petr Michalec | e9a6c2a | 2017-03-05 20:14:34 +0100 | [diff] [blame] | 115 | provisioner: |
| 116 | pillars-from-files: |
| 117 | keystone.sls: tests/pillar/single.sls |
Martin Polreich | 757410e | 2018-12-17 16:00:42 +0100 | [diff] [blame] | 118 | linux_repo_openstack.sls: tests/pillar/repo_mcp_openstack_<%=os_version%>.sls |
sgarbuz | 96532ba | 2018-11-16 13:14:57 +0200 | [diff] [blame] | 119 | pillars: |
Martin Polreich | 757410e | 2018-12-17 16:00:42 +0100 | [diff] [blame] | 120 | mysql_platform_specific.sls: |
| 121 | mysql: |
| 122 | server: |
| 123 | version: "<%=mysql_version%>" |
| 124 | |
| 125 | - name: single_ssl_<%=mysql_version%>_<%=os_version%> |
| 126 | provisioner: |
| 127 | pillars-from-files: |
| 128 | keystone.sls: tests/pillar/single.sls |
| 129 | linux_repo_openstack.sls: tests/pillar/repo_mcp_openstack_<%=os_version%>.sls |
| 130 | pillars: |
| 131 | mysql_platform_specific.sls: |
| 132 | mysql: |
| 133 | server: |
| 134 | version: "<%=mysql_version%>" |
sgarbuz | 96532ba | 2018-11-16 13:14:57 +0200 | [diff] [blame] | 135 | top.sls: |
| 136 | base: |
| 137 | "*": |
| 138 | - linux_repo_openstack |
| 139 | - keystone |
| 140 | - release |
| 141 | - ssl |
| 142 | |
Martin Polreich | 757410e | 2018-12-17 16:00:42 +0100 | [diff] [blame] | 143 | - name: single_domain_<%=mysql_version%>_<%=os_version%> |
Filip Pytloun | 54c4566 | 2017-09-07 16:43:54 +0200 | [diff] [blame] | 144 | provisioner: |
Filip Pytloun | 54c4566 | 2017-09-07 16:43:54 +0200 | [diff] [blame] | 145 | pillars-from-files: |
| 146 | keystone.sls: tests/pillar/single_domain.sls |
Martin Polreich | 757410e | 2018-12-17 16:00:42 +0100 | [diff] [blame] | 147 | linux_repo_openstack.sls: tests/pillar/repo_mcp_openstack_<%=os_version%>.sls |
| 148 | pillars: |
| 149 | mysql_platform_specific.sls: |
| 150 | mysql: |
| 151 | server: |
| 152 | version: "<%=mysql_version%>" |
Filip Pytloun | 54c4566 | 2017-09-07 16:43:54 +0200 | [diff] [blame] | 153 | |
Martin Polreich | 757410e | 2018-12-17 16:00:42 +0100 | [diff] [blame] | 154 | - name: single_fernet_<%=mysql_version%>_<%=os_version%> |
Petr Michalec | e9a6c2a | 2017-03-05 20:14:34 +0100 | [diff] [blame] | 155 | provisioner: |
| 156 | pillars-from-files: |
| 157 | keystone.sls: tests/pillar/single_fernet.sls |
Martin Polreich | 757410e | 2018-12-17 16:00:42 +0100 | [diff] [blame] | 158 | linux_repo_openstack.sls: tests/pillar/repo_mcp_openstack_<%=os_version%>.sls |
| 159 | pillars: |
| 160 | mysql_platform_specific.sls: |
| 161 | mysql: |
| 162 | server: |
| 163 | version: "<%=mysql_version%>" |
Petr Michalec | e9a6c2a | 2017-03-05 20:14:34 +0100 | [diff] [blame] | 164 | |
Martin Polreich | 757410e | 2018-12-17 16:00:42 +0100 | [diff] [blame] | 165 | - name: under-apache_<%=mysql_version%>_<%=os_version%> |
Petr Michalec | e9a6c2a | 2017-03-05 20:14:34 +0100 | [diff] [blame] | 166 | provisioner: |
Petr Michalec | e9a6c2a | 2017-03-05 20:14:34 +0100 | [diff] [blame] | 167 | pillars-from-files: |
| 168 | keystone.sls: tests/pillar/apache_wsgi.sls |
Martin Polreich | 757410e | 2018-12-17 16:00:42 +0100 | [diff] [blame] | 169 | linux_repo_openstack.sls: tests/pillar/repo_mcp_openstack_<%=os_version%>.sls |
Petr Michalec | e9a6c2a | 2017-03-05 20:14:34 +0100 | [diff] [blame] | 170 | state_top: |
| 171 | base: |
| 172 | "*": |
| 173 | - linux |
| 174 | - mysql |
| 175 | - apache |
| 176 | - keystone |
Martin Polreich | 757410e | 2018-12-17 16:00:42 +0100 | [diff] [blame] | 177 | pillars: |
| 178 | mysql_platform_specific.sls: |
| 179 | mysql: |
| 180 | server: |
| 181 | version: "<%=mysql_version%>" |
| 182 | <% end %> |
| 183 | <% end %> |
Petr Michalec | e9a6c2a | 2017-03-05 20:14:34 +0100 | [diff] [blame] | 184 | # vim: ft=yaml sw=2 ts=2 sts=2 tw=125 |