dpl 1.8.13.travis.1528.4 → 1.8.13

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,7 @@
1
1
  ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- ZjBjZDg5NTZhNTIwN2UzYjBmOTgyNDFiMjQwOTQ3NGYxY2I2NzkzMQ==
5
- data.tar.gz: !binary |-
6
- OWFmMzYxZTZhNWFkNjRmYzRjMmNhMmE5M2U4MTQ5YWYxNjE1NTUxYw==
2
+ SHA1:
3
+ metadata.gz: f3f6c406803a8542f22644f24fd1f688dda03ac6
4
+ data.tar.gz: 14067f0f2a6ecf940781f1f8b9e7a51c8ba76ba8
7
5
  SHA512:
8
- metadata.gz: !binary |-
9
- OGMxZmY1OTk4Y2E4Yjg4ZmQ5MDA2MDQxZDc3MjU1NmY4MWRmODNlYWNkNjM0
10
- ZGVhMDBhYWZhNzIzNzY1YmY2YTQ2NjczMmE1M2FmNGVkNjM2M2I0MDEyMzFi
11
- NzA3ODFjYmVlNzJjNmY5YzdlYWYxZmI1NjE0ZmNiZTk3OGMyN2Q=
12
- data.tar.gz: !binary |-
13
- MDBiMzU2NzM2MjA5MjQxYTU1NTkzNDYzMGNmNTY2YTFjZmFkYmMyOWUyZThk
14
- ZTYyYTlhMjgwYjg2MTJmYjU0OTdjOGI4Y2RmNTRkZjdlMWJlMzM2M2M4NjVj
15
- NmVhZDBlYjY0Nzc0ZTIyYzQ4YTBhYjNmYzk3OGMzZjM0YTQ3ZTc=
6
+ metadata.gz: 8a8d7532de184b6f935704c7b331c0c92820d037fe02936cc957c9adb26de08c9d6990aba17709b1871a7032a718d464891d37e95fea835590fcad5f81ccf14e
7
+ data.tar.gz: 44ac53789938bf86cbdf71019e1855ba9f2c7b26c98e343a3ae28f8ab73d897dc245b1ab28a155cdfb986e6efbe79f117a6ad5085b2e01a2883204a891bdec17
data/Gemfile CHANGED
@@ -63,6 +63,7 @@ end
63
63
 
64
64
  group :bitballoon do
65
65
  gem 'bitballoon'
66
+ gem 'jwt', '< 1.5.3', platforms: :mri_19
66
67
  end
67
68
 
68
69
  group :puppet_forge do
data/README.md CHANGED
@@ -11,7 +11,6 @@ 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)
15
14
  * [AWS OpsWorks](#opsworks)
16
15
  * [Azure Web Apps](#azure-web-apps)
17
16
  * [Biicode](#biicode)
@@ -25,6 +24,7 @@ Dpl supports the following providers:
25
24
  * [Deis](#deis)
26
25
  * [Divshot.io](#divshotio)
27
26
  * [dotCloud (experimental)](#dotcloud)
27
+ * [Elastic Beanstalk](#elastic-beanstalk)
28
28
  * [Engine Yard](#engine-yard)
29
29
  * [ExoScale](#exoscale)
30
30
  * [Firebase](#firebase)
@@ -370,30 +370,6 @@ 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
-
397
373
  ### OpsWorks:
398
374
 
399
375
  #### Options:
@@ -621,6 +597,30 @@ For accounts using two factor authentication, you have to use an oauth token as
621
597
  dpl --provider=gcs --access-key-id=<access-key-id> --secret-access-key=<secret-access-key> --bucket=<bucket> --detect-encoding --cache_control=max-age=99999
622
598
  dpl --provider=gcs --access-key-id=<access-key-id> --secret-access-key=<secret-access-key> --bucket=<bucket> --local-dir=BUILD --upload-dir=BUILDS
623
599
 
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 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'
6
+ context.shell 'wget \'https://cli.run.pivotal.io/stable?release=linux64-binary&source=github\' -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
data/lib/dpl/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module DPL
2
- VERSION = '1.8.12'
2
+ VERSION = '1.8.13'
3
3
  end
@@ -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 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')
14
+ expect(provider.context).to receive(:shell).with('wget \'https://cli.run.pivotal.io/stable?release=linux64-binary&source=github\' -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 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')
16
+ expect(provider.context).to receive(:shell).with('wget \'https://cli.run.pivotal.io/stable?release=linux64-binary&source=github\' -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,69 +1,69 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dpl
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.8.13.travis.1528.4
4
+ version: 1.8.13
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-07-22 00:00:00.000000000 Z
11
+ date: 2016-02-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ~>
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
19
  version: 3.0.0
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ~>
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: 3.0.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rspec-its
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ! '>='
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: '0'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ! '>='
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rake
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ! '>='
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
47
  version: '0'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ! '>='
52
+ - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: simplecov
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - ! '>='
59
+ - - ">="
60
60
  - !ruby/object:Gem::Version
61
61
  version: '0'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - ! '>='
66
+ - - ">="
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
69
  - !ruby/object:Gem::Dependency
@@ -84,14 +84,14 @@ dependencies:
84
84
  name: coveralls
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - ! '>='
87
+ - - ">="
88
88
  - !ruby/object:Gem::Version
89
89
  version: '0'
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - ! '>='
94
+ - - ">="
95
95
  - !ruby/object:Gem::Version
96
96
  version: '0'
97
97
  description: deploy tool abstraction for clients
@@ -101,10 +101,10 @@ executables:
101
101
  extensions: []
102
102
  extra_rdoc_files: []
103
103
  files:
104
- - .coveralls.yml
105
- - .gitignore
106
- - .rspec
107
- - .travis.yml
104
+ - ".coveralls.yml"
105
+ - ".gitignore"
106
+ - ".rspec"
107
+ - ".travis.yml"
108
108
  - Gemfile
109
109
  - LICENSE
110
110
  - README.md
@@ -219,18 +219,62 @@ require_paths:
219
219
  - lib
220
220
  required_ruby_version: !ruby/object:Gem::Requirement
221
221
  requirements:
222
- - - ! '>='
222
+ - - ">="
223
223
  - !ruby/object:Gem::Version
224
224
  version: 1.9.3
225
225
  required_rubygems_version: !ruby/object:Gem::Requirement
226
226
  requirements:
227
- - - ! '>'
227
+ - - ">="
228
228
  - !ruby/object:Gem::Version
229
- version: 1.3.1
229
+ version: '0'
230
230
  requirements: []
231
231
  rubyforge_project:
232
- rubygems_version: 2.4.5
232
+ rubygems_version: 2.4.3
233
233
  signing_key:
234
234
  specification_version: 4
235
235
  summary: deploy tool
236
- test_files: []
236
+ test_files:
237
+ - spec/cli_spec.rb
238
+ - spec/provider/anynines_spec.rb
239
+ - spec/provider/appfog_spec.rb
240
+ - spec/provider/atlas_spec.rb
241
+ - spec/provider/bintray_spec.rb
242
+ - spec/provider/bitballoon_spec.rb
243
+ - spec/provider/boxfuse_spec.rb
244
+ - spec/provider/chef_supermarket_spec.rb
245
+ - spec/provider/cloud66_spec.rb
246
+ - spec/provider/cloud_files_spec.rb
247
+ - spec/provider/cloudcontrol_spec.rb
248
+ - spec/provider/cloudfoundry_spec.rb
249
+ - spec/provider/code_deploy_spec.rb
250
+ - spec/provider/deis_spec.rb
251
+ - spec/provider/divshot_spec.rb
252
+ - spec/provider/dotcloud_spec.rb
253
+ - spec/provider/elastic_beanstalk_spec.rb
254
+ - spec/provider/exoscale_spec.rb
255
+ - spec/provider/firebase_spec.rb
256
+ - spec/provider/gae_spec.rb
257
+ - spec/provider/gcs_spec.rb
258
+ - spec/provider/hackage_spec.rb
259
+ - spec/provider/heroku_anvil_spec.rb
260
+ - spec/provider/heroku_api_spec.rb
261
+ - spec/provider/heroku_git_deploy_key_spec.rb
262
+ - spec/provider/heroku_git_spec.rb
263
+ - spec/provider/lambda_spec.rb
264
+ - spec/provider/modulus_spec.rb
265
+ - spec/provider/npm_spec.rb
266
+ - spec/provider/openshift_spec.rb
267
+ - spec/provider/ops_works_spec.rb
268
+ - spec/provider/packagecloud_spec.rb
269
+ - spec/provider/puppet_forge_spec.rb
270
+ - spec/provider/pypi_spec.rb
271
+ - spec/provider/releases_spec.rb
272
+ - spec/provider/rubygems_spec.rb
273
+ - spec/provider/s3_spec.rb
274
+ - spec/provider/scalingo_spec.rb
275
+ - spec/provider/script_spec.rb
276
+ - spec/provider/testfairy_spec.rb
277
+ - spec/provider/transifex_spec.rb
278
+ - spec/provider_spec.rb
279
+ - spec/spec_helper.rb
280
+ has_rdoc: