Filip Pytloun | ee7eb47 | 2017-11-30 14:34:56 +0100 | [diff] [blame] | 1 | classes: |
| 2 | - system.docker.client.compose |
| 3 | parameters: |
| 4 | _param: |
Filip Pytloun | ee7eb47 | 2017-11-30 14:34:56 +0100 | [diff] [blame] | 5 | jenkins_master_extra_opts: "" |
Ivan Berezovskiy | 707a726 | 2019-05-07 15:08:38 +0400 | [diff] [blame] | 6 | jenkins_master_executors_num: 0 |
Filip Pytloun | ee7eb47 | 2017-11-30 14:34:56 +0100 | [diff] [blame] | 7 | jenkins_master_max_concurent_requests: 40 |
Jakub Josef | f3c7943 | 2017-12-05 14:44:41 +0100 | [diff] [blame] | 8 | jenkins_home_dir_path: /var/jenkins_home |
Filip Pytloun | ee7eb47 | 2017-11-30 14:34:56 +0100 | [diff] [blame] | 9 | docker: |
| 10 | client: |
| 11 | compose: |
| 12 | jenkins: |
| 13 | status: up |
| 14 | service: |
| 15 | master: |
| 16 | environment: |
Jakub Josef | f3c7943 | 2017-12-05 14:44:41 +0100 | [diff] [blame] | 17 | 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 Pytloun | ee7eb47 | 2017-11-30 14:34:56 +0100 | [diff] [blame] | 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 |
Jakub Josef | 13dc7f6 | 2017-12-06 19:21:58 +0100 | [diff] [blame] | 32 | network: |
| 33 | default: |
| 34 | ipam: |
| 35 | driver: default |
| 36 | config: |
| 37 | - subnet: 172.29.0.0/24 |
Filip Pytloun | ee7eb47 | 2017-11-30 14:34:56 +0100 | [diff] [blame] | 38 | 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 |