builderator 0.3.13 → 0.3.14
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/builderator/control/clean.rb +3 -7
- 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: 6901f377be29e89f633b17b166ce6d2fc6198dfa
|
4
|
+
data.tar.gz: 9e8740901203c73291eaa3987a00216c94d4473f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2014b58d27b7c2d851a20b68c18e5a046f6bfcfbd11caa6fd4e85a41b3b6221d25794ad17260d51a0155ec733a301e4da59bebf5005b0e57372f06cf89de377e
|
7
|
+
data.tar.gz: 82e74ba6e5e1fd372125399a96f931b1986bf8b2a313d58fc74cdcda05526878f8d3acc78f2733a1f988a42864cc1b97dc8493715a16c832677a10dd1e3524f0
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.3.
|
1
|
+
0.3.14
|
@@ -32,7 +32,6 @@ module Builderator
|
|
32
32
|
Model.launch_configs.resources.delete(l)
|
33
33
|
|
34
34
|
next unless commit?
|
35
|
-
# puts "delete_launch_configuration(:launch_configuration_name => #{l})"
|
36
35
|
Util.asg.delete_launch_configuration(:launch_configuration_name => l)
|
37
36
|
end
|
38
37
|
rescue Aws::AutoScaling::Errors::ServiceError => e
|
@@ -51,8 +50,7 @@ module Builderator
|
|
51
50
|
Model.images.resources.delete(i)
|
52
51
|
|
53
52
|
next unless commit?
|
54
|
-
|
55
|
-
# Util.ec2.deregister_image(:image_id => i)
|
53
|
+
Util.ec2.deregister_image(:image_id => i)
|
56
54
|
end
|
57
55
|
rescue Aws::EC2::Errors::ServiceError => e
|
58
56
|
exceptions << Util::AwsException.new('Cleanup Images', e)
|
@@ -70,8 +68,7 @@ module Builderator
|
|
70
68
|
Model.snapshots.resources.delete(s)
|
71
69
|
|
72
70
|
next unless commit?
|
73
|
-
|
74
|
-
# Util.ec2.delete_snapshot(:snapshot_id => s)
|
71
|
+
Util.ec2.delete_snapshot(:snapshot_id => s)
|
75
72
|
end
|
76
73
|
rescue Aws::EC2::Errors::ServiceError => e
|
77
74
|
exceptions << Util::AwsException.new('Cleanup Snapshots', e)
|
@@ -89,8 +86,7 @@ module Builderator
|
|
89
86
|
Model.volumes.resources.delete(v)
|
90
87
|
|
91
88
|
next unless commit?
|
92
|
-
|
93
|
-
# Util.ec2.delete_volume(:volume_id => v)
|
89
|
+
Util.ec2.delete_volume(:volume_id => v)
|
94
90
|
end
|
95
91
|
rescue Aws::EC2::Errors::ServiceError => e
|
96
92
|
exceptions << Util::AwsException.new('Cleanup Volumes', e)
|
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: 0.3.
|
4
|
+
version: 0.3.14
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- John Manero
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-10-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|