blob: 96d4e101ea3bb25cbf759d38bf3bda13f4a9d30e [file] [log] [blame]
Filip Pytloune7d4f862017-08-04 13:11:51 +02001classes:
2- system.docker
Filip Pytloun7d6144a2017-04-13 13:36:45 +02003parameters:
4 _param:
Filip Pytloun0912c392017-10-12 11:30:44 +02005 docker_image_jenkins: tcpcloud/jenkins:2.83
Jakub Josef0c875c72017-07-26 23:52:51 +02006 jenkins_master_extra_opts: ""
7 jenkins_master_executors_num: 4
Dennis Dmitrievad737d92017-09-19 22:45:23 +03008 jenkins_master_max_concurent_requests: 40
Vladislav Naumov88974ac2017-09-25 12:42:47 +03009 oss_jenkins_user: admin
10 oss_jenkins_password: password
Filip Pytloun7d6144a2017-04-13 13:36:45 +020011 docker:
12 client:
13 stack:
14 jenkins:
Filip Pytloun7d6144a2017-04-13 13:36:45 +020015 service:
16 master:
Filip Pytloun69645082017-06-01 17:13:01 +020017 environment:
Jakub Josef9b20fc02017-09-04 19:10:50 +020018 JENKINS_HOME: /var/jenkins_home
Filip Pytlouna1899dc2017-07-28 01:13:02 +020019 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 Josef0c875c72017-07-26 23:52:51 +020020 JENKINS_NUM_EXECUTORS: ${_param:jenkins_master_executors_num}
Dennis Dmitrievad737d92017-09-19 22:45:23 +030021 JENKINS_OPTS: " --handlerCountMax=${_param:jenkins_master_max_concurent_requests}"
Filip Pytloune7d4f862017-08-04 13:11:51 +020022 https_proxy: ${_param:docker_https_proxy}
23 http_proxy: ${_param:docker_http_proxy}
24 no_proxy: ${_param:docker_no_proxy}
Filip Pytloun7d6144a2017-04-13 13:36:45 +020025 deploy:
26 restart_policy:
27 condition: any
28 image: ${_param:docker_image_jenkins}
29 ports:
30 - 18081:8080
31 - 50001:50000
32 volumes:
33 - /srv/volumes/jenkins:/var/jenkins_home
34 - /etc/ssl/certs/java/cacerts:/etc/ssl/certs/java/cacerts:ro