builderator 2.0.4 → 2.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 546f19517e89098c1cbaebe6bf9c9142120d65f8
4
- data.tar.gz: 2a212ca4c5cbddb3fb5d666ea282f81975374fd7
3
+ metadata.gz: 93355654ac6fa696328f4b4823f9ce7bbac61d73
4
+ data.tar.gz: 1fee300192c2e3db1a85274218078fbb010459a4
5
5
  SHA512:
6
- metadata.gz: a459532c525027ba02cee9ff41512840d6cc7414d2a0371477dc31e817676573bbefb78ad2b2acada3cbbdc6e93fd39002b12098f8f7890235fe09583fd7fa93
7
- data.tar.gz: 15843e363495491ec329584a9fba648a395ebc36610f7a3f6d88f2961862c246887d585bae23939da34922dcdcbb880371a983b7216b213ec20c597ceefdce75
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
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-04-05 00:00:00.000000000 Z
11
+ date: 2018-08-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake