dpl 1.8.13.travis.1313.4 → 1.8.13.travis.1528.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/Gemfile +0 -1
- data/README.md +25 -25
- data/lib/dpl/provider/cloud_foundry.rb +1 -1
- data/spec/provider/anynines_spec.rb +1 -1
- data/spec/provider/cloudfoundry_spec.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
ZjBjZDg5NTZhNTIwN2UzYjBmOTgyNDFiMjQwOTQ3NGYxY2I2NzkzMQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
OWFmMzYxZTZhNWFkNjRmYzRjMmNhMmE5M2U4MTQ5YWYxNjE1NTUxYw==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
OGMxZmY1OTk4Y2E4Yjg4ZmQ5MDA2MDQxZDc3MjU1NmY4MWRmODNlYWNkNjM0
|
10
|
+
ZGVhMDBhYWZhNzIzNzY1YmY2YTQ2NjczMmE1M2FmNGVkNjM2M2I0MDEyMzFi
|
11
|
+
NzA3ODFjYmVlNzJjNmY5YzdlYWYxZmI1NjE0ZmNiZTk3OGMyN2Q=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
MDBiMzU2NzM2MjA5MjQxYTU1NTkzNDYzMGNmNTY2YTFjZmFkYmMyOWUyZThk
|
14
|
+
ZTYyYTlhMjgwYjg2MTJmYjU0OTdjOGI4Y2RmNTRkZjdlMWJlMzM2M2M4NjVj
|
15
|
+
NmVhZDBlYjY0Nzc0ZTIyYzQ4YTBhYjNmYzk3OGMzZjM0YTQ3ZTc=
|
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -11,6 +11,7 @@ Dpl supports the following providers:
|
|
11
11
|
* [AppFog](#appfog)
|
12
12
|
* [Atlas by HashiCorp](#atlas)
|
13
13
|
* [AWS CodeDeploy](#aws-codedeploy)
|
14
|
+
* [AWS Elastic Beanstalk](#elastic-beanstalk)
|
14
15
|
* [AWS OpsWorks](#opsworks)
|
15
16
|
* [Azure Web Apps](#azure-web-apps)
|
16
17
|
* [Biicode](#biicode)
|
@@ -24,7 +25,6 @@ Dpl supports the following providers:
|
|
24
25
|
* [Deis](#deis)
|
25
26
|
* [Divshot.io](#divshotio)
|
26
27
|
* [dotCloud (experimental)](#dotcloud)
|
27
|
-
* [Elastic Beanstalk](#elastic-beanstalk)
|
28
28
|
* [Engine Yard](#engine-yard)
|
29
29
|
* [ExoScale](#exoscale)
|
30
30
|
* [Firebase](#firebase)
|
@@ -370,6 +370,30 @@ It is possible to set file-specific `Cache-Control` and `Expires` headers using
|
|
370
370
|
dpl --provider=s3 --access-key-id=<access-key-id> --secret-access-key=<secret-access-key> --bucket=<bucket> --detect-encoding --cache_control=max-age=99999 --expires="2012-12-21 00:00:00 -0000"
|
371
371
|
dpl --provider=s3 --access-key-id=<access-key-id> --secret-access-key=<secret-access-key> --bucket=<bucket> --region=us-west-2 --local-dir= BUILD --upload-dir=BUILDS
|
372
372
|
|
373
|
+
### Elastic Beanstalk:
|
374
|
+
|
375
|
+
#### Options:
|
376
|
+
|
377
|
+
* **access-key-id**: AWS Access Key ID. Can be obtained from [here](https://console.aws.amazon.com/iam/home?#security_credential).
|
378
|
+
* **secret-access-key**: AWS Secret Key. Can be obtained from [here](https://console.aws.amazon.com/iam/home?#security_credential).
|
379
|
+
* **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.
|
380
|
+
* **app**: Elastic Beanstalk application name.
|
381
|
+
* **env**: Elastic Beanstalk environment name which will be updated.
|
382
|
+
* **zip_file**: The zip file that you want to deploy. _**Note:**_ you also need to use the `skip_cleanup` or the zip file you are trying to upload will be removed during cleanup.
|
383
|
+
* **bucket_name**: Bucket name to upload app to.
|
384
|
+
* **bucket_path**: Location within Bucket to upload app to.
|
385
|
+
* **only_create_app_version**: only create the app version, don't actually deploy it.
|
386
|
+
|
387
|
+
#### Environment variables:
|
388
|
+
|
389
|
+
* **ELASTIC_BEANSTALK_ENV**: Elastic Beanstalk environment name which will be updated. Is only used if `env` option is omitted.
|
390
|
+
* **ELASTIC_BEANSTALK_LABEL**: Label name of the new version.
|
391
|
+
* **ELASTIC_BEANSTALK_DESCRIPTION**: Description of the new version. Defaults to the last commit message.
|
392
|
+
|
393
|
+
#### Examples:
|
394
|
+
|
395
|
+
dpl --provider=elasticbeanstalk --access-key-id=<access-key-id> --secret-access-key="<secret-access-key>" --app="example-app-name" --env="example-app-environment" --region="us-west-2"
|
396
|
+
|
373
397
|
### OpsWorks:
|
374
398
|
|
375
399
|
#### Options:
|
@@ -597,30 +621,6 @@ For accounts using two factor authentication, you have to use an oauth token as
|
|
597
621
|
dpl --provider=gcs --access-key-id=<access-key-id> --secret-access-key=<secret-access-key> --bucket=<bucket> --detect-encoding --cache_control=max-age=99999
|
598
622
|
dpl --provider=gcs --access-key-id=<access-key-id> --secret-access-key=<secret-access-key> --bucket=<bucket> --local-dir=BUILD --upload-dir=BUILDS
|
599
623
|
|
600
|
-
### Elastic Beanstalk:
|
601
|
-
|
602
|
-
#### Options:
|
603
|
-
|
604
|
-
* **access-key-id**: AWS Access Key ID. Can be obtained from [here](https://console.aws.amazon.com/iam/home?#security_credential).
|
605
|
-
* **secret-access-key**: AWS Secret Key. Can be obtained from [here](https://console.aws.amazon.com/iam/home?#security_credential).
|
606
|
-
* **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.
|
607
|
-
* **app**: Elastic Beanstalk application name.
|
608
|
-
* **env**: Elastic Beanstalk environment name which will be updated.
|
609
|
-
* **zip_file**: The zip file that you want to deploy. _**Note:**_ you also need to use the `skip_cleanup` or the zip file you are trying to upload will be removed during cleanup.
|
610
|
-
* **bucket_name**: Bucket name to upload app to.
|
611
|
-
* **bucket_path**: Location within Bucket to upload app to.
|
612
|
-
* **only_create_app_version**: only create the app version, don't actually deploy it.
|
613
|
-
|
614
|
-
#### Environment variables:
|
615
|
-
|
616
|
-
* **ELASTIC_BEANSTALK_ENV**: Elastic Beanstalk environment name which will be updated. Is only used if `env` option is omitted.
|
617
|
-
* **ELASTIC_BEANSTALK_LABEL**: Label name of the new version.
|
618
|
-
* **ELASTIC_BEANSTALK_DESCRIPTION**: Description of the new version. Defaults to the last commit message.
|
619
|
-
|
620
|
-
#### Examples:
|
621
|
-
|
622
|
-
dpl --provider=elasticbeanstalk --access-key-id=<access-key-id> --secret-access-key="<secret-access-key>" --app="example-app-name" --env="example-app-environment" --region="us-west-2"
|
623
|
-
|
624
624
|
### BitBalloon:
|
625
625
|
|
626
626
|
#### Options:
|
@@ -3,7 +3,7 @@ module DPL
|
|
3
3
|
class CloudFoundry < Provider
|
4
4
|
|
5
5
|
def initial_go_tools_install
|
6
|
-
context.shell 'wget
|
6
|
+
context.shell 'wget http://go-cli.s3-website-us-east-1.amazonaws.com/releases/latest/cf-linux-amd64.tgz -qO cf-linux-amd64.tgz && tar -zxvf cf-linux-amd64.tgz && rm cf-linux-amd64.tgz'
|
7
7
|
end
|
8
8
|
|
9
9
|
def check_auth
|
@@ -11,7 +11,7 @@ describe DPL::Provider::Anynines do
|
|
11
11
|
|
12
12
|
describe "#check_auth" do
|
13
13
|
example do
|
14
|
-
expect(provider.context).to receive(:shell).with('wget
|
14
|
+
expect(provider.context).to receive(:shell).with('wget http://go-cli.s3-website-us-east-1.amazonaws.com/releases/latest/cf-linux-amd64.tgz -qO cf-linux-amd64.tgz && tar -zxvf cf-linux-amd64.tgz && rm cf-linux-amd64.tgz')
|
15
15
|
expect(provider.context).to receive(:shell).with('./cf api https://api.de.a9s.eu')
|
16
16
|
expect(provider.context).to receive(:shell).with('./cf login --u mallomar --p myreallyawesomepassword --o myorg --s outer')
|
17
17
|
provider.check_auth
|
@@ -13,7 +13,7 @@ describe DPL::Provider::CloudFoundry do
|
|
13
13
|
|
14
14
|
describe "#check_auth" do
|
15
15
|
example do
|
16
|
-
expect(provider.context).to receive(:shell).with('wget
|
16
|
+
expect(provider.context).to receive(:shell).with('wget http://go-cli.s3-website-us-east-1.amazonaws.com/releases/latest/cf-linux-amd64.tgz -qO cf-linux-amd64.tgz && tar -zxvf cf-linux-amd64.tgz && rm cf-linux-amd64.tgz')
|
17
17
|
expect(provider.context).to receive(:shell).with('./cf api api.run.awesome.io --skip-ssl-validation')
|
18
18
|
expect(provider.context).to receive(:shell).with('./cf login --u mallomar --p myreallyawesomepassword --o myorg --s outer')
|
19
19
|
provider.check_auth
|
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.8.13.travis.
|
4
|
+
version: 1.8.13.travis.1528.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: 2016-
|
11
|
+
date: 2016-07-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|