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