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