shipwright 1.1.1 → 1.1.2
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/shipwright/elastic_beanstalk.rb +4 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 239b8c991279903351befe8256c0a59d4f2590c8
|
4
|
+
data.tar.gz: 7378c9364725543fec6e503bf1c7e65110262caa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4d53a53fad6a25bb944dc0a11672f43c8b4e26cc83901e20b28be7487fc6825f7a4017923860c824fdec778e9c2e69f1075307c272ea3280c1c59b4442808b01
|
7
|
+
data.tar.gz: 3b696f1f2aa9f6e4c18d957eba4a9048f25faa5abc0530ed310a6aaeb0007add6941e8cb77ab0088971ff93b86e8632a13cacbe5fafc8c86fd71ce657066aa0b
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.1.
|
1
|
+
1.1.2
|
@@ -20,7 +20,8 @@ module Shipwright
|
|
20
20
|
container['image'] = bits.push(version).join(':')
|
21
21
|
end
|
22
22
|
|
23
|
-
File.open(DOCKERRUN, 'wb') { |file|
|
23
|
+
File.open(DOCKERRUN, 'wb') { |file|
|
24
|
+
file.write JSON.pretty_generate(dockerrun) }
|
24
25
|
end
|
25
26
|
|
26
27
|
def generate_artifact
|
@@ -41,10 +42,11 @@ module Shipwright
|
|
41
42
|
config['deploy'] ||= {}
|
42
43
|
config['deploy']['artifact'] = artifact_path
|
43
44
|
File.open(EB_CONFIG, 'wb') { |f| f.write config.to_yaml[4..-1] } # skip ---\n
|
45
|
+
rescue Errno::ENOENT
|
44
46
|
end
|
45
47
|
|
46
48
|
def artifact_path
|
47
|
-
File.join Dir.pwd, 'builds', "#{version}.zip"
|
49
|
+
File.join Dir.pwd, 'builds', "#{application}-#{version}.zip"
|
48
50
|
end
|
49
51
|
|
50
52
|
def version
|