File tree Expand file tree Collapse file tree 4 files changed +10
-2
lines changed Expand file tree Collapse file tree 4 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 9
9
default [ 's3' ] [ 'downloads' ] [ 'host' ] = "downloads.typesafe.com.s3.amazonaws.com"
10
10
11
11
if node . name == "jenkins-master"
12
+ # EBS
13
+ default [ 'ebs' ] [ 'volumes' ] [ '/var/lib/jenkins' ] [ 'size' ] = 100 # size of the volume correlates to speed (in IOPS)
14
+ default [ 'ebs' ] [ 'volumes' ] [ '/var/lib/jenkins' ] [ 'dev' ] = "/dev/sdj"
15
+ default [ 'ebs' ] [ 'volumes' ] [ '/var/lib/jenkins' ] [ 'fstype' ] = "ext4"
16
+ default [ 'ebs' ] [ 'volumes' ] [ '/var/lib/jenkins' ] [ 'user' ] = "jenkins"
17
+ default [ 'ebs' ] [ 'volumes' ] [ '/var/lib/jenkins' ] [ 'mountopts' ] = 'noatime'
18
+
12
19
# JAVA
13
20
default [ 'java' ] [ 'jdk_version' ] = '7'
14
21
default [ 'java' ] [ 'install_flavor' ] = 'openjdk'
Original file line number Diff line number Diff line change 1
1
#
2
2
# Cookbook Name:: scala-jenkins-infra
3
- # Recipe:: _worker-config -ebs
3
+ # Recipe:: _config -ebs
4
4
#
5
5
# Copyright 2014, Typesafe, Inc.
6
6
#
Original file line number Diff line number Diff line change 15
15
end
16
16
end
17
17
18
+ include_recipe "scala-jenkins-infra::_config-ebs"
18
19
19
20
# nginx reverse proxy setup, in concert with JenkinsLocationConfiguration created in master-init
20
21
include_recipe 'scala-jenkins-infra::_master-config-proxy'
Original file line number Diff line number Diff line change 13
13
14
14
require 'chef-vault'
15
15
16
- include_recipe "scala-jenkins-infra::_worker-config -ebs"
16
+ include_recipe "scala-jenkins-infra::_config -ebs"
17
17
18
18
node [ "jenkinsHomes" ] . each do |jenkinsHome , workerConfig |
19
19
case node [ "platform_family" ]
You can’t perform that action at this time.
0 commit comments