dpl 1.7.21.travis.970.4 → 1.7.21.travis.978.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/README.md +4 -0
- data/TESTING.md +24 -0
- data/lib/dpl/provider/deis.rb +1 -1
- data/spec/provider/deis_spec.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
MjdkOTNmZGQ1NWE1ZGMxMDQxZmM0MjBkMTMzMmUyYmM3Yjc1YmMyOA==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
MDUzOGMxNDkxNmUwN2UzOGNhOGQ2YTAzZWYzMDBhMzJhMzg0ODI4Yg==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
ODc0OWU5NGQ5MjAwYWIxYzU4NTBmZjcwODc3YTZhNzRlMzhlYmFmM2U2ZDFi
|
10
|
+
YWQ5MTdmNjgxODc3NDc0YzljYzhkZDhiYzY1NGQxMTFhZDAxYjkzNTI4MDhi
|
11
|
+
YWJiNTU5ODM5NjEzN2NmYWUyZjRjOTk0YWE4ZThiZTNjYmQ4OGQ=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
MzM3NGE3NzhkMTU4MzdiZTZmYWJkNjA3Yzc4OWIzN2Q3MjE2ZWU0ZGM3YWM0
|
14
|
+
ZjBlOGVlNTVhYWUwN2M3ZmM2ZDIyNmZiZGQ0M2YxMWZhNTY5Y2E2NDE5NDA4
|
15
|
+
M2FlOTYxMDcwYjIzMTc0N2RiMTVhNjE1MGNlMjQ2MTI3OTJkMzQ=
|
data/README.md
CHANGED
@@ -1,5 +1,9 @@
|
|
1
1
|
# Dpl [![Build Status](https://travis-ci.org/travis-ci/dpl.svg?branch=master)](https://travis-ci.org/travis-ci/dpl) [![Code Climate](https://codeclimate.com/github/travis-ci/dpl.png)](https://codeclimate.com/github/travis-ci/dpl) [![Gem Version](https://badge.fury.io/rb/dpl.png)](http://badge.fury.io/rb/dpl) [![Coverage Status](https://coveralls.io/repos/travis-ci/dpl/badge.svg?branch=master&service=github)](https://coveralls.io/github/travis-ci/dpl?branch=master)
|
2
2
|
|
3
|
+
## Writing and Testing a New Deployment Provider and new functionalities
|
4
|
+
|
5
|
+
See [TESTING.md](TESTING.md).
|
6
|
+
|
3
7
|
## Supported Providers:
|
4
8
|
Dpl supports the following providers:
|
5
9
|
|
data/TESTING.md
ADDED
@@ -0,0 +1,24 @@
|
|
1
|
+
# Testing `dpl` in the context of Travis CI builds
|
2
|
+
|
3
|
+
It is possible to test new deployment provider or new functionality
|
4
|
+
of dpl when it is used from the Travis CI build script.
|
5
|
+
|
6
|
+
To do so, add the following to your `.travis.yml`:
|
7
|
+
|
8
|
+
```yaml
|
9
|
+
deploy:
|
10
|
+
provider: X
|
11
|
+
edge:
|
12
|
+
source: myown/dpl
|
13
|
+
branch: foo
|
14
|
+
⋮ # rest of provider X configuration
|
15
|
+
```
|
16
|
+
|
17
|
+
This builds the `dpl` gem on the VM
|
18
|
+
from `https://github.com/myown/dpl`, the `foo` branch.
|
19
|
+
Then it installs the locally built gem,
|
20
|
+
and uses that to deploy.
|
21
|
+
|
22
|
+
Notice that this is not a merge commit, so it is important
|
23
|
+
that when you are testing your PR, the branch `foo` is up-to-date
|
24
|
+
with https://github.com/travis-ci/dpl/tree/master/.
|
data/lib/dpl/provider/deis.rb
CHANGED
@@ -2,7 +2,7 @@ module DPL
|
|
2
2
|
class Provider
|
3
3
|
class Deis < Provider
|
4
4
|
def install_deploy_dependencies
|
5
|
-
context.shell "curl -sSL http://deis.io/deis-cli/install.sh | sh -s #{option(:
|
5
|
+
context.shell "curl -sSL http://deis.io/deis-cli/install.sh | sh -s #{option(:cli_version)}"
|
6
6
|
end
|
7
7
|
|
8
8
|
def needs_key?
|
data/spec/provider/deis_spec.rb
CHANGED
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.21.travis.
|
4
|
+
version: 1.7.21.travis.978.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-08-
|
11
|
+
date: 2015-08-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|
@@ -109,6 +109,7 @@ files:
|
|
109
109
|
- LICENSE
|
110
110
|
- README.md
|
111
111
|
- Rakefile
|
112
|
+
- TESTING.md
|
112
113
|
- bin/dpl
|
113
114
|
- dpl.gemspec
|
114
115
|
- lib/dpl/cli.rb
|