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: |
Martin Polreich | 79df69e | 2019-10-10 15:00:49 +0200 | [diff] [blame^] | 84 | - &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 | 184ccee | 2018-12-13 15:12:22 +0100 | [diff] [blame] | 85 | |
Mykyta Karpin | 8a692a6 | 2017-05-31 11:59:30 +0300 | [diff] [blame] | 86 | platforms: |
Martin Polreich | 184ccee | 2018-12-13 15:12:22 +0100 | [diff] [blame] | 87 | - name: xenial-2017.7 |
Mykyta Karpin | 8a692a6 | 2017-05-31 11:59:30 +0300 | [diff] [blame] | 88 | driver_config: |
Martin Polreich | 184ccee | 2018-12-13 15:12:22 +0100 | [diff] [blame] | 89 | image: *xenial-20177 |
| 90 | platform: ubuntu |
| 91 | |
Mykyta Karpin | 8a692a6 | 2017-05-31 11:59:30 +0300 | [diff] [blame] | 92 | suites: |
Martin Polreich | 79df69e | 2019-10-10 15:00:49 +0200 | [diff] [blame^] | 93 | <% for os_version in ['pike','queens','rocky'] %> |
sgarbuz | b0b5d1e | 2019-01-04 12:42:50 +0200 | [diff] [blame] | 94 | - name: server_cluster_<%=os_version%> |
Mykyta Karpin | 8a692a6 | 2017-05-31 11:59:30 +0300 | [diff] [blame] | 95 | provisioner: |
| 96 | pillars-from-files: |
Mykyta Karpin | 7d021b5 | 2018-11-02 16:38:19 +0000 | [diff] [blame] | 97 | designate.sls: tests/pillar/server_cluster.sls |
sgarbuz | b0b5d1e | 2019-01-04 12:42:50 +0200 | [diff] [blame] | 98 | linux_repo_openstack.sls: tests/pillar/repo_mcp_openstack_<%=os_version%>.sls |
Martin Polreich | 184ccee | 2018-12-13 15:12:22 +0100 | [diff] [blame] | 99 | pillars: |
| 100 | release.sls: |
| 101 | designate: |
| 102 | server: |
sgarbuz | b0b5d1e | 2019-01-04 12:42:50 +0200 | [diff] [blame] | 103 | version: <%=os_version%> |
Mykyta Karpin | 7d021b5 | 2018-11-02 16:38:19 +0000 | [diff] [blame] | 104 | verifier: |
| 105 | inspec_tests: |
sgarbuz | b0b5d1e | 2019-01-04 12:42:50 +0200 | [diff] [blame] | 106 | - tests/integration/<%=os_version%>/server_cluster |
Mykyta Karpin | 7d021b5 | 2018-11-02 16:38:19 +0000 | [diff] [blame] | 107 | |
sgarbuz | b0b5d1e | 2019-01-04 12:42:50 +0200 | [diff] [blame] | 108 | - name: server_single_<%=os_version%> |
Mykyta Karpin | 7d021b5 | 2018-11-02 16:38:19 +0000 | [diff] [blame] | 109 | provisioner: |
| 110 | pillars-from-files: |
| 111 | designate.sls: tests/pillar/server_single.sls |
sgarbuz | b0b5d1e | 2019-01-04 12:42:50 +0200 | [diff] [blame] | 112 | linux_repo_openstack.sls: tests/pillar/repo_mcp_openstack_<%=os_version%>.sls |
Martin Polreich | 184ccee | 2018-12-13 15:12:22 +0100 | [diff] [blame] | 113 | pillars: |
| 114 | release.sls: |
| 115 | designate: |
| 116 | server: |
sgarbuz | b0b5d1e | 2019-01-04 12:42:50 +0200 | [diff] [blame] | 117 | version: <%=os_version%> |
Mykyta Karpin | 7d021b5 | 2018-11-02 16:38:19 +0000 | [diff] [blame] | 118 | verifier: |
| 119 | inspec_tests: |
sgarbuz | b0b5d1e | 2019-01-04 12:42:50 +0200 | [diff] [blame] | 120 | - tests/integration/<%=os_version%>/server_single |
Martin Polreich | 184ccee | 2018-12-13 15:12:22 +0100 | [diff] [blame] | 121 | |
sgarbuz | b0b5d1e | 2019-01-04 12:42:50 +0200 | [diff] [blame] | 122 | - name: server_cluster_ssl_<%=os_version%> |
Martin Polreich | 184ccee | 2018-12-13 15:12:22 +0100 | [diff] [blame] | 123 | provisioner: |
| 124 | pillars-from-files: |
| 125 | designate.sls: tests/pillar/server_cluster.sls |
sgarbuz | b0b5d1e | 2019-01-04 12:42:50 +0200 | [diff] [blame] | 126 | linux_repo_openstack.sls: tests/pillar/repo_mcp_openstack_<%=os_version%>.sls |
Mykyta Karpin | 7d021b5 | 2018-11-02 16:38:19 +0000 | [diff] [blame] | 127 | pillars: |
| 128 | top.sls: |
| 129 | base: |
| 130 | "*": |
| 131 | - linux_repo_openstack |
| 132 | - designate |
| 133 | - release |
| 134 | - ssl |
Martin Polreich | 184ccee | 2018-12-13 15:12:22 +0100 | [diff] [blame] | 135 | release.sls: |
| 136 | designate: |
| 137 | server: |
sgarbuz | b0b5d1e | 2019-01-04 12:42:50 +0200 | [diff] [blame] | 138 | version: <%=os_version%> |
Mykyta Karpin | 7d021b5 | 2018-11-02 16:38:19 +0000 | [diff] [blame] | 139 | verifier: |
| 140 | inspec_tests: |
sgarbuz | b0b5d1e | 2019-01-04 12:42:50 +0200 | [diff] [blame] | 141 | - tests/integration/<%=os_version%>/server_cluster |
Mykyta Karpin | 7d021b5 | 2018-11-02 16:38:19 +0000 | [diff] [blame] | 142 | attributes: |
| 143 | ssl: true |
| 144 | |
sgarbuz | b0b5d1e | 2019-01-04 12:42:50 +0200 | [diff] [blame] | 145 | - name: server_single_ssl_<%=os_version%> |
Mykyta Karpin | 7d021b5 | 2018-11-02 16:38:19 +0000 | [diff] [blame] | 146 | provisioner: |
| 147 | pillars-from-files: |
| 148 | designate.sls: tests/pillar/server_single.sls |
sgarbuz | b0b5d1e | 2019-01-04 12:42:50 +0200 | [diff] [blame] | 149 | linux_repo_openstack.sls: tests/pillar/repo_mcp_openstack_<%=os_version%>.sls |
Mykyta Karpin | 7d021b5 | 2018-11-02 16:38:19 +0000 | [diff] [blame] | 150 | pillars: |
| 151 | top.sls: |
| 152 | base: |
| 153 | "*": |
| 154 | - linux_repo_openstack |
| 155 | - designate |
| 156 | - release |
| 157 | - ssl |
Martin Polreich | 184ccee | 2018-12-13 15:12:22 +0100 | [diff] [blame] | 158 | release.sls: |
| 159 | designate: |
| 160 | server: |
sgarbuz | b0b5d1e | 2019-01-04 12:42:50 +0200 | [diff] [blame] | 161 | version: <%=os_version%> |
Mykyta Karpin | 7d021b5 | 2018-11-02 16:38:19 +0000 | [diff] [blame] | 162 | verifier: |
| 163 | inspec_tests: |
sgarbuz | b0b5d1e | 2019-01-04 12:42:50 +0200 | [diff] [blame] | 164 | - tests/integration/<%=os_version%>/server_single |
Mykyta Karpin | 7d021b5 | 2018-11-02 16:38:19 +0000 | [diff] [blame] | 165 | attributes: |
| 166 | ssl: true |
Mykyta Karpin | 8a692a6 | 2017-05-31 11:59:30 +0300 | [diff] [blame] | 167 | |
sgarbuz | b0b5d1e | 2019-01-04 12:42:50 +0200 | [diff] [blame] | 168 | <% end %> |
Oleh Hryhorov | 799c693 | 2018-01-19 18:43:41 +0200 | [diff] [blame] | 169 | # vim: ft=yaml sw=2 ts=2 sts=2 tw=125 |