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 | ssl.sls: |
| 43 | keystone: |
| 44 | server: |
| 45 | identity: |
| 46 | protocol: https |
| 47 | database: |
| 48 | x509: |
| 49 | enabled: True |
| 50 | ca_file: /etc/keystone/ssl/mysql/ca-cert.pem |
| 51 | key_file: /etc/keystone/ssl/mysql/client-key.pem |
| 52 | cert_file: /etc/keystone/ssl/mysql/client-cert.pem |
| 53 | cacert: | |
| 54 | -----BEGIN CERTIFICATE----- |
| 55 | MIIFzzCCA7egAwIBAgIIe7zZ8hCvkgowDQYJKoZIhvcNAQELBQAwSjELMAkGA1UE |
| 56 | -----END CERTIFICATE----- |
| 57 | cert: | |
| 58 | -----BEGIN CERTIFICATE----- |
| 59 | MIIGSjCCBDKgAwIBAgIJAIHRPs2rZbLvMA0GCSqGSIb3DQEBCwUAMEoxCzAJBgNV |
| 60 | -----END CERTIFICATE----- |
| 61 | key: | |
| 62 | -----BEGIN RSA PRIVATE KEY----- |
| 63 | MIIJKQIBAAKCAgEAq0m4kOIITliYea07yJnlSRNY0o6NaykiteSfHGauiub4lNQJ |
| 64 | -----END RSA PRIVATE KEY----- |
| 65 | ssl: |
| 66 | enabled: True |
| 67 | cacert_file: /etc/keystone/ssl/mysql/ca-cert.pem |
| 68 | cacert: | |
| 69 | -----BEGIN CERTIFICATE----- |
| 70 | MIIFzzCCA7egAwIBAgIIe7zZ8hCvkgowDQYJKoZIhvcNAQELBQAwSjELMAkGA1UE |
| 71 | -----END CERTIFICATE----- |
| 72 | message_queue: |
| 73 | port: 5671 |
| 74 | ssl: |
| 75 | enabled: True |
| 76 | cacert_file: /etc/keystone/ssl/mysql/ca-cert.pem |
| 77 | cacert: | |
| 78 | -----BEGIN CERTIFICATE----- |
| 79 | MIIFzzCCA7egAwIBAgIIe7zZ8hCvkgowDQYJKoZIhvcNAQELBQAwSjELMAkGA1UE |
| 80 | -----END CERTIFICATE----- |
Petr Michalec | e9a6c2a | 2017-03-05 20:14:34 +0100 | [diff] [blame] | 81 | top.sls: |
| 82 | base: |
| 83 | "*": |
| 84 | - linux_repo_openstack |
| 85 | - keystone |
sgarbuz | 96532ba | 2018-11-16 13:14:57 +0200 | [diff] [blame] | 86 | - release |
Petr Michalec | e9a6c2a | 2017-03-05 20:14:34 +0100 | [diff] [blame] | 87 | |
| 88 | verifier: |
| 89 | name: inspec |
| 90 | sudo: true |
| 91 | |
Martin Polreich | 757410e | 2018-12-17 16:00:42 +0100 | [diff] [blame] | 92 | docker_images: |
| 93 | - &xenial-20177 <%=ENV['IMAGE_XENIAL_20177'] || 'docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-2017.7/salt:2018_11_19'%> |
| 94 | - &xenial-stable <%=ENV['IMAGE_XENIAL_STABLE'] || 'docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-stable/salt:2018_11_19'%> |
| 95 | |
Petr Michalec | e9a6c2a | 2017-03-05 20:14:34 +0100 | [diff] [blame] | 96 | platforms: |
Martin Polreich | 757410e | 2018-12-17 16:00:42 +0100 | [diff] [blame] | 97 | - name: xenial-2017.7 |
Petr Michalec | e9a6c2a | 2017-03-05 20:14:34 +0100 | [diff] [blame] | 98 | driver_config: |
Martin Polreich | 757410e | 2018-12-17 16:00:42 +0100 | [diff] [blame] | 99 | image: *xenial-20177 |
| 100 | platform: ubuntu |
| 101 | |
| 102 | - name: xenial-stable |
| 103 | driver_config: |
| 104 | image: *xenial-stable |
Petr Michalec | e9a6c2a | 2017-03-05 20:14:34 +0100 | [diff] [blame] | 105 | platform: ubuntu |
Petr Michalec | e9a6c2a | 2017-03-05 20:14:34 +0100 | [diff] [blame] | 106 | |
| 107 | suites: |
Martin Polreich | 757410e | 2018-12-17 16:00:42 +0100 | [diff] [blame] | 108 | <% for os_version in ['ocata','pike','queens','rocky'] %> |
| 109 | <% for mysql_version in ['5.7'] %> |
| 110 | - name: single_<%=mysql_version%>_<%=os_version%> |
Petr Michalec | e9a6c2a | 2017-03-05 20:14:34 +0100 | [diff] [blame] | 111 | provisioner: |
| 112 | pillars-from-files: |
| 113 | keystone.sls: tests/pillar/single.sls |
Martin Polreich | 757410e | 2018-12-17 16:00:42 +0100 | [diff] [blame] | 114 | linux_repo_openstack.sls: tests/pillar/repo_mcp_openstack_<%=os_version%>.sls |
sgarbuz | c4b6ed9 | 2019-01-15 11:53:08 +0200 | [diff] [blame^] | 115 | state_top: |
| 116 | base: |
| 117 | "*": |
| 118 | - linux |
| 119 | - mysql |
| 120 | - apache |
| 121 | - keystone |
sgarbuz | 96532ba | 2018-11-16 13:14:57 +0200 | [diff] [blame] | 122 | pillars: |
Martin Polreich | 757410e | 2018-12-17 16:00:42 +0100 | [diff] [blame] | 123 | mysql_platform_specific.sls: |
| 124 | mysql: |
| 125 | server: |
| 126 | version: "<%=mysql_version%>" |
sgarbuz | c4b6ed9 | 2019-01-15 11:53:08 +0200 | [diff] [blame^] | 127 | release.sls: |
| 128 | keystone: |
| 129 | server: |
| 130 | version: <%=os_version%> |
| 131 | verifier: |
| 132 | inspec_tests: |
| 133 | - tests/integration/<%=os_version%>/single |
Martin Polreich | 757410e | 2018-12-17 16:00:42 +0100 | [diff] [blame] | 134 | |
| 135 | - name: single_ssl_<%=mysql_version%>_<%=os_version%> |
| 136 | provisioner: |
| 137 | pillars-from-files: |
| 138 | keystone.sls: tests/pillar/single.sls |
| 139 | linux_repo_openstack.sls: tests/pillar/repo_mcp_openstack_<%=os_version%>.sls |
Petr Michalec | e9a6c2a | 2017-03-05 20:14:34 +0100 | [diff] [blame] | 140 | state_top: |
| 141 | base: |
| 142 | "*": |
| 143 | - linux |
| 144 | - mysql |
| 145 | - apache |
| 146 | - keystone |
Martin Polreich | 757410e | 2018-12-17 16:00:42 +0100 | [diff] [blame] | 147 | pillars: |
| 148 | mysql_platform_specific.sls: |
| 149 | mysql: |
| 150 | server: |
| 151 | version: "<%=mysql_version%>" |
sgarbuz | c4b6ed9 | 2019-01-15 11:53:08 +0200 | [diff] [blame^] | 152 | top.sls: |
| 153 | base: |
| 154 | "*": |
| 155 | - linux_repo_openstack |
| 156 | - keystone |
| 157 | - release |
| 158 | - ssl |
| 159 | release.sls: |
| 160 | keystone: |
| 161 | server: |
| 162 | version: <%=os_version%> |
| 163 | verifier: |
| 164 | inspec_tests: |
| 165 | - tests/integration/<%=os_version%>/single |
| 166 | attributes: |
| 167 | ssl: true |
Martin Polreich | 757410e | 2018-12-17 16:00:42 +0100 | [diff] [blame] | 168 | <% end %> |
| 169 | <% end %> |
Petr Michalec | e9a6c2a | 2017-03-05 20:14:34 +0100 | [diff] [blame] | 170 | # vim: ft=yaml sw=2 ts=2 sts=2 tw=125 |