dpl 1.6.6.travis.531.1 → 1.6.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -13
- data/.travis.yml +2 -0
- data/Gemfile +0 -4
- data/README.md +0 -15
- data/lib/dpl/provider.rb +0 -1
- data/lib/dpl/version.rb +1 -1
- metadata +47 -22
- data/lib/dpl/provider/bitballoon.rb +0 -22
- data/spec/provider/bitballoon_spec.rb +0 -32
checksums.yaml
CHANGED
@@ -1,15 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
|
5
|
-
data.tar.gz: !binary |-
|
6
|
-
NzdiOGVmN2QwZGUxZGRiNjAwNDZkMDA0YWFiMjBhNzc0Y2I5ZDMxMA==
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: a7e2105d85be62297b129ca333ba2afc3e002e47
|
4
|
+
data.tar.gz: f842d4fdbb4378f0fc3078c635cfdc47eff69ae3
|
7
5
|
SHA512:
|
8
|
-
metadata.gz:
|
9
|
-
|
10
|
-
MDNkMDAxNDk2YTk5ODU3NWE0ZTc4YzJlMzI1NzM3YzY4YWMxYWVjNWNjNzlj
|
11
|
-
M2Q5ZTY5ZDM0OTdkMDA5MzRiYTdiOTkyMzJkYThlNDIyOTNmZDc=
|
12
|
-
data.tar.gz: !binary |-
|
13
|
-
ZGIyMzFhNGNkYjVmODY4YjZlYzI0OGU2YmE2NmM4OWI1OTk4Y2IxNDg1Njli
|
14
|
-
OGQ5ZjUyYmZlZDZkMzA0NDRhNjU3NDM5YmIwYjU2Mjg0NDU1MzRmYTgyMzI2
|
15
|
-
OTc1MzA0OTJiZmI0MWZiMzI3NjIyMGY0OGRmM2FhOTRkNTNlYTc=
|
6
|
+
metadata.gz: c7e9f651e039a28a2b29327d96e663e37e096e20c3d59a3a0553c7e16ff863539db359ace5d798f507e150e0a11403e839cda4d7fa92b6a4bfd37eca612eda1f
|
7
|
+
data.tar.gz: c63d3abb520881c5a492cdef09232c1f257e4ae86fcf1bde4ad17f0824982f7b81f70afe3b782950562078104db0ec8289ce5cbae8be302d226cc11f979e26a2
|
data/.travis.yml
CHANGED
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -5,7 +5,6 @@
|
|
5
5
|
Dpl supports the following providers:
|
6
6
|
|
7
7
|
* [AppFog](#appfog)
|
8
|
-
* [BitBalloon](#bitballoon)
|
9
8
|
* [Cloud 66](#cloud-66)
|
10
9
|
* [Cloud Foundry](#cloud-foundry)
|
11
10
|
* [cloudControl](#cloudcontrol)
|
@@ -374,17 +373,3 @@ For accounts using two factor authentication, you have to use an oauth token as
|
|
374
373
|
#### Examples:
|
375
374
|
|
376
375
|
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"
|
377
|
-
|
378
|
-
### BitBalloon:
|
379
|
-
|
380
|
-
#### Options:
|
381
|
-
|
382
|
-
* **access_token**: Optinoal. The access_token which can be found in the `.bitballoon` file after a deployment using the bitballoon CLI. Only required if no `.bitballoon` file is present.
|
383
|
-
* **site_id**: Optional. The site_id which can be found in the .bitballoon file after a deployment using the bitballoon CLI. Only required if no `.bitballoon` file is present.
|
384
|
-
* **local_dir**: Optional. The sub-directory of the built assets for deployment. Default to current path.
|
385
|
-
|
386
|
-
#### Examples:
|
387
|
-
|
388
|
-
dpl --access-token=<access-token> --site-id=3f932c1e-708b-4573-938a-a07d9728c22e
|
389
|
-
dpl --access-token=<access-token> --site-id=3f932c1e-708b-4573-938a-a07d9728c22e --local-dir=build
|
390
|
-
|
data/lib/dpl/provider.rb
CHANGED
@@ -28,7 +28,6 @@ module DPL
|
|
28
28
|
autoload :Deis, 'dpl/provider/deis'
|
29
29
|
autoload :GCS, 'dpl/provider/gcs'
|
30
30
|
autoload :GAE, 'dpl/provider/gae'
|
31
|
-
autoload :BitBalloon, 'dpl/provider/bitballoon'
|
32
31
|
autoload :ElasticBeanstalk, 'dpl/provider/elastic_beanstalk'
|
33
32
|
|
34
33
|
def self.new(context, options)
|
data/lib/dpl/version.rb
CHANGED
metadata
CHANGED
@@ -1,83 +1,83 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dpl
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.6.6
|
4
|
+
version: 1.6.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Konstantin Haase
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-08-
|
11
|
+
date: 2014-08-18 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
|
70
70
|
name: json
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
-
- -
|
73
|
+
- - ">="
|
74
74
|
- !ruby/object:Gem::Version
|
75
75
|
version: '0'
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
|
-
- -
|
80
|
+
- - ">="
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '0'
|
83
83
|
description: deploy tool abstraction for clients
|
@@ -87,9 +87,9 @@ executables:
|
|
87
87
|
extensions: []
|
88
88
|
extra_rdoc_files: []
|
89
89
|
files:
|
90
|
-
- .gitignore
|
91
|
-
- .rspec
|
92
|
-
- .travis.yml
|
90
|
+
- ".gitignore"
|
91
|
+
- ".rspec"
|
92
|
+
- ".travis.yml"
|
93
93
|
- Gemfile
|
94
94
|
- LICENSE
|
95
95
|
- README.md
|
@@ -100,7 +100,6 @@ files:
|
|
100
100
|
- lib/dpl/error.rb
|
101
101
|
- lib/dpl/provider.rb
|
102
102
|
- lib/dpl/provider/appfog.rb
|
103
|
-
- lib/dpl/provider/bitballoon.rb
|
104
103
|
- lib/dpl/provider/cloud66.rb
|
105
104
|
- lib/dpl/provider/cloud_files.rb
|
106
105
|
- lib/dpl/provider/cloud_foundry.rb
|
@@ -133,7 +132,6 @@ files:
|
|
133
132
|
- notes/heroku.md
|
134
133
|
- spec/cli_spec.rb
|
135
134
|
- spec/provider/appfog_spec.rb
|
136
|
-
- spec/provider/bitballoon_spec.rb
|
137
135
|
- spec/provider/cloud66_spec.rb
|
138
136
|
- spec/provider/cloud_files_spec.rb
|
139
137
|
- spec/provider/cloudcontrol_spec.rb
|
@@ -169,18 +167,45 @@ require_paths:
|
|
169
167
|
- lib
|
170
168
|
required_ruby_version: !ruby/object:Gem::Requirement
|
171
169
|
requirements:
|
172
|
-
- -
|
170
|
+
- - ">="
|
173
171
|
- !ruby/object:Gem::Version
|
174
172
|
version: 1.9.3
|
175
173
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
176
174
|
requirements:
|
177
|
-
- -
|
175
|
+
- - ">="
|
178
176
|
- !ruby/object:Gem::Version
|
179
|
-
version:
|
177
|
+
version: '0'
|
180
178
|
requirements: []
|
181
179
|
rubyforge_project:
|
182
|
-
rubygems_version: 2.
|
180
|
+
rubygems_version: 2.2.2
|
183
181
|
signing_key:
|
184
182
|
specification_version: 4
|
185
183
|
summary: deploy tool
|
186
|
-
test_files:
|
184
|
+
test_files:
|
185
|
+
- spec/cli_spec.rb
|
186
|
+
- spec/provider/appfog_spec.rb
|
187
|
+
- spec/provider/cloud66_spec.rb
|
188
|
+
- spec/provider/cloud_files_spec.rb
|
189
|
+
- spec/provider/cloudcontrol_spec.rb
|
190
|
+
- spec/provider/cloudfoundry_spec.rb
|
191
|
+
- spec/provider/deis_spec.rb
|
192
|
+
- spec/provider/divshot_spec.rb
|
193
|
+
- spec/provider/dotcloud_spec.rb
|
194
|
+
- spec/provider/elastic_beanstalk_spec.rb
|
195
|
+
- spec/provider/gae_spec.rb
|
196
|
+
- spec/provider/gcs_spec.rb
|
197
|
+
- spec/provider/hackage_spec.rb
|
198
|
+
- spec/provider/heroku_anvil_spec.rb
|
199
|
+
- spec/provider/heroku_git_deploy_key_spec.rb
|
200
|
+
- spec/provider/heroku_git_spec.rb
|
201
|
+
- spec/provider/modulus_spec.rb
|
202
|
+
- spec/provider/ninefold_spec.rb
|
203
|
+
- spec/provider/npm.rb
|
204
|
+
- spec/provider/openshift_spec.rb
|
205
|
+
- spec/provider/ops_works_spec.rb
|
206
|
+
- spec/provider/pypi_spec.rb
|
207
|
+
- spec/provider/releases_spec.rb
|
208
|
+
- spec/provider/rubygems_spec.rb
|
209
|
+
- spec/provider/s3_spec.rb
|
210
|
+
- spec/provider_spec.rb
|
211
|
+
- spec/spec_helper.rb
|
@@ -1,22 +0,0 @@
|
|
1
|
-
module DPL
|
2
|
-
class Provider
|
3
|
-
class BitBalloon < Provider
|
4
|
-
requires 'bitballoon'
|
5
|
-
|
6
|
-
def check_auth
|
7
|
-
end
|
8
|
-
|
9
|
-
def needs_key?
|
10
|
-
false
|
11
|
-
end
|
12
|
-
|
13
|
-
def push_app
|
14
|
-
command = 'bitballoon deploy'
|
15
|
-
command << " ./#{option(:local_dir)}" if options.fetch(:local_dir,false)
|
16
|
-
command << " --site-id=#{option(:site_id)}" if options[:site_id]
|
17
|
-
command << " --access-token=#{option(:access_token)}" if options[:access_token]
|
18
|
-
context.shell command
|
19
|
-
end
|
20
|
-
end
|
21
|
-
end
|
22
|
-
end
|
@@ -1,32 +0,0 @@
|
|
1
|
-
require 'spec_helper'
|
2
|
-
require 'dpl/provider/bitballoon'
|
3
|
-
|
4
|
-
describe DPL::Provider::BitBalloon do
|
5
|
-
subject :provider do
|
6
|
-
described_class.new(DummyContext.new,{})
|
7
|
-
end
|
8
|
-
|
9
|
-
describe "#needs_key?" do
|
10
|
-
example do
|
11
|
-
expect(provider.needs_key?).to eq(false)
|
12
|
-
end
|
13
|
-
end
|
14
|
-
|
15
|
-
describe "#push_app" do
|
16
|
-
example "Without optional parameters" do
|
17
|
-
expect(provider.context).to receive(:shell).with("bitballoon deploy")
|
18
|
-
provider.push_app
|
19
|
-
end
|
20
|
-
|
21
|
-
example "With optional parameters" do
|
22
|
-
provider.options.update(local_dir: 'build')
|
23
|
-
provider.options.update(access_token:'fake-access-token')
|
24
|
-
provider.options.update(site_id:'fake-site')
|
25
|
-
|
26
|
-
expected_command = "bitballoon deploy ./build --site-id=fake-site --access-token=fake-access-token"
|
27
|
-
|
28
|
-
expect(provider.context).to receive(:shell).with(expected_command)
|
29
|
-
provider.push_app
|
30
|
-
end
|
31
|
-
end
|
32
|
-
end
|