dpl 1.7.21.travis.970.4 → 1.7.21.travis.978.4

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 CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- MTFjYjI5ZDk1ZjJiNmQyMmEyM2MxZDk4MGQxNzdiMmYwMzJjMTI4OA==
4
+ MjdkOTNmZGQ1NWE1ZGMxMDQxZmM0MjBkMTMzMmUyYmM3Yjc1YmMyOA==
5
5
  data.tar.gz: !binary |-
6
- ZGQ4Y2EyZThlMjEzYzk0MzhjZjVlYzIzYzAxNWM0ZTdkOGViYzBkMw==
6
+ MDUzOGMxNDkxNmUwN2UzOGNhOGQ2YTAzZWYzMDBhMzJhMzg0ODI4Yg==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- ZjJiNTc3ZDUwMDZlNjdhY2QxOGZiYmQ4ODNjZTNjZmY3NjQ5ZGMyNjA3ZDZm
10
- ZmU0MWMwOTk1N2Y1ZmQ1NzU4ODFjNTVmZTMwOGZlMjYzOTFmNmI4NDE1YjI2
11
- ZGRlODUyNTE2OTQ0ZDgxYzUwYWZhNzBiOTU4YTQ4Y2VjOGQyZTc=
9
+ ODc0OWU5NGQ5MjAwYWIxYzU4NTBmZjcwODc3YTZhNzRlMzhlYmFmM2U2ZDFi
10
+ YWQ5MTdmNjgxODc3NDc0YzljYzhkZDhiYzY1NGQxMTFhZDAxYjkzNTI4MDhi
11
+ YWJiNTU5ODM5NjEzN2NmYWUyZjRjOTk0YWE4ZThiZTNjYmQ4OGQ=
12
12
  data.tar.gz: !binary |-
13
- NzNkNjY5ZTA2YjljODA5YjQzY2E4Nzk0YWFiZjE5NGI2MDg5YmEwOGZiYzVh
14
- YzIwYTBiNTYwMzg2MDg5YzM4OWYzZDJhZjVkODU2ZmE5ODhjNjk3YTg3N2Ni
15
- NGRkM2M5NTgzOTI4ZDhiMGRjM2IzM2QzMjdmMjljYjdhYzQzZTU=
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
 
@@ -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/.
@@ -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(:client_version)}"
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?
@@ -9,7 +9,7 @@ describe DPL::Provider::Deis do
9
9
  :controller => 'https://deis.deisapps.com',
10
10
  :username => 'travis',
11
11
  :password => 'secret',
12
- :client_version => '1.0'
12
+ :cli_version => '1.0'
13
13
  }
14
14
  end
15
15
 
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.970.4
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-24 00:00:00.000000000 Z
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