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 |
Martin Polreich | 266b8c1 | 2019-04-10 08:21:44 +0200 | [diff] [blame] | 21 | branch: <%=ENV['GERRIT_BRANCH'] || 'master' %> |
Petr Michalec | e9a6c2a | 2017-03-05 20:14:34 +0100 | [diff] [blame] | 22 | - name: apache |
| 23 | repo: git |
sgarbuz | 96532ba | 2018-11-16 13:14:57 +0200 | [diff] [blame] | 24 | source: https://gerrit.mcp.mirantis.com/salt-formulas/apache |
Martin Polreich | 266b8c1 | 2019-04-10 08:21:44 +0200 | [diff] [blame] | 25 | branch: <%=ENV['GERRIT_BRANCH'] || 'master' %> |
Petr Michalec | e9a6c2a | 2017-03-05 20:14:34 +0100 | [diff] [blame] | 26 | - name: memcached |
| 27 | repo: git |
sgarbuz | 96532ba | 2018-11-16 13:14:57 +0200 | [diff] [blame] | 28 | source: https://gerrit.mcp.mirantis.com/salt-formulas/memcached |
Martin Polreich | 266b8c1 | 2019-04-10 08:21:44 +0200 | [diff] [blame] | 29 | branch: <%=ENV['GERRIT_BRANCH'] || 'master' %> |
Petr Michalec | e9a6c2a | 2017-03-05 20:14:34 +0100 | [diff] [blame] | 30 | - name: rabbitmq |
| 31 | repo: git |
sgarbuz | 96532ba | 2018-11-16 13:14:57 +0200 | [diff] [blame] | 32 | source: https://gerrit.mcp.mirantis.com/salt-formulas/rabbitmq |
Martin Polreich | 266b8c1 | 2019-04-10 08:21:44 +0200 | [diff] [blame] | 33 | branch: <%=ENV['GERRIT_BRANCH'] || 'master' %> |
sgarbuz | 96532ba | 2018-11-16 13:14:57 +0200 | [diff] [blame] | 34 | - name: oslo_templates |
| 35 | repo: git |
| 36 | source: https://gerrit.mcp.mirantis.com/salt-formulas/oslo-templates |
Martin Polreich | 266b8c1 | 2019-04-10 08:21:44 +0200 | [diff] [blame] | 37 | branch: <%=ENV['GERRIT_BRANCH'] || 'master' %> |
sgarbuz | 96532ba | 2018-11-16 13:14:57 +0200 | [diff] [blame] | 38 | - name: mysql |
| 39 | repo: git |
| 40 | source: https://gerrit.mcp.mirantis.com/salt-formulas/mysql |
Martin Polreich | 266b8c1 | 2019-04-10 08:21:44 +0200 | [diff] [blame] | 41 | branch: <%=ENV['GERRIT_BRANCH'] || 'master' %> |
Petr Michalec | e9a6c2a | 2017-03-05 20:14:34 +0100 | [diff] [blame] | 42 | state_top: |
| 43 | base: |
| 44 | "*": |
| 45 | - linux |
Petr Michalec | e9a6c2a | 2017-03-05 20:14:34 +0100 | [diff] [blame] | 46 | - keystone |
| 47 | pillars: |
sgarbuz | 96532ba | 2018-11-16 13:14:57 +0200 | [diff] [blame] | 48 | ssl.sls: |
| 49 | keystone: |
| 50 | server: |
| 51 | identity: |
| 52 | protocol: https |
| 53 | database: |
| 54 | x509: |
| 55 | enabled: True |
| 56 | ca_file: /etc/keystone/ssl/mysql/ca-cert.pem |
| 57 | key_file: /etc/keystone/ssl/mysql/client-key.pem |
| 58 | cert_file: /etc/keystone/ssl/mysql/client-cert.pem |
| 59 | cacert: | |
| 60 | -----BEGIN CERTIFICATE----- |
| 61 | MIIFzzCCA7egAwIBAgIIe7zZ8hCvkgowDQYJKoZIhvcNAQELBQAwSjELMAkGA1UE |
| 62 | -----END CERTIFICATE----- |
| 63 | cert: | |
| 64 | -----BEGIN CERTIFICATE----- |
| 65 | MIIGSjCCBDKgAwIBAgIJAIHRPs2rZbLvMA0GCSqGSIb3DQEBCwUAMEoxCzAJBgNV |
| 66 | -----END CERTIFICATE----- |
| 67 | key: | |
| 68 | -----BEGIN RSA PRIVATE KEY----- |
| 69 | MIIJKQIBAAKCAgEAq0m4kOIITliYea07yJnlSRNY0o6NaykiteSfHGauiub4lNQJ |
| 70 | -----END RSA PRIVATE KEY----- |
| 71 | ssl: |
| 72 | enabled: True |
| 73 | cacert_file: /etc/keystone/ssl/mysql/ca-cert.pem |
| 74 | cacert: | |
| 75 | -----BEGIN CERTIFICATE----- |
| 76 | MIIFzzCCA7egAwIBAgIIe7zZ8hCvkgowDQYJKoZIhvcNAQELBQAwSjELMAkGA1UE |
| 77 | -----END CERTIFICATE----- |
| 78 | message_queue: |
| 79 | port: 5671 |
| 80 | ssl: |
| 81 | enabled: True |
| 82 | cacert_file: /etc/keystone/ssl/mysql/ca-cert.pem |
| 83 | cacert: | |
| 84 | -----BEGIN CERTIFICATE----- |
| 85 | MIIFzzCCA7egAwIBAgIIe7zZ8hCvkgowDQYJKoZIhvcNAQELBQAwSjELMAkGA1UE |
| 86 | -----END CERTIFICATE----- |
Petr Michalec | e9a6c2a | 2017-03-05 20:14:34 +0100 | [diff] [blame] | 87 | top.sls: |
| 88 | base: |
| 89 | "*": |
| 90 | - linux_repo_openstack |
| 91 | - keystone |
sgarbuz | 96532ba | 2018-11-16 13:14:57 +0200 | [diff] [blame] | 92 | - release |
Petr Michalec | e9a6c2a | 2017-03-05 20:14:34 +0100 | [diff] [blame] | 93 | |
| 94 | verifier: |
| 95 | name: inspec |
| 96 | sudo: true |
| 97 | |
Martin Polreich | 757410e | 2018-12-17 16:00:42 +0100 | [diff] [blame] | 98 | docker_images: |
Martin Polreich | 5b026d7 | 2019-10-14 18:38:48 +0200 | [diff] [blame^] | 99 | - &xenial-20177 <%=ENV['IMAGE_XENIAL_20177'] || 'docker-dev-local.docker.mirantis.net/mirantis/drivetrain/salt-formulas-ci/salt-formulas-ci-xenial-2017.7:latest'%> |
Martin Polreich | 757410e | 2018-12-17 16:00:42 +0100 | [diff] [blame] | 100 | |
Petr Michalec | e9a6c2a | 2017-03-05 20:14:34 +0100 | [diff] [blame] | 101 | platforms: |
Martin Polreich | 757410e | 2018-12-17 16:00:42 +0100 | [diff] [blame] | 102 | - name: xenial-2017.7 |
Petr Michalec | e9a6c2a | 2017-03-05 20:14:34 +0100 | [diff] [blame] | 103 | driver_config: |
Martin Polreich | 757410e | 2018-12-17 16:00:42 +0100 | [diff] [blame] | 104 | image: *xenial-20177 |
| 105 | platform: ubuntu |
| 106 | |
Petr Michalec | e9a6c2a | 2017-03-05 20:14:34 +0100 | [diff] [blame] | 107 | suites: |
Martin Polreich | 5b026d7 | 2019-10-14 18:38:48 +0200 | [diff] [blame^] | 108 | <% for os_version in ['pike','queens','rocky'] %> |
Martin Polreich | 757410e | 2018-12-17 16:00:42 +0100 | [diff] [blame] | 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 |