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 |
| 20 | source: https://github.com/salt-formulas/salt-formula-linux |
Martin Polreich | 9824fa7 | 2017-03-30 10:12:02 +0200 | [diff] [blame] | 21 | state_top: |
| 22 | base: |
| 23 | "*": |
Michael Polenchuk | da504ce | 2017-11-29 13:43:48 +0400 | [diff] [blame] | 24 | - linux.system |
Martin Polreich | 9824fa7 | 2017-03-30 10:12:02 +0200 | [diff] [blame] | 25 | - aodh |
| 26 | pillars: |
Mykyta Karpin | ef2a554 | 2018-02-26 11:51:57 +0000 | [diff] [blame] | 27 | release.sls: |
| 28 | aodh: |
| 29 | server: |
| 30 | version: <%= ENV['OS_VERSION'] || 'pike' %> |
| 31 | ssl.sls: |
| 32 | aodh: |
| 33 | server: |
| 34 | identity: |
| 35 | protocol: https |
| 36 | database: |
Oleksandr Shyshko | 0b912d8 | 2018-09-04 18:47:40 +0300 | [diff] [blame] | 37 | x509: |
| 38 | enabled: True |
| 39 | ca_file: /etc/aodh/ssl/mysql/ca-cert.pem |
| 40 | key_file: /etc/aodh/ssl/mysql/client-key.pem |
| 41 | cert_file: /etc/aodh/ssl/mysql/client-cert.pem |
| 42 | cacert: | |
| 43 | -----BEGIN CERTIFICATE----- |
| 44 | MIIFzzCCA7egAwIBAgIIe7zZ8hCvkgowDQYJKoZIhvcNAQELBQAwSjELMAkGA1UE |
| 45 | -----END CERTIFICATE----- |
| 46 | cert: | |
| 47 | -----BEGIN CERTIFICATE----- |
| 48 | MIIGSjCCBDKgAwIBAgIJAIHRPs2rZbLvMA0GCSqGSIb3DQEBCwUAMEoxCzAJBgNV |
| 49 | -----END CERTIFICATE----- |
| 50 | key: | |
| 51 | -----BEGIN RSA PRIVATE KEY----- |
| 52 | MIIJKQIBAAKCAgEAq0m4kOIITliYea07yJnlSRNY0o6NaykiteSfHGauiub4lNQJ |
| 53 | -----END RSA PRIVATE KEY----- |
Mykyta Karpin | ef2a554 | 2018-02-26 11:51:57 +0000 | [diff] [blame] | 54 | ssl: |
| 55 | enabled: True |
Oleksandr Shyshko | 0b912d8 | 2018-09-04 18:47:40 +0300 | [diff] [blame] | 56 | cacert_file: /etc/aodh/ssl/mysql/ca-cert.pem |
| 57 | cacert: | |
| 58 | -----BEGIN CERTIFICATE----- |
| 59 | MIIFzzCCA7egAwIBAgIIe7zZ8hCvkgowDQYJKoZIhvcNAQELBQAwSjELMAkGA1UE |
| 60 | -----END CERTIFICATE----- |
Mykyta Karpin | ef2a554 | 2018-02-26 11:51:57 +0000 | [diff] [blame] | 61 | message_queue: |
| 62 | port: 5671 |
| 63 | ssl: |
| 64 | enabled: True |
Martin Polreich | 9824fa7 | 2017-03-30 10:12:02 +0200 | [diff] [blame] | 65 | top.sls: |
| 66 | base: |
| 67 | "*": |
Michael Polenchuk | da504ce | 2017-11-29 13:43:48 +0400 | [diff] [blame] | 68 | - linux_repo_openstack |
Martin Polreich | 9824fa7 | 2017-03-30 10:12:02 +0200 | [diff] [blame] | 69 | - aodh |
Mykyta Karpin | ef2a554 | 2018-02-26 11:51:57 +0000 | [diff] [blame] | 70 | - release |
Michael Polenchuk | da504ce | 2017-11-29 13:43:48 +0400 | [diff] [blame] | 71 | pillars-from-files: |
Mykyta Karpin | ef2a554 | 2018-02-26 11:51:57 +0000 | [diff] [blame] | 72 | linux_repo_openstack.sls: tests/pillar/repo_mcp_openstack_<%= ENV['OS_VERSION'] || 'pike' %>.sls |
Martin Polreich | 9824fa7 | 2017-03-30 10:12:02 +0200 | [diff] [blame] | 73 | |
| 74 | verifier: |
| 75 | name: inspec |
| 76 | sudo: true |
| 77 | |
| 78 | platforms: |
Martin Polreich | 914a8c9 | 2018-02-16 12:43:58 +0100 | [diff] [blame] | 79 | - name: <%=ENV['PLATFORM'] || 'saltstack-ubuntu-xenial-salt-stable' %> |
Martin Polreich | 9824fa7 | 2017-03-30 10:12:02 +0200 | [diff] [blame] | 80 | driver_config: |
Martin Polreich | c24ab22 | 2018-04-06 09:49:10 +0200 | [diff] [blame] | 81 | image: <%=ENV['PLATFORM'] || 'epcim/salt:saltstack-ubuntu-xenial-salt-stable'%> |
Martin Polreich | 9824fa7 | 2017-03-30 10:12:02 +0200 | [diff] [blame] | 82 | platform: ubuntu |
| 83 | |
| 84 | suites: |
| 85 | |
| 86 | - name: server_cluster |
| 87 | provisioner: |
| 88 | pillars-from-files: |
| 89 | aodh.sls: tests/pillar/server_cluster.sls |
| 90 | |
| 91 | - name: server_single |
| 92 | provisioner: |
| 93 | pillars-from-files: |
| 94 | aodh.sls: tests/pillar/server_single.sls |
Mykyta Karpin | ef2a554 | 2018-02-26 11:51:57 +0000 | [diff] [blame] | 95 | |
| 96 | - name: server_cluster_ssl |
| 97 | provisioner: |
| 98 | pillars-from-files: |
| 99 | aodh.sls: tests/pillar/server_cluster.sls |
| 100 | pillars: |
| 101 | top.sls: |
| 102 | base: |
| 103 | "*": |
| 104 | - linux_repo_openstack |
| 105 | - aodh |
| 106 | - release |
| 107 | - ssl |
| 108 | |
| 109 | - name: server_single_ssl |
| 110 | provisioner: |
| 111 | pillars-from-files: |
| 112 | aodh.sls: tests/pillar/server_single.sls |
| 113 | pillars: |
| 114 | top.sls: |
| 115 | base: |
| 116 | "*": |
| 117 | - linux_repo_openstack |
| 118 | - aodh |
| 119 | - release |
| 120 | - ssl |
| 121 | |
Martin Polreich | 9824fa7 | 2017-03-30 10:12:02 +0200 | [diff] [blame] | 122 | # vim: ft=yaml sw=2 ts=2 sts=2 tw=125 |