Filip Pytloun | ee7eb47 | 2017-11-30 14:34:56 +0100 | [diff] [blame] | 1 | classes: |
| 2 | - system.docker.client.compose |
| 3 | parameters: |
| 4 | _param: |
Jakub Josef | f3c7943 | 2017-12-05 14:44:41 +0100 | [diff] [blame^] | 5 | docker_image_jenkins: tcpcloud/jenkins:2.93 |
Filip Pytloun | ee7eb47 | 2017-11-30 14:34:56 +0100 | [diff] [blame] | 6 | jenkins_master_extra_opts: "" |
| 7 | jenkins_master_executors_num: 4 |
| 8 | jenkins_master_max_concurent_requests: 40 |
Jakub Josef | f3c7943 | 2017-12-05 14:44:41 +0100 | [diff] [blame^] | 9 | jenkins_home_dir_path: /var/jenkins_home |
Filip Pytloun | ee7eb47 | 2017-11-30 14:34:56 +0100 | [diff] [blame] | 10 | docker: |
| 11 | client: |
| 12 | compose: |
| 13 | jenkins: |
| 14 | status: up |
| 15 | service: |
| 16 | master: |
| 17 | environment: |
Jakub Josef | f3c7943 | 2017-12-05 14:44:41 +0100 | [diff] [blame^] | 18 | 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 Pytloun | ee7eb47 | 2017-11-30 14:34:56 +0100 | [diff] [blame] | 20 | 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 |