blob: 7d3aec0362a59b95aeb302c179b848a0e15bfad6 [file] [log] [blame]
Filip Pytlounee7eb472017-11-30 14:34:56 +01001classes:
2 - system.docker.client.compose
3parameters:
4 _param:
5 docker_image_jenkins: tcpcloud/jenkins:2.89
6 jenkins_master_extra_opts: ""
7 jenkins_master_executors_num: 4
8 jenkins_master_max_concurent_requests: 40
9 docker:
10 client:
11 compose:
12 jenkins:
13 status: up
14 service:
15 master:
16 environment:
17 JENKINS_HOME: /var/jenkins_home
18 JAVA_OPTS: " -server -XX:+AlwaysPreTouch -Xloggc:$JENKINS_HOME/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}"
19 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
32 linux:
33 system:
34 directory:
35 /srv/volumes/jenkins:
36 makedirs: true
37 user: 1000
38 group: 1000
39 package:
40 ca-certificates-java:
41 version: latest