Filip Pytloun | 7d6144a | 2017-04-13 13:36:45 +0200 | [diff] [blame] | 1 | parameters: |
| 2 | _param: |
Filip Pytloun | fbfbddf | 2017-08-16 21:49:42 +0200 | [diff] [blame] | 3 | docker_image_jenkins: tcpcloud/jenkins:2.73 |
Jakub Josef | 0c875c7 | 2017-07-26 23:52:51 +0200 | [diff] [blame] | 4 | jenkins_master_extra_opts: "" |
| 5 | jenkins_master_executors_num: 4 |
Filip Pytloun | 7d6144a | 2017-04-13 13:36:45 +0200 | [diff] [blame] | 6 | docker: |
| 7 | client: |
| 8 | stack: |
| 9 | jenkins: |
Filip Pytloun | 7d6144a | 2017-04-13 13:36:45 +0200 | [diff] [blame] | 10 | service: |
| 11 | master: |
Filip Pytloun | 6964508 | 2017-06-01 17:13:01 +0200 | [diff] [blame] | 12 | environment: |
Jakub Josef | 9b20fc0 | 2017-09-04 19:10:50 +0200 | [diff] [blame] | 13 | JENKINS_HOME: /var/jenkins_home |
Filip Pytloun | a1899dc | 2017-07-28 01:13:02 +0200 | [diff] [blame] | 14 | 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}" |
Jakub Josef | 0c875c7 | 2017-07-26 23:52:51 +0200 | [diff] [blame] | 15 | JENKINS_NUM_EXECUTORS: ${_param:jenkins_master_executors_num} |
Filip Pytloun | 7d6144a | 2017-04-13 13:36:45 +0200 | [diff] [blame] | 16 | deploy: |
| 17 | restart_policy: |
| 18 | condition: any |
| 19 | image: ${_param:docker_image_jenkins} |
| 20 | ports: |
| 21 | - 18081:8080 |
| 22 | - 50001:50000 |
| 23 | volumes: |
| 24 | - /srv/volumes/jenkins:/var/jenkins_home |
| 25 | - /etc/ssl/certs/java/cacerts:/etc/ssl/certs/java/cacerts:ro |