dpl 1.7.12.travis.766.4 → 1.7.12.travis.773.4
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 +8 -8
- data/README.md +1 -0
- data/lib/dpl/provider/elastic_beanstalk.rb +8 -2
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
!binary "U0hBMQ==":
|
|
3
3
|
metadata.gz: !binary |-
|
|
4
|
-
|
|
4
|
+
YjQ1NmZiMDZmOTY2ZThjYWJlNWFiYzhiMjc1NDY0OTI0YWYwODI1Mg==
|
|
5
5
|
data.tar.gz: !binary |-
|
|
6
|
-
|
|
6
|
+
YjNhZDU5NTI3MjY3NjBmZjk2ZjhjN2I5MzdiYWZiY2Q5M2JkZTRiOA==
|
|
7
7
|
SHA512:
|
|
8
8
|
metadata.gz: !binary |-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
YTlkNzAxNjVjYTc0MzA5OWIyNmE0Yjg3Y2M3NmM2YTNkNGM2NjMwMzI3Njhh
|
|
10
|
+
NzQ5YmZkNzQ4YWI4ZWQzNDI2NjhmM2JhNmE3OTliYWJhYTU5YTY0NzZhNTQz
|
|
11
|
+
N2U4NjA1YzA0OGFiMGRhZWQ0MzdkNjg4MTBhMzg2OGFiZjgwYzU=
|
|
12
12
|
data.tar.gz: !binary |-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
ZmZhZWJiMDFhNzcyOGYwMWE3NTAzODgyMDRmZjBlNGI1MWUzOGU2ZWU3NWFk
|
|
14
|
+
NzBjYmM1OTc5Y2RlYTYxYmZjOTJlN2Y0YWYxYTQ0Njg1NDBhNmNkOWY1MWU3
|
|
15
|
+
MDlkMjY4NDRkYmZhNTRhYTJlY2ZhMjUzNGRkZjE0MGFiYWVhMGM=
|
data/README.md
CHANGED
|
@@ -400,6 +400,7 @@ For accounts using two factor authentication, you have to use an oauth token as
|
|
|
400
400
|
* **region**: AWS Region the Elastic Beanstalk app is running in. Defaults to 'us-east-1'. Please be aware that this must match the region of the elastic beanstalk app.
|
|
401
401
|
* **app**: Elastic Beanstalk application name.
|
|
402
402
|
* **env**: Elastic Beanstalk environment name which will be updated.
|
|
403
|
+
* **zip-file**: The zip-file that you want to deploy. _**Note:**_ you also need to use the `skip-cleanup` or the zipfile you are trying to upload will be removed during cleanup.
|
|
403
404
|
* **bucket_name**: Bucket name to upload app to.
|
|
404
405
|
|
|
405
406
|
#### Examples:
|
|
@@ -21,7 +21,13 @@ module DPL
|
|
|
21
21
|
|
|
22
22
|
def push_app
|
|
23
23
|
create_bucket unless bucket_exists?
|
|
24
|
-
|
|
24
|
+
|
|
25
|
+
if options[:zip_file]
|
|
26
|
+
zip_file = File.join(Dir.pwd, options[:zip_file])
|
|
27
|
+
else
|
|
28
|
+
zip_file = create_zip
|
|
29
|
+
end
|
|
30
|
+
|
|
25
31
|
s3_object = upload(archive_name, zip_file)
|
|
26
32
|
sleep 5 #s3 eventual consistency
|
|
27
33
|
version = create_app_version(s3_object)
|
|
@@ -47,7 +53,7 @@ module DPL
|
|
|
47
53
|
end
|
|
48
54
|
|
|
49
55
|
def region
|
|
50
|
-
|
|
56
|
+
options[:region] || DEFAULT_REGION
|
|
51
57
|
end
|
|
52
58
|
|
|
53
59
|
def bucket_name
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: dpl
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.7.12.travis.
|
|
4
|
+
version: 1.7.12.travis.773.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Konstantin Haase
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-04
|
|
11
|
+
date: 2015-05-04 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rspec
|