builderator 2.0.4 → 2.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/builderator/config/defaults.rb +17 -0
- data/lib/builderator/config/file.rb +2 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 93355654ac6fa696328f4b4823f9ce7bbac61d73
|
4
|
+
data.tar.gz: 1fee300192c2e3db1a85274218078fbb010459a4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 52326c1a4004fdb987ca806e82a34c7f6b8756ceda13cd03ada82bb5a42349e31098adfa89a0a852c0a3285dde5028eea37b92a9140b3727a8048f5f8529242c
|
7
|
+
data.tar.gz: 14c0399f0a539964881a945b74f71a4e0c3d68cafee7a4b725bcbaef2a678e0e5043738295f6de7193a73dc4a673315f18d4c6069059b297e64e1b4f584e71d5
|
@@ -79,6 +79,23 @@ module Builderator
|
|
79
79
|
# Ints will be interpreted as ns. Buyer beware.
|
80
80
|
build.ssh_timeout '300s'
|
81
81
|
|
82
|
+
# Clear the AMI and launch block device mappings for the default
|
83
|
+
# c3.large instance type.
|
84
|
+
build.ami_block_device_mappings [{
|
85
|
+
'device_name' => '/dev/sdb',
|
86
|
+
'no_device' => true,
|
87
|
+
}, {
|
88
|
+
'device_name' => '/dev/sdc',
|
89
|
+
'no_device' => true,
|
90
|
+
}]
|
91
|
+
build.launch_block_device_mappings [{
|
92
|
+
'device_name' => '/dev/sdb',
|
93
|
+
'no_device' => true,
|
94
|
+
}, {
|
95
|
+
'device_name' => '/dev/sdc',
|
96
|
+
'no_device' => true,
|
97
|
+
}]
|
98
|
+
|
82
99
|
build.ami_name [Config.build_name, Config.version, Config.build_number].reject(&:nil?).join('-')
|
83
100
|
build.ami_description Config.description
|
84
101
|
end
|
@@ -214,12 +214,14 @@ module Builderator
|
|
214
214
|
attribute :export_path
|
215
215
|
|
216
216
|
# Optional attributes
|
217
|
+
attribute :ami_block_device_mappings, :type => :list
|
217
218
|
attribute :author
|
218
219
|
attribute :aws_access_key
|
219
220
|
attribute :aws_secret_key
|
220
221
|
attribute :aws_token
|
221
222
|
attribute :changes, :type => :list
|
222
223
|
attribute :ecr_login
|
224
|
+
attribute :launch_block_device_mappings, :type => :list
|
223
225
|
attribute :login
|
224
226
|
attribute :login_email
|
225
227
|
attribute :login_username
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: builderator
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0
|
4
|
+
version: 2.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- John Manero
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-08-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|