dpl 1.7.2.travis.586.1 → 1.7.2.travis.588.1
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 +13 -0
- data/dpl-1.7.0.gem +0 -0
- data/lib/dpl/provider.rb +2 -0
- data/lib/dpl/provider/biicode.rb +34 -0
- metadata +4 -2
checksums.yaml
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
!binary "U0hBMQ==":
|
|
3
3
|
metadata.gz: !binary |-
|
|
4
|
-
|
|
4
|
+
MTJlZDhhYTUwYjkyMGE0ZGRmMzJhZDZlOTM2NmNjZTMxMmNjZTE5NQ==
|
|
5
5
|
data.tar.gz: !binary |-
|
|
6
|
-
|
|
6
|
+
MTgxNjBlOGQ2MDFkM2ZlNWJjYjQzNGEyMzc3N2U0YjViOGRkZDYxMg==
|
|
7
7
|
SHA512:
|
|
8
8
|
metadata.gz: !binary |-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
OWQ2MmExZDRjNzcyMzRiNmYxNzFhMDIzMDA4NmYyYzJlZDNhNTc4YjE3Yzlk
|
|
10
|
+
ZTVjMTQyNzI5MjUwZTI4MzNmYjFhZjNmMGFlMmYxNTgxYjEzY2E5NjA4MGIy
|
|
11
|
+
MWM1NTMwNGRkZjI0ZWQ2NGQxMjI3MzA5NDk4ZjE5YTkwMzllNDg=
|
|
12
12
|
data.tar.gz: !binary |-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
NjkxNTgyYmRkODg1YzU3Yzk1YzA2YjRkYWYzMzVhODkwY2ZmMTkwMWRmODdm
|
|
14
|
+
NmNiMDA4MjMyMzg1NDBmYzg0MDU5ZWYxOGNhMDhhNzEyOGViMjA4YmM4YzVm
|
|
15
|
+
ZjYzZjBlZGIxMjg1OTgyZDI0NGYwNmJmNjg2Y2Q5NjU5NjI3ODA=
|
data/README.md
CHANGED
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
Dpl supports the following providers:
|
|
6
6
|
|
|
7
7
|
* [AppFog](#appfog)
|
|
8
|
+
* [Biicode](#biicode)
|
|
8
9
|
* [BitBalloon](#bitballoon)
|
|
9
10
|
* [Cloud 66](#cloud-66)
|
|
10
11
|
* [Cloud Foundry](#cloud-foundry)
|
|
@@ -173,6 +174,18 @@ As a rule of thumb, you should switch to the Git strategy if you run into issues
|
|
|
173
174
|
|
|
174
175
|
dpl --provider=npm --email=<email> --api-key=<api-key>
|
|
175
176
|
|
|
177
|
+
### biicode:
|
|
178
|
+
|
|
179
|
+
#### Options:
|
|
180
|
+
|
|
181
|
+
* **user**: biicode username.
|
|
182
|
+
* **password**: biicode password.
|
|
183
|
+
|
|
184
|
+
#### Examples:
|
|
185
|
+
|
|
186
|
+
dpl --provider=biicode --user=<user> --password=<password>
|
|
187
|
+
|
|
188
|
+
|
|
176
189
|
### S3:
|
|
177
190
|
|
|
178
191
|
#### Options:
|
data/dpl-1.7.0.gem
ADDED
|
Binary file
|
data/lib/dpl/provider.rb
CHANGED
|
@@ -29,9 +29,11 @@ module DPL
|
|
|
29
29
|
autoload :GCS, 'dpl/provider/gcs'
|
|
30
30
|
autoload :GAE, 'dpl/provider/gae'
|
|
31
31
|
autoload :BitBalloon, 'dpl/provider/bitballoon'
|
|
32
|
+
autoload :Biicode, 'dpl/provider/biicode'
|
|
32
33
|
autoload :ElasticBeanstalk, 'dpl/provider/elastic_beanstalk'
|
|
33
34
|
autoload :PuppetForge, 'dpl/provider/puppet_forge'
|
|
34
35
|
|
|
36
|
+
|
|
35
37
|
def self.new(context, options)
|
|
36
38
|
return super if self < Provider
|
|
37
39
|
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
require 'mkmf'
|
|
2
|
+
|
|
3
|
+
module DPL
|
|
4
|
+
class Provider
|
|
5
|
+
class Biicode < Provider
|
|
6
|
+
|
|
7
|
+
def self.install_biicode
|
|
8
|
+
unless find_executable 'bii'
|
|
9
|
+
context.shell "wget http://apt.biicode.com/install.sh -O install_biicode.sh && chmod +x install_biicode.sh && ./install_biicode.sh"
|
|
10
|
+
|
|
11
|
+
end
|
|
12
|
+
end
|
|
13
|
+
|
|
14
|
+
install_biicode
|
|
15
|
+
|
|
16
|
+
def needs_key?
|
|
17
|
+
false
|
|
18
|
+
end
|
|
19
|
+
|
|
20
|
+
def check_app
|
|
21
|
+
raise Error, "must supply a username" unless option(:user)
|
|
22
|
+
raise Error, "must supply a password" unless option(:password)
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
def check_auth
|
|
26
|
+
context.shell "bii user #{option(:user)} -p #{option(:password)}"
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
def push_app
|
|
30
|
+
context.shell "bii publish --msg \"Travis publication\""
|
|
31
|
+
end
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
end
|
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.2.travis.
|
|
4
|
+
version: 1.7.2.travis.588.1
|
|
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-10-
|
|
11
|
+
date: 2014-10-30 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rspec
|
|
@@ -95,11 +95,13 @@ files:
|
|
|
95
95
|
- README.md
|
|
96
96
|
- Rakefile
|
|
97
97
|
- bin/dpl
|
|
98
|
+
- dpl-1.7.0.gem
|
|
98
99
|
- dpl.gemspec
|
|
99
100
|
- lib/dpl/cli.rb
|
|
100
101
|
- lib/dpl/error.rb
|
|
101
102
|
- lib/dpl/provider.rb
|
|
102
103
|
- lib/dpl/provider/appfog.rb
|
|
104
|
+
- lib/dpl/provider/biicode.rb
|
|
103
105
|
- lib/dpl/provider/bitballoon.rb
|
|
104
106
|
- lib/dpl/provider/cloud66.rb
|
|
105
107
|
- lib/dpl/provider/cloud_files.rb
|