blob: fbaf2c0eefb7714494b292a16dbdd65586e76342 [file] [log] [blame]
Tatyana Leontovich3a9e8682018-08-30 19:25:01 +03001classes:
2 - service.python.environment
3 # Services
4 - system.docker.client
5 # Docker services
6 - system.docker.swarm.stack.docker
7 - system.docker.swarm.stack.gerrit
8 - system.docker.swarm.stack.jenkins
9 - system.docker.swarm.stack.ldap
10 # Jenkins
11 - system.jenkins.client
12 - system.jenkins.client.credential.gerrit
13 - system.jenkins.client.credential.salt
14 # Jobs
15 - system.jenkins.client.job.aptly
16 - system.jenkins.client.job.git-mirrors.downstream.pipelines
17 - system.jenkins.client.job.deploy.openstack
18 - system.jenkins.client.job.deploy.update
19 - system.jenkins.client.job.validate
20 # Security
21 - system.jenkins.client.security.ldap
22 - system.jenkins.client.security.matrix
23 # Slaves
24 - system.jenkins.client.node
25 # OpenLDAP
26 - system.openldap.client
27 - system.openldap.client.people.admin
28
29 # Gerrit
30 - system.gerrit.client
31 - system.gerrit.client.project.ci
32
33 - system.docker.swarm.master
34
35 - cluster.virtual-offline-pike-ovs-dpdk.cicd.control
36
37parameters:
38 linux:
39 network:
40 interface:
41 ens4:
42 enabled: true
43 type: eth
44 proto: static
45 address: ${_param:single_address}
46 netmask: 255.255.255.0
47
48 _param:
49 # Jenkins
50 jenkins_slave_user: admin
51 jenkins_client_user: admin
52 jenkins_slave_password: ${_param:jenkins_admin_password}
53 jenkins_client_password: ${_param:jenkins_admin_password}
54 jenkins_admin_email: ${_param:admin_email}
55 aptly_api_port: 8080
56 aptly_public_port: 80
57 #jenkins_admin_public_key: ${_param:jenkins_admin_public_key_generated}
58 #jenkins_admin_private_key: ${_param:jenkins_admin_private_key_generated}
59 # Jobs params
60 jenkins_gerrit_url: ssh://admin@${_param:haproxy_gerrit_bind_host}:${_param:haproxy_gerrit_ssh_bind_port}
61 jenkins_offline_deployment: "true"
62 jenkins_aptly_api_url: http://${_param:aptly_server_address}:${_param:aptly_api_port}
63 jenkins_aptly_url: http://${_param:aptly_server_address}:${_param:aptly_public_port}
64 jenkins_aptly_storages: "local"
65
66 # Gerrit
67 gerrit_admin_email: ${_param:admin_email}
68 gerrit_public_host: https://${_param:nginx_proxy_gerrit_server_site_host}:${_param:nginx_proxy_gerrit_server_site_port}
69 gerrit_admin_public_key: ${_param:jenkins_admin_public_key}
70 gerrit_admin_private_key: ${_param:jenkins_admin_private_key}
71 gerrit_auth_type: LDAP
72 gerrit_ldap_server: "ldap://${_param:cluster_vip_address}"
73 gerrit_ldap_bind_user: "cn=admin,${_param:openldap_dn}"
74 gerrit_ldap_bind_password: ${_param:openldap_admin_password}
75 gerrit_ldap_account_base: ou=people,${_param:openldap_dn}
76 gerrit_ldap_group_base: ou=groups,${_param:openldap_dn}
77