Martin Polreich | b948172 | 2018-01-22 12:08:23 +0100 | [diff] [blame] | 1 | --- |
| 2 | driver: |
| 3 | name: docker |
| 4 | hostname: barbican.ci.local |
| 5 | use_sudo: false |
| 6 | |
| 7 | provisioner: |
| 8 | name: salt_solo |
| 9 | salt_install: bootstrap |
| 10 | salt_bootstrap_url: https://bootstrap.saltstack.com |
| 11 | salt_version: latest |
| 12 | require_chef: false |
| 13 | log_level: error |
| 14 | formula: barbican |
| 15 | grains: |
| 16 | noservices: True |
Vasyl Saienko | 88bc10b | 2018-03-03 04:22:03 +0200 | [diff] [blame] | 17 | dependencies: |
| 18 | - name: apache |
| 19 | repo: git |
Martin Polreich | 77836a8 | 2018-11-29 12:29:07 +0100 | [diff] [blame] | 20 | source: https://gerrit.mcp.mirantis.com/salt-formulas/apache |
Michael Polenchuk | 3864611 | 2018-12-18 15:53:07 +0400 | [diff] [blame] | 21 | - name: oslo_templates |
| 22 | repo: git |
| 23 | source: https://gerrit.mcp.mirantis.com/salt-formulas/oslo-templates |
Martin Polreich | b948172 | 2018-01-22 12:08:23 +0100 | [diff] [blame] | 24 | state_top: |
| 25 | base: |
| 26 | "*": |
Vasyl Saienko | 88bc10b | 2018-03-03 04:22:03 +0200 | [diff] [blame] | 27 | - apache |
Martin Polreich | b948172 | 2018-01-22 12:08:23 +0100 | [diff] [blame] | 28 | - barbican |
| 29 | pillars: |
Michael Polenchuk | 3864611 | 2018-12-18 15:53:07 +0400 | [diff] [blame] | 30 | ssl.sls: |
| 31 | barbican: |
| 32 | server: |
| 33 | identity: |
| 34 | engine: keystone |
| 35 | host: 10.0.106.20 |
| 36 | port: 35357 |
| 37 | domain: default |
| 38 | tenant: service |
| 39 | user: barbican |
| 40 | password: password |
| 41 | database: |
| 42 | engine: "mysql+pymysql" |
| 43 | host: 10.0.106.20 |
| 44 | port: 3306 |
| 45 | name: barbican |
| 46 | user: barbican |
| 47 | password: password |
| 48 | x509: |
| 49 | enabled: True |
| 50 | ca_file: /etc/barbican/ssl/mysql/ca-cert.pem |
| 51 | key_file: /etc/barbican/ssl/mysql/client-key.pem |
| 52 | cert_file: /etc/barbican/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/barbican/ssl/mysql/ca-cert.pem |
| 68 | cacert: | |
| 69 | -----BEGIN CERTIFICATE----- |
| 70 | MIIFzzCCA7egAwIBAgIIe7zZ8hCvkgowDQYJKoZIhvcNAQELBQAwSjELMAkGA1UE |
| 71 | -----END CERTIFICATE----- |
| 72 | message_queue: |
| 73 | engine: rabbitmq |
| 74 | user: openstack |
| 75 | password: password |
| 76 | virtual_host: '/openstack' |
| 77 | members: |
| 78 | - host: 10.10.10.10 |
| 79 | port: 5672 |
| 80 | - host: 10.10.10.11 |
| 81 | port: 5672 |
| 82 | - host: 10.10.10.12 |
| 83 | port: 5672 |
| 84 | port: 5671 |
| 85 | ssl: |
| 86 | # Case #1: specify cacert file and ca cert body explicitly |
| 87 | enabled: True |
| 88 | cacert_file: /etc/barbican/ssl/rabbitmq_cacert.pem |
| 89 | cacert: | |
| 90 | -----BEGIN CERTIFICATE----- |
| 91 | MIIF0TCCA7mgAwIBAgIJAMHIQpWZYGDTMA0GCSqGSIb3DQEBCwUAMEoxCzAJBgNV |
| 92 | BAYTAmN6MRcwFQYDVQQDDA5TYWx0IE1hc3RlciBDQTEPMA0GA1UEBwwGUHJhZ3Vl |
| 93 | MREwDwYDVQQKDAhNaXJhbnRpczAeFw0xNzA4MTQxMTI2MDdaFw0yNzA4MTIxMTI2 |
| 94 | MDdaMEoxCzAJBgNVBAYTAmN6MRcwFQYDVQQDDA5TYWx0IE1hc3RlciBDQTEPMA0G |
| 95 | A1UEBwwGUHJhZ3VlMREwDwYDVQQKDAhNaXJhbnRpczCCAiIwDQYJKoZIhvcNAQEB |
| 96 | BQADggIPADCCAgoCggIBAL596jeUmim5bo0J52vPylX8xZOCaCvW9wlSYbk143dU |
| 97 | x7sqlAbPePvN6jj44BrYV01F4rCn9uxuaFLrbjF4rUDp81F0yMqghwyLmlTgJBOq |
| 98 | AMNiEtrBUwmenJPuM55IYeO9OFbPeBvZyqKy2IG18GbK35QE85rOgaEfgDIkVeV9 |
| 99 | yNB8b+yftn3ebRZCceU5lx/o+w2eQkuyloy1F5QC7U2MhGF2ekLX79s8x+LNlbiO |
| 100 | EF1D/FWFor3HY9DwNlg7U99mVID2Bj8lPPt4dW8JDMKkghh+S797l3H6RYKHhIvs |
| 101 | wi+50ljhk5nHl+qCooGKuGZ2WokrGXWkoDfrrpl//7FFRPwauoU/akDVfoWYffqx |
| 102 | jnvlQFkAlI3S5F/vwJGI1JGvPv5p5uRxPJEeMI0Sp9bVrznHGCgaJyY+vIBoZCwS |
| 103 | i0t16gsgeezcu44Y65crv4XNOBKOS+KqvMwdzzukOj9YsYwNnlLly0VvTEdxTwwI |
| 104 | 7NopRglUQrLusjZ5wwe23kf07xVxC98e1LRQzR5oEAUKkDrQzjmXBfcV92GrE3s7 |
| 105 | 1L4dvfXUE1mVxabhBCoS6kO3JQGPK+1LJDIs/F0uVVtOy/oz6mIdV2scCteFRAbm |
| 106 | BhfEoVbaYNlUxlNGno2I/HEep4P0DrFPQi0ZmGfvNO6t3EvTSnWcsUL9h55wZ3Pl |
| 107 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|
| 122 | /86PB1o= |
| 123 | -----END CERTIFICATE----- |
Martin Polreich | b948172 | 2018-01-22 12:08:23 +0100 | [diff] [blame] | 124 | top.sls: |
| 125 | base: |
| 126 | "*": |
| 127 | - barbican |
Michael Polenchuk | 3864611 | 2018-12-18 15:53:07 +0400 | [diff] [blame] | 128 | - linux_repo_openstack |
| 129 | - release |
Martin Polreich | b948172 | 2018-01-22 12:08:23 +0100 | [diff] [blame] | 130 | |
| 131 | verifier: |
| 132 | name: inspec |
| 133 | sudo: true |
| 134 | |
Martin Polreich | 77836a8 | 2018-11-29 12:29:07 +0100 | [diff] [blame] | 135 | docker_images: |
| 136 | - &xenial-20177 <%=ENV['IMAGE_XENIAL_20177'] || 'docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-2017.7/salt:2018_11_19'%> |
| 137 | - &xenial-stable <%=ENV['IMAGE_XENIAL_STABLE'] || 'docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-stable/salt:2018_11_19'%> |
Martin Polreich | b948172 | 2018-01-22 12:08:23 +0100 | [diff] [blame] | 138 | |
| 139 | platforms: |
Martin Polreich | 77836a8 | 2018-11-29 12:29:07 +0100 | [diff] [blame] | 140 | - name: xenial-2017.7 |
Martin Polreich | b948172 | 2018-01-22 12:08:23 +0100 | [diff] [blame] | 141 | driver_config: |
Martin Polreich | 77836a8 | 2018-11-29 12:29:07 +0100 | [diff] [blame] | 142 | image: *xenial-20177 |
| 143 | platform: ubuntu |
| 144 | |
| 145 | - name: xenial-stable |
| 146 | driver_config: |
| 147 | image: *xenial-stable |
Martin Polreich | b948172 | 2018-01-22 12:08:23 +0100 | [diff] [blame] | 148 | platform: ubuntu |
| 149 | |
| 150 | suites: |
Michael Polenchuk | 3864611 | 2018-12-18 15:53:07 +0400 | [diff] [blame] | 151 | <% for os_version in ['ocata','pike', 'queens', 'rocky'] %> |
| 152 | - name: control_single_<%=os_version%> |
Martin Polreich | b948172 | 2018-01-22 12:08:23 +0100 | [diff] [blame] | 153 | provisioner: |
| 154 | pillars-from-files: |
| 155 | barbican.sls: tests/pillar/control_single.sls |
Michael Polenchuk | 3864611 | 2018-12-18 15:53:07 +0400 | [diff] [blame] | 156 | linux_repo_openstack.sls: tests/pillar/repo_mcp_openstack_<%=os_version%>.sls |
| 157 | pillars: |
| 158 | release.sls: |
| 159 | barbican: |
| 160 | server: |
| 161 | version: <%=os_version%> |
Martin Polreich | b948172 | 2018-01-22 12:08:23 +0100 | [diff] [blame] | 162 | |
Michael Polenchuk | 3864611 | 2018-12-18 15:53:07 +0400 | [diff] [blame] | 163 | - name: control_cluster_<%=os_version%> |
Martin Polreich | b948172 | 2018-01-22 12:08:23 +0100 | [diff] [blame] | 164 | provisioner: |
| 165 | pillars-from-files: |
| 166 | barbican.sls: tests/pillar/control_cluster.sls |
Michael Polenchuk | 3864611 | 2018-12-18 15:53:07 +0400 | [diff] [blame] | 167 | linux_repo_openstack.sls: tests/pillar/repo_mcp_openstack_<%=os_version%>.sls |
| 168 | pillars: |
| 169 | release.sls: |
| 170 | barbican: |
| 171 | server: |
| 172 | version: <%=os_version%> |
| 173 | |
| 174 | - name: control_single_ssl_<%=os_version%> |
| 175 | provisioner: |
| 176 | pillars-from-files: |
| 177 | barbican.sls: tests/pillar/control_single.sls |
| 178 | linux_repo_openstack.sls: tests/pillar/repo_mcp_openstack_<%=os_version%>.sls |
| 179 | pillars: |
| 180 | release.sls: |
| 181 | barbican: |
| 182 | server: |
| 183 | version: <%=os_version%> |
| 184 | top.sls: |
| 185 | base: |
| 186 | "*": |
| 187 | - barbican |
| 188 | - linux_repo_openstack |
| 189 | - release |
| 190 | - ssl |
| 191 | |
| 192 | - name: control_cluster_ssl_<%=os_version%> |
| 193 | provisioner: |
| 194 | pillars-from-files: |
| 195 | barbican.sls: tests/pillar/control_cluster.sls |
| 196 | linux_repo_openstack.sls: tests/pillar/repo_mcp_openstack_<%=os_version%>.sls |
| 197 | pillars: |
| 198 | release.sls: |
| 199 | barbican: |
| 200 | server: |
| 201 | version: <%=os_version%> |
| 202 | top.sls: |
| 203 | base: |
| 204 | "*": |
| 205 | - barbican |
| 206 | - linux_repo_openstack |
| 207 | - release |
| 208 | - ssl |
| 209 | <% end %> |
Martin Polreich | b948172 | 2018-01-22 12:08:23 +0100 | [diff] [blame] | 210 | # vim: ft=yaml sw=2 ts=2 sts=2 tw=125 |