builderator 1.3.0 → 1.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/builderator/tasks/packer.rb +2 -2
- 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: 3fb4ef86c45cb16fe6e55dfd1ccd041497c81841
|
4
|
+
data.tar.gz: 3575be68dc9cc77d5777c013fe94f0ad7c311906
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8957a669718384c61f98f0586bc852ef4ea318943f24d53a75e5e6dbdeafa02664098c8c641a4f227799e21c3f44ddc7b11345c1706e529b609077a92226b8e0
|
7
|
+
data.tar.gz: 9e071245a11d147a245a1fdfa851b09623db62e5c744c1f6fca542e2fc59e102f7b8415cadbeea366eb956f630c18ad762fb955a0b5cd603205e568acfedf8ec
|
@@ -206,7 +206,7 @@ module Builderator
|
|
206
206
|
|
207
207
|
def copy_image(region, params)
|
208
208
|
Retryable.retryable(:sleep => lambda { |n| 4**n }, :tries => 4, :on => [Aws::EC2::Errors::ServiceError]) do |retries, _|
|
209
|
-
say_status :error, 'Error copying image', :red if retries
|
209
|
+
say_status :error, 'Error copying image', :red if retries > 0
|
210
210
|
Util.ec2(region).copy_image(params)
|
211
211
|
end
|
212
212
|
end
|
@@ -219,7 +219,7 @@ module Builderator
|
|
219
219
|
|
220
220
|
image = nil
|
221
221
|
Retryable.retryable(:sleep => lambda { |n| 4**n }, :tries => 4, :on => [Aws::EC2::Errors::ServiceError]) do |retries, _|
|
222
|
-
say_status :error, 'Error finding image', :red if retries
|
222
|
+
say_status :error, 'Error finding image', :red if retries > 0
|
223
223
|
image = Util.ec2(region).describe_images(:filters => filters).images.first
|
224
224
|
end
|
225
225
|
image
|
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: 1.3.
|
4
|
+
version: 1.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- John Manero
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-06-
|
11
|
+
date: 2017-06-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|