blob: 85f2006a58563004cdcd6590d9979a9fb77e854c [file] [log] [blame]
Filip Pytlounee7eb472017-11-30 14:34:56 +01001classes:
2 - system.docker.client.compose
3parameters:
4 _param:
Jakub Joseff3c79432017-12-05 14:44:41 +01005 docker_image_jenkins: tcpcloud/jenkins:2.93
Filip Pytlounee7eb472017-11-30 14:34:56 +01006 jenkins_master_extra_opts: ""
7 jenkins_master_executors_num: 4
8 jenkins_master_max_concurent_requests: 40
Jakub Joseff3c79432017-12-05 14:44:41 +01009 jenkins_home_dir_path: /var/jenkins_home
Filip Pytlounee7eb472017-11-30 14:34:56 +010010 docker:
11 client:
12 compose:
13 jenkins:
14 status: up
15 service:
16 master:
17 environment:
Jakub Joseff3c79432017-12-05 14:44:41 +010018 JENKINS_HOME: ${_param:jenkins_home_dir_path}
19 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 +010020 JENKINS_NUM_EXECUTORS: ${_param:jenkins_master_executors_num}
21 JENKINS_OPTS: " --handlerCountMax=${_param:jenkins_master_max_concurent_requests}"
22 https_proxy: ${_param:docker_https_proxy}
23 http_proxy: ${_param:docker_http_proxy}
24 no_proxy: ${_param:docker_no_proxy}
25 image: ${_param:docker_image_jenkins}
26 restart: always
27 ports:
28 - 18081:8080
29 - 50001:50000
30 volumes:
31 - /srv/volumes/jenkins:/var/jenkins_home
32 - /etc/ssl/certs/java/cacerts:/etc/ssl/certs/java/cacerts:ro
33 linux:
34 system:
35 directory:
36 /srv/volumes/jenkins:
37 makedirs: true
38 user: 1000
39 group: 1000
40 package:
41 ca-certificates-java:
42 version: latest