blob: dc99d6e6910e02a38afafb669041da7991da4042 [file] [log] [blame]
Vnaumova1521842017-12-08 16:07:16 +03001classes:
2 # Docker services
3 - system.docker.swarm.stack.devops_portal
4 - system.docker.swarm.stack.elasticsearch
5 - system.docker.swarm.stack.janitor_monkey
6 - system.docker.swarm.stack.postgresql
7 - system.docker.swarm.stack.pushkin
8 - system.docker.swarm.stack.rundeck
9 - system.docker.swarm.stack.security_monkey
10 # Docker networks
11 - system.docker.swarm.network.oss_backend
12
13 # OSS Tooling
14 - system.devops_portal.service.elasticsearch
15 - system.devops_portal.service.gerrit
16 - system.devops_portal.service.janitor_monkey
17 - system.devops_portal.service.jenkins
18 - system.devops_portal.service.pushkin
19 - system.devops_portal.service.rundeck
20 - system.devops_portal.service.security_monkey
21
22 # DevOps Portal
23 - service.devops_portal.config
24
25 # Rundeck
26 - system.rundeck.server.docker
27 - system.rundeck.client
28 - system.rundeck.client.project.cicd
29
30 # PostgreSQL
31 - system.postgresql.client.pushkin
32 - system.postgresql.client.rundeck
33 - system.postgresql.client.security_monkey
34 - system.postgresql.client.janitor_monkey
35 - system.postgresql.client.sfdc
36 - system.postgresql.client.alertmanager
37
38 # Elasticsearch
39 - system.elasticsearch.client
40 - system.elasticsearch.client.index.pushkin
41 - system.elasticsearch.client.index.cis_openstack
42
43parameters:
44 _param:
45 # OSS docker images
46 docker_image_elasticsearch: docker.elastic.co/elasticsearch/elasticsearch:5.4.1
47 docker_image_security_monkey_api: docker-prod-local.artifactory.mirantis.com/mirantis/oss/security-monkey-api:latest
48 docker_image_security_monkey_scheduler: docker-prod-local.artifactory.mirantis.com/mirantis/oss/security-monkey-scheduler:latest
49 docker_image_janitor_monkey: docker-prod-local.artifactory.mirantis.com/mirantis/oss/janitor-monkey:latest
50 docker_image_mongodb: mongo:3.4
51 docker_image_rundeck: docker-prod-local.artifactory.mirantis.com/mirantis/oss/rundeck:latest
52 docker_image_devops_portal: docker-prod-local.artifactory.mirantis.com/mirantis/oss/devops-portal:latest
53 docker_image_postgresql: postgres:9.6
54
55 # PostgreSQL
56 postgresql_client_user: ${_param:postgresql_admin_user}
57 postgresql_client_password: ${_param:postgresql_admin_user_password}
58 postgresql_client_host: ${_param:haproxy_postgresql_bind_host}
59 postgresql_client_port: ${_param:haproxy_postgresql_bind_port}
60
61 # Pushkin
62 pushkin_db_user: pushkin
63 pushkin_db_user_password: pushkin
64 pushkin_db_host: ${_param:haproxy_postgresql_bind_host}
65 pushkin_smtp_host: smtp.gmail.com
66 pushkin_smtp_port: 587
67 webhook_from: yourmail
68 pushkin_email_sender_password: yourpass
69 webhook_recipients: "recipients@gmail.com,recipients2@mail.com"
70 webhook_login_id: 13
71 webhook_application_id: 24
72 # SFDC configuration
73 sfdc_auth_url: https://mirantis--prodteam.cs17.my.salesforce.com
74 sfdc_username: kadamovich+mmo+user@mirantis.com
75 sfdc_password: m1raTest
76 sfdc_consumer_key: 3MVG9ahGHqp.k2_wmbjHwYMdmX4gGy1d5W1wttknHnCXxdMDPF8BdW._xiFumg4Csg60mf7G3.R3Laz3Xbh3h
77 sfdc_consumer_secret: 398663349641456049
78 sfdc_organization_id: 00Dg0000001qRWF
79 sfdc_sandbox_enabled: True
80
81 # OSS openstack
82 oss_openstack_auth_url: https://cloud-cz.bud.mirantis.net:5000/v3
83 oss_openstack_username: admin
84 oss_openstack_password: passwd
85 oss_openstack_project: admin
86 oss_openstack_domain_id: default
87 oss_openstack_ssl_verify: True
88 oss_openstack_endpoint_type: public
89 oss_openstack_credentials_path: /srv/volumes/rundeck/storage
90 oss_openstack_cert: |
91 ---cert----
92
93 # SecurityMonkey
94 secmonkey_db_user: secmonkey
95 secmonkey_db_user_password: secmonkey
96 secmonkey_db_host: ${_param:postgresql_bind_host}
97 security_monkey_openstack:
98 username: ${_param:oss_openstack_username}
99 password: ${_param:oss_openstack_password}
100 auth_url: ${_param:oss_openstack_auth_url}
101 user_domain_name: ${_param:oss_openstack_domain_id}
102 project_domain_name: ${_param:oss_openstack_domain_id}
103 ssl_verify: ${_param:oss_openstack_ssl_verify}
104 endpoint_type: ${_param:oss_openstack_endpoint_type}
105 source_credentials: ${_param:oss_openstack_credentials_path}
106
107 # JanitorMonkey
108 janitor_monkey_openstack:
109 username: ${_param:oss_openstack_username}
110 password: ${_param:oss_openstack_password}
111 auth_url: ${_param:oss_openstack_auth_url}
112 project_name: ${_param:oss_openstack_project}
113 project_domain_name: ${_param:oss_openstack_domain_id}
114 ssl_verify: ${_param:oss_openstack_ssl_verify}
115# endpoint_type: ${_param:oss_openstack_endpoint_type}
116 source_credentials: ${_param:oss_openstack_credentials_path}
117
118
119 # Rundeck
120 rundeck_db_host: ${_param:haproxy_postgresql_bind_host}
121 rundeck_db_user: rundeck
122 rundeck_db_user_password: password
123 rundeck_server_ssh_timeout: 900000000
124
125 rundeck_forward_iframe: False
126 rundeck_iframe_host: ''
127 rundeck_iframe_port: ${_param:haproxy_rundeck_exposed_port}
128 rundeck_iframe_ssl: False
129
130 rundeck_postgresql_username: ${_param:rundeck_db_user}
131 rundeck_postgresql_password: ${_param:rundeck_db_user_password}
132 rundeck_postgresql_database: rundeck
133 rundeck_postgresql_host: ${_param:rundeck_db_host}
134 rundeck_cis_openstack:
135 auth_url: ${_param:oss_openstack_auth_url}/auth/tokens
136 username: ${_param:oss_openstack_username}
137 password: ${_param:oss_openstack_password}
138 project_name: ${_param:oss_openstack_project}
139 domain_id: ${_param:oss_openstack_domain_id}
140 cert: ${_param:oss_openstack_cert}
141 ssl_cert_file: cert.pem
142 rundeck_cis_elasticsearch_url: http://${_param:haproxy_elasticsearch_bind_host}:${_param:haproxy_elasticsearch_http_bind_port}