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