blob: 7045b66b63d88341068411b46cac7a3296dc5d17 [file] [log] [blame]
Filip Pytlounee7eb472017-11-30 14:34:56 +01001classes:
2 - system.docker.client.compose
3parameters:
4 _param:
Filip Pytlounee7eb472017-11-30 14:34:56 +01005 jenkins_master_extra_opts: ""
Ivan Berezovskiy707a7262019-05-07 15:08:38 +04006 jenkins_master_executors_num: 0
Filip Pytlounee7eb472017-11-30 14:34:56 +01007 jenkins_master_max_concurent_requests: 40
Jakub Joseff3c79432017-12-05 14:44:41 +01008 jenkins_home_dir_path: /var/jenkins_home
Filip Pytlounee7eb472017-11-30 14:34:56 +01009 docker:
10 client:
11 compose:
12 jenkins:
13 status: up
14 service:
15 master:
16 environment:
Jakub Joseff3c79432017-12-05 14:44:41 +010017 JENKINS_HOME: ${_param:jenkins_home_dir_path}
18 JAVA_OPTS: " -server -XX:+AlwaysPreTouch -Xloggc:${_param:jenkins_home_dir_path}/gc-%t.log -XX:NumberOfGCLogFiles=5 -XX:+UseGCLogFileRotation -XX:GCLogFileSize=20m -XX:+PrintGC -XX:+PrintGCDateStamps -XX:+PrintGCDetails -XX:+PrintHeapAtGC -XX:+PrintGCCause -XX:+PrintTenuringDistribution -XX:+PrintReferenceGC -XX:+PrintAdaptiveSizePolicy -XX:+UseG1GC -XX:+ExplicitGCInvokesConcurrent -XX:+ParallelRefProcEnabled -XX:+UseStringDeduplication -XX:+UnlockExperimentalVMOptions -XX:G1NewSizePercent=20 -XX:+UnlockDiagnosticVMOptions -XX:G1SummarizeRSetStatsPeriod=1 -Djenkins.install.runSetupWizard=false -Dhudson.DNSMultiCast.disabled=true -Dhudson.udp=-1 -Dhudson.footerURL=https://www.mirantis.com ${_param:jenkins_master_extra_opts}"
Filip Pytlounee7eb472017-11-30 14:34:56 +010019 JENKINS_NUM_EXECUTORS: ${_param:jenkins_master_executors_num}
20 JENKINS_OPTS: " --handlerCountMax=${_param:jenkins_master_max_concurent_requests}"
21 https_proxy: ${_param:docker_https_proxy}
22 http_proxy: ${_param:docker_http_proxy}
23 no_proxy: ${_param:docker_no_proxy}
24 image: ${_param:docker_image_jenkins}
25 restart: always
26 ports:
27 - 18081:8080
28 - 50001:50000
29 volumes:
30 - /srv/volumes/jenkins:/var/jenkins_home
31 - /etc/ssl/certs/java/cacerts:/etc/ssl/certs/java/cacerts:ro
Jakub Josef13dc7f62017-12-06 19:21:58 +010032 network:
33 default:
34 ipam:
35 driver: default
36 config:
37 - subnet: 172.29.0.0/24
Filip Pytlounee7eb472017-11-30 14:34:56 +010038 linux:
39 system:
40 directory:
41 /srv/volumes/jenkins:
42 makedirs: true
43 user: 1000
44 group: 1000
45 package:
46 ca-certificates-java:
47 version: latest