blob: a556771f1aad7bef893fbdc8929e26af20ee18a7 [file] [log] [blame]
Tatyana Leontovich3a9e8682018-08-30 19:25:01 +03001classes:
2 - system.linux.system.haveged
azvyagintsev03e26b12018-10-22 16:34:31 +03003 - system.linux.system.repo.mcp.apt_mirantis.docker
4 - system.linux.system.repo.mcp.apt_mirantis.extra
Tatyana Leontovich3a9e8682018-08-30 19:25:01 +03005 - system.linux.system.repo.mcp.apt_mirantis.ubuntu
6 - system.linux.system.repo.mcp.apt_mirantis.glusterfs
7 - system.linux.system.repo.mcp.apt_mirantis.saltstack
8 - system.glusterfs.client.cluster
9 - system.glusterfs.client.volume.aptly
10 - system.glusterfs.client.volume.gerrit
11 - system.glusterfs.client.volume.jenkins
12 - system.glusterfs.client.volume.registry
13 - system.glusterfs.client.volume.salt_pki
14 - system.glusterfs.client.volume.mysql
15 - system.glusterfs.client.volume.openldap
16 #- system.glusterfs.client.volume.salt
17 # Docker
18 - system.docker.host
19
20 # Generate aptly-publisher config to use for jenkins slaves
21 - system.aptly.client.publisher
22
23 # Keepalived
24 - system.keepalived.cluster.instance.cicd_control_vip
25
26 # HAProxy
27 - system.salt.minion.cert.proxy.cicd
28 - system.haproxy.proxy.single
29 - system.haproxy.proxy.listen.cicd.aptly
30 - system.haproxy.proxy.listen.cicd.gerrit
31 - system.haproxy.proxy.listen.cicd.jenkins
32 - system.haproxy.proxy.listen.docker.registry
33 - system.haproxy.proxy.listen.docker.visualizer
34 - system.haproxy.proxy.listen.openldap
35 - system.haproxy.proxy.listen.phpldapadmin
36 - system.haproxy.proxy.listen.mysql
37 - system.haproxy.proxy.listen.stats
38 - cluster.virtual-offline-pike-ovs-dpdk.infra
39parameters:
40 _param:
41 apt_mk_version: proposed
42 admin_email: root@localhost
43 cluster_node01_name: ${_param:cicd_control_node01_hostname}
44 cluster_node01_address: ${_param:cicd_control_node01_address}
45 cluster_node02_name: ${_param:cicd_control_node02_hostname}
46 cluster_node02_address: ${_param:cicd_control_node02_address}
47 cluster_node03_name: ${_param:cicd_control_node03_hostname}
48 cluster_node03_address: ${_param:cicd_control_node03_address}
49 keepalived_vip_virtual_router_id: 180
50 keepalived_vip_password: r00tme
51 keepalived_vip_interface: ens4
52 cluster_vip_address: ${_param:control_vip_address}
53 control_vip_address: ${_param:cicd_control_address}
54 jenkins_slave_user_id: 10000
55 jenkins_slave_group_id: ${_param:jenkins_slave_user_id}
56 # Docker images and versions
57 docker_registry_http_secret: aikemee4AhK0Eechai2eh6aa3eeWiet9
58 # CI/CD service databases
59 mysql_admin_password: r00tme
60 mysql_gerrit_password: r00tme
61 nginx_proxy_gerrit_server_site_host: ${_param:cluster_public_host}
62 nginx_proxy_gerrit_server_site_port: 8070
63 gerrit_http_listen_url: proxy-https://*:8080/
64 gerrit_pipeline_library_repo: http://${_param:aptly_server_address}:8088/pipeline-library.git
65 gerrit_mk_pipelines_repo: http://${_param:aptly_server_address}:8088/mk-pipelines.git
66 # Proxy
67 cluster_ssl_certificate:
68 enabled: true
69 pem_file: /etc/haproxy/ssl/${_param:cluster_public_host}-all.pem
70 haproxy_bind_address: ${_param:cluster_vip_address}
71 haproxy_mysql_source_port: 13306
72 aptly:
73 publisher:
74 source:
75 registry: ${_param:aptly_server_address}:5000
76 image: aptly-publisher:${_param:apt_mk_version}
77 docker:
78 host:
79 insecure_registries:
80 - ${_param:aptly_server_address}:5000
81 linux:
82 system:
83 package:
84 ca-certificates-java:
85 version: latest
86 directory:
87 /var/lib/jenkins/:
88 user: ${_param:jenkins_slave_user_id}
89 group: ${_param:jenkins_slave_group_id}
90
91