Martin Polreich | 9824fa7 | 2017-03-30 10:12:02 +0200 | [diff] [blame] | 1 | --- |
| 2 | driver: |
| 3 | name: docker |
| 4 | hostname: aodh.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: aodh |
| 15 | grains: |
| 16 | noservices: True |
Michael Polenchuk | da504ce | 2017-11-29 13:43:48 +0400 | [diff] [blame] | 17 | dependencies: |
| 18 | - name: linux |
| 19 | repo: git |
Martin Polreich | a5e1420 | 2018-11-30 14:39:23 +0100 | [diff] [blame] | 20 | source: https://gerrit.mcp.mirantis.com/salt-formulas/linux |
Vasyl Saienko | 912321e | 2018-09-28 13:26:33 +0000 | [diff] [blame] | 21 | - name: apache |
| 22 | repo: git |
Martin Polreich | a5e1420 | 2018-11-30 14:39:23 +0100 | [diff] [blame] | 23 | source: https://gerrit.mcp.mirantis.com/salt-formulas/apache |
sgarbuz | f59a3af | 2019-02-14 17:30:08 +0200 | [diff] [blame] | 24 | - name: oslo_templates |
| 25 | repo: git |
| 26 | source: https://gerrit.mcp.mirantis.com/salt-formulas/oslo-templates |
Martin Polreich | 9824fa7 | 2017-03-30 10:12:02 +0200 | [diff] [blame] | 27 | state_top: |
| 28 | base: |
| 29 | "*": |
Michael Polenchuk | da504ce | 2017-11-29 13:43:48 +0400 | [diff] [blame] | 30 | - linux.system |
Martin Polreich | 9824fa7 | 2017-03-30 10:12:02 +0200 | [diff] [blame] | 31 | - aodh |
| 32 | pillars: |
Mykyta Karpin | ef2a554 | 2018-02-26 11:51:57 +0000 | [diff] [blame] | 33 | ssl.sls: |
| 34 | aodh: |
| 35 | server: |
| 36 | identity: |
| 37 | protocol: https |
| 38 | database: |
Oleksandr Shyshko | 0b912d8 | 2018-09-04 18:47:40 +0300 | [diff] [blame] | 39 | x509: |
| 40 | enabled: True |
| 41 | ca_file: /etc/aodh/ssl/mysql/ca-cert.pem |
| 42 | key_file: /etc/aodh/ssl/mysql/client-key.pem |
| 43 | cert_file: /etc/aodh/ssl/mysql/client-cert.pem |
| 44 | cacert: | |
| 45 | -----BEGIN CERTIFICATE----- |
| 46 | MIIFzzCCA7egAwIBAgIIe7zZ8hCvkgowDQYJKoZIhvcNAQELBQAwSjELMAkGA1UE |
| 47 | -----END CERTIFICATE----- |
| 48 | cert: | |
| 49 | -----BEGIN CERTIFICATE----- |
| 50 | MIIGSjCCBDKgAwIBAgIJAIHRPs2rZbLvMA0GCSqGSIb3DQEBCwUAMEoxCzAJBgNV |
| 51 | -----END CERTIFICATE----- |
| 52 | key: | |
| 53 | -----BEGIN RSA PRIVATE KEY----- |
| 54 | MIIJKQIBAAKCAgEAq0m4kOIITliYea07yJnlSRNY0o6NaykiteSfHGauiub4lNQJ |
| 55 | -----END RSA PRIVATE KEY----- |
Mykyta Karpin | ef2a554 | 2018-02-26 11:51:57 +0000 | [diff] [blame] | 56 | ssl: |
| 57 | enabled: True |
Oleksandr Shyshko | 0b912d8 | 2018-09-04 18:47:40 +0300 | [diff] [blame] | 58 | cacert_file: /etc/aodh/ssl/mysql/ca-cert.pem |
| 59 | cacert: | |
| 60 | -----BEGIN CERTIFICATE----- |
| 61 | MIIFzzCCA7egAwIBAgIIe7zZ8hCvkgowDQYJKoZIhvcNAQELBQAwSjELMAkGA1UE |
| 62 | -----END CERTIFICATE----- |
Mykyta Karpin | ef2a554 | 2018-02-26 11:51:57 +0000 | [diff] [blame] | 63 | message_queue: |
| 64 | port: 5671 |
| 65 | ssl: |
| 66 | enabled: True |
Martin Polreich | 9824fa7 | 2017-03-30 10:12:02 +0200 | [diff] [blame] | 67 | top.sls: |
| 68 | base: |
| 69 | "*": |
Michael Polenchuk | da504ce | 2017-11-29 13:43:48 +0400 | [diff] [blame] | 70 | - linux_repo_openstack |
Martin Polreich | 9824fa7 | 2017-03-30 10:12:02 +0200 | [diff] [blame] | 71 | - aodh |
Mykyta Karpin | ef2a554 | 2018-02-26 11:51:57 +0000 | [diff] [blame] | 72 | - release |
Martin Polreich | 9824fa7 | 2017-03-30 10:12:02 +0200 | [diff] [blame] | 73 | |
| 74 | verifier: |
| 75 | name: inspec |
| 76 | sudo: true |
| 77 | |
Martin Polreich | a5e1420 | 2018-11-30 14:39:23 +0100 | [diff] [blame] | 78 | docker_images: |
| 79 | - &xenial-20177 <%=ENV['IMAGE_XENIAL_20177'] || 'docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-2017.7/salt:2018_11_19'%> |
| 80 | - &xenial-stable <%=ENV['IMAGE_XENIAL_STABLE'] || 'docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-stable/salt:2018_11_19'%> |
| 81 | |
Martin Polreich | 9824fa7 | 2017-03-30 10:12:02 +0200 | [diff] [blame] | 82 | platforms: |
Martin Polreich | a5e1420 | 2018-11-30 14:39:23 +0100 | [diff] [blame] | 83 | - name: xenial-20177 |
Martin Polreich | 9824fa7 | 2017-03-30 10:12:02 +0200 | [diff] [blame] | 84 | driver_config: |
Martin Polreich | a5e1420 | 2018-11-30 14:39:23 +0100 | [diff] [blame] | 85 | image: *xenial-20177 |
| 86 | platform: ubuntu |
| 87 | |
| 88 | - name: xenial-stable |
| 89 | driver_config: |
| 90 | image: *xenial-stable |
Martin Polreich | 9824fa7 | 2017-03-30 10:12:02 +0200 | [diff] [blame] | 91 | platform: ubuntu |
| 92 | |
| 93 | suites: |
sgarbuz | f59a3af | 2019-02-14 17:30:08 +0200 | [diff] [blame] | 94 | <% for os_version in ['ocata','pike','queens','rocky'] %> |
| 95 | - name: server_cluster_<%=os_version%> |
Martin Polreich | 9824fa7 | 2017-03-30 10:12:02 +0200 | [diff] [blame] | 96 | provisioner: |
Martin Polreich | a5e1420 | 2018-11-30 14:39:23 +0100 | [diff] [blame] | 97 | pillars: |
| 98 | release.sls: |
| 99 | aodh: |
| 100 | server: |
sgarbuz | f59a3af | 2019-02-14 17:30:08 +0200 | [diff] [blame] | 101 | version: <%=os_version%> |
Martin Polreich | 9824fa7 | 2017-03-30 10:12:02 +0200 | [diff] [blame] | 102 | pillars-from-files: |
| 103 | aodh.sls: tests/pillar/server_cluster.sls |
sgarbuz | f59a3af | 2019-02-14 17:30:08 +0200 | [diff] [blame] | 104 | linux_repo_openstack.sls: tests/pillar/repo_mcp_openstack_<%=os_version%>.sls |
Martin Polreich | 9824fa7 | 2017-03-30 10:12:02 +0200 | [diff] [blame] | 105 | |
sgarbuz | f59a3af | 2019-02-14 17:30:08 +0200 | [diff] [blame] | 106 | - name: server_single_<%=os_version%> |
Martin Polreich | 9824fa7 | 2017-03-30 10:12:02 +0200 | [diff] [blame] | 107 | provisioner: |
Martin Polreich | a5e1420 | 2018-11-30 14:39:23 +0100 | [diff] [blame] | 108 | pillars: |
| 109 | release.sls: |
| 110 | aodh: |
| 111 | server: |
sgarbuz | f59a3af | 2019-02-14 17:30:08 +0200 | [diff] [blame] | 112 | version: <%=os_version%> |
Martin Polreich | 9824fa7 | 2017-03-30 10:12:02 +0200 | [diff] [blame] | 113 | pillars-from-files: |
| 114 | aodh.sls: tests/pillar/server_single.sls |
sgarbuz | f59a3af | 2019-02-14 17:30:08 +0200 | [diff] [blame] | 115 | linux_repo_openstack.sls: tests/pillar/repo_mcp_openstack_<%=os_version%>.sls |
Mykyta Karpin | ef2a554 | 2018-02-26 11:51:57 +0000 | [diff] [blame] | 116 | |
sgarbuz | f59a3af | 2019-02-14 17:30:08 +0200 | [diff] [blame] | 117 | - name: server_cluster_ssl_<%=os_version%> |
Mykyta Karpin | ef2a554 | 2018-02-26 11:51:57 +0000 | [diff] [blame] | 118 | provisioner: |
Mykyta Karpin | ef2a554 | 2018-02-26 11:51:57 +0000 | [diff] [blame] | 119 | pillars: |
Martin Polreich | a5e1420 | 2018-11-30 14:39:23 +0100 | [diff] [blame] | 120 | release.sls: |
| 121 | aodh: |
| 122 | server: |
sgarbuz | f59a3af | 2019-02-14 17:30:08 +0200 | [diff] [blame] | 123 | version: <%=os_version%> |
Mykyta Karpin | ef2a554 | 2018-02-26 11:51:57 +0000 | [diff] [blame] | 124 | top.sls: |
| 125 | base: |
| 126 | "*": |
| 127 | - linux_repo_openstack |
| 128 | - aodh |
| 129 | - release |
| 130 | - ssl |
Mykyta Karpin | ef2a554 | 2018-02-26 11:51:57 +0000 | [diff] [blame] | 131 | pillars-from-files: |
Martin Polreich | a5e1420 | 2018-11-30 14:39:23 +0100 | [diff] [blame] | 132 | aodh.sls: tests/pillar/server_cluster.sls |
sgarbuz | f59a3af | 2019-02-14 17:30:08 +0200 | [diff] [blame] | 133 | linux_repo_openstack.sls: tests/pillar/repo_mcp_openstack_<%=os_version%>.sls |
Martin Polreich | a5e1420 | 2018-11-30 14:39:23 +0100 | [diff] [blame] | 134 | |
sgarbuz | f59a3af | 2019-02-14 17:30:08 +0200 | [diff] [blame] | 135 | - name: server_single_ssl_<%=os_version%> |
Martin Polreich | a5e1420 | 2018-11-30 14:39:23 +0100 | [diff] [blame] | 136 | provisioner: |
Mykyta Karpin | ef2a554 | 2018-02-26 11:51:57 +0000 | [diff] [blame] | 137 | pillars: |
Martin Polreich | a5e1420 | 2018-11-30 14:39:23 +0100 | [diff] [blame] | 138 | release.sls: |
| 139 | aodh: |
| 140 | server: |
sgarbuz | f59a3af | 2019-02-14 17:30:08 +0200 | [diff] [blame] | 141 | version: <%=os_version%> |
Mykyta Karpin | ef2a554 | 2018-02-26 11:51:57 +0000 | [diff] [blame] | 142 | top.sls: |
| 143 | base: |
| 144 | "*": |
| 145 | - linux_repo_openstack |
| 146 | - aodh |
| 147 | - release |
| 148 | - ssl |
Martin Polreich | a5e1420 | 2018-11-30 14:39:23 +0100 | [diff] [blame] | 149 | pillars-from-files: |
| 150 | aodh.sls: tests/pillar/server_single.sls |
sgarbuz | f59a3af | 2019-02-14 17:30:08 +0200 | [diff] [blame] | 151 | linux_repo_openstack.sls: tests/pillar/repo_mcp_openstack_<%=os_version%>.sls |
| 152 | <% end %> |
Martin Polreich | 9824fa7 | 2017-03-30 10:12:02 +0200 | [diff] [blame] | 153 | # vim: ft=yaml sw=2 ts=2 sts=2 tw=125 |