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 |
Oleh Hryhorov | 799c693 | 2018-01-19 18:43:41 +0200 | [diff] [blame] | 11 | salt_version: <%=ENV['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 |
| 20 | source: https://github.com/salt-formulas/salt-formula-linux |
Mykyta Karpin | 7d021b5 | 2018-11-02 16:38:19 +0000 | [diff] [blame] | 21 | - name: oslo_templates |
Mykyta Karpin | 8a692a6 | 2017-05-31 11:59:30 +0300 | [diff] [blame] | 22 | repo: git |
Mykyta Karpin | 7d021b5 | 2018-11-02 16:38:19 +0000 | [diff] [blame] | 23 | source: https://github.com/salt-formulas/salt-formula-oslo-templates |
Mykyta Karpin | 8a692a6 | 2017-05-31 11:59:30 +0300 | [diff] [blame] | 24 | state_top: |
| 25 | base: |
| 26 | "*": |
| 27 | - linux |
Mykyta Karpin | 8a692a6 | 2017-05-31 11:59:30 +0300 | [diff] [blame] | 28 | - designate |
| 29 | pillars: |
Mykyta Karpin | 7d021b5 | 2018-11-02 16:38:19 +0000 | [diff] [blame] | 30 | release.sls: |
| 31 | designate: |
| 32 | server: |
| 33 | version: <%= ENV['OS_VERSION'] || 'pike' %> |
| 34 | ssl.sls: |
| 35 | designate: |
| 36 | server: |
| 37 | identity: |
| 38 | protocol: https |
| 39 | database: |
| 40 | x509: |
| 41 | enabled: True |
| 42 | ca_file: /etc/designate/ssl/mysql/ca-cert.pem |
| 43 | key_file: /etc/designate/ssl/mysql/client-key.pem |
| 44 | cert_file: /etc/designate/ssl/mysql/client-cert.pem |
| 45 | cacert: | |
| 46 | -----BEGIN CERTIFICATE----- |
| 47 | MIIFzzCCA7egAwIBAgIIe7zZ8hCvkgowDQYJKoZIhvcNAQELBQAwSjELMAkGA1UE |
| 48 | -----END CERTIFICATE----- |
| 49 | cert: | |
| 50 | -----BEGIN CERTIFICATE----- |
| 51 | MIIGSjCCBDKgAwIBAgIJAIHRPs2rZbLvMA0GCSqGSIb3DQEBCwUAMEoxCzAJBgNV |
| 52 | -----END CERTIFICATE----- |
| 53 | key: | |
| 54 | -----BEGIN RSA PRIVATE KEY----- |
| 55 | MIIJKQIBAAKCAgEAq0m4kOIITliYea07yJnlSRNY0o6NaykiteSfHGauiub4lNQJ |
| 56 | -----END RSA PRIVATE KEY----- |
| 57 | ssl: |
| 58 | enabled: True |
| 59 | cacert_file: /etc/designate/ssl/mysql/ca-cert.pem |
| 60 | cacert: | |
| 61 | -----BEGIN CERTIFICATE----- |
| 62 | MIIFzzCCA7egAwIBAgIIe7zZ8hCvkgowDQYJKoZIhvcNAQELBQAwSjELMAkGA1UE |
| 63 | -----END CERTIFICATE----- |
| 64 | message_queue: |
| 65 | port: 5671 |
| 66 | ssl: |
| 67 | enabled: True |
| 68 | cacert_file: /etc/designate/ssl/mysql/ca-cert.pem |
| 69 | cacert: | |
| 70 | -----BEGIN CERTIFICATE----- |
| 71 | MIIFzzCCA7egAwIBAgIIe7zZ8hCvkgowDQYJKoZIhvcNAQELBQAwSjELMAkGA1UE |
| 72 | -----END CERTIFICATE----- |
| 73 | |
Mykyta Karpin | 8a692a6 | 2017-05-31 11:59:30 +0300 | [diff] [blame] | 74 | top.sls: |
| 75 | base: |
| 76 | "*": |
| 77 | - linux_repo_openstack |
| 78 | - designate |
Mykyta Karpin | 7d021b5 | 2018-11-02 16:38:19 +0000 | [diff] [blame] | 79 | - release |
Mykyta Karpin | 8a692a6 | 2017-05-31 11:59:30 +0300 | [diff] [blame] | 80 | pillars-from-files: |
Mykyta Karpin | 7d021b5 | 2018-11-02 16:38:19 +0000 | [diff] [blame] | 81 | linux_repo_openstack.sls: tests/pillar/repo_mcp_openstack_<%= ENV['OS_VERSION'] || 'pike' %>.sls |
Mykyta Karpin | 8a692a6 | 2017-05-31 11:59:30 +0300 | [diff] [blame] | 82 | |
| 83 | verifier: |
| 84 | name: inspec |
| 85 | sudo: true |
| 86 | |
| 87 | platforms: |
Martin Polreich | fd2411e | 2018-02-16 14:11:10 +0100 | [diff] [blame] | 88 | - name: <%=ENV['PLATFORM'] || 'saltstack-ubuntu-xenial-salt-stable' %> |
Mykyta Karpin | 8a692a6 | 2017-05-31 11:59:30 +0300 | [diff] [blame] | 89 | driver_config: |
Martin Polreich | c7ef154 | 2018-11-20 15:07:28 +0100 | [diff] [blame] | 90 | image: <%=ENV['PLATFORM'] || 'docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-stable/salt:2018_11_19'%> |
Mykyta Karpin | 8a692a6 | 2017-05-31 11:59:30 +0300 | [diff] [blame] | 91 | platform: ubuntu |
| 92 | |
| 93 | suites: |
| 94 | |
Mykyta Karpin | 7d021b5 | 2018-11-02 16:38:19 +0000 | [diff] [blame] | 95 | - name: server_cluster |
Mykyta Karpin | 8a692a6 | 2017-05-31 11:59:30 +0300 | [diff] [blame] | 96 | provisioner: |
| 97 | pillars-from-files: |
Mykyta Karpin | 7d021b5 | 2018-11-02 16:38:19 +0000 | [diff] [blame] | 98 | designate.sls: tests/pillar/server_cluster.sls |
| 99 | verifier: |
| 100 | inspec_tests: |
| 101 | - tests/integration/<%= ENV['OS_VERSION'] || 'pike'%>/server_cluster |
| 102 | |
| 103 | - name: server_single |
| 104 | provisioner: |
| 105 | pillars-from-files: |
| 106 | designate.sls: tests/pillar/server_single.sls |
| 107 | verifier: |
| 108 | inspec_tests: |
| 109 | - tests/integration/<%= ENV['OS_VERSION'] || 'pike'%>/server_single |
| 110 | |
| 111 | - name: server_cluster_ssl |
| 112 | provisioner: |
| 113 | pillars-from-files: |
| 114 | designate.sls: tests/pillar/server_cluster.sls |
| 115 | pillars: |
| 116 | top.sls: |
| 117 | base: |
| 118 | "*": |
| 119 | - linux_repo_openstack |
| 120 | - designate |
| 121 | - release |
| 122 | - ssl |
| 123 | verifier: |
| 124 | inspec_tests: |
| 125 | - tests/integration/<%= ENV['OS_VERSION'] || 'pike'%>/server_cluster |
| 126 | attributes: |
| 127 | ssl: true |
| 128 | |
| 129 | - name: server_single_ssl |
| 130 | provisioner: |
| 131 | pillars-from-files: |
| 132 | designate.sls: tests/pillar/server_single.sls |
| 133 | pillars: |
| 134 | top.sls: |
| 135 | base: |
| 136 | "*": |
| 137 | - linux_repo_openstack |
| 138 | - designate |
| 139 | - release |
| 140 | - ssl |
| 141 | verifier: |
| 142 | inspec_tests: |
| 143 | - tests/integration/<%= ENV['OS_VERSION'] || 'pike'%>/server_single |
| 144 | attributes: |
| 145 | ssl: true |
Mykyta Karpin | 8a692a6 | 2017-05-31 11:59:30 +0300 | [diff] [blame] | 146 | |
Oleh Hryhorov | 799c693 | 2018-01-19 18:43:41 +0200 | [diff] [blame] | 147 | # vim: ft=yaml sw=2 ts=2 sts=2 tw=125 |