dpl 2.0.0.alpha.14 → 2.0.0.beta.2
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 +5 -5
- data/CHANGELOG.md +4 -0
- data/Gemfile.lock +37 -37
- data/NOTES.md +0 -119
- data/README.md +56 -5
- data/dpl-chef_supermarket-1.10.14.gem +0 -0
- data/lib/dpl/helper/interpolate.rb +24 -1
- data/lib/dpl/provider.rb +10 -0
- data/lib/dpl/provider/dsl.rb +25 -0
- data/lib/dpl/providers.rb +1 -0
- data/lib/dpl/providers/anynines.rb +2 -0
- data/lib/dpl/providers/azure_web_apps.rb +2 -0
- data/lib/dpl/providers/bintray.rb +2 -0
- data/lib/dpl/providers/bluemixcloudfoundry.rb +3 -1
- data/lib/dpl/providers/boxfuse.rb +2 -0
- data/lib/dpl/providers/cargo.rb +3 -1
- data/lib/dpl/providers/cloud66.rb +2 -0
- data/lib/dpl/providers/cloudfiles.rb +2 -0
- data/lib/dpl/providers/cloudformation.rb +1 -0
- data/lib/dpl/providers/cloudfoundry.rb +2 -0
- data/lib/dpl/providers/codedeploy.rb +7 -3
- data/lib/dpl/providers/convox.rb +2 -0
- data/lib/dpl/providers/datica.rb +2 -0
- data/lib/dpl/providers/elasticbeanstalk.rb +2 -0
- data/lib/dpl/providers/engineyard.rb +2 -0
- data/lib/dpl/providers/firebase.rb +2 -0
- data/lib/dpl/providers/flynn.rb +33 -0
- data/lib/dpl/providers/gae.rb +2 -0
- data/lib/dpl/providers/gcs.rb +2 -0
- data/lib/dpl/providers/gleis.rb +2 -0
- data/lib/dpl/providers/hackage.rb +2 -0
- data/lib/dpl/providers/hephy.rb +2 -0
- data/lib/dpl/providers/heroku.rb +2 -0
- data/lib/dpl/providers/heroku/api.rb +1 -1
- data/lib/dpl/providers/heroku/git.rb +1 -1
- data/lib/dpl/providers/lambda.rb +4 -2
- data/lib/dpl/providers/launchpad.rb +2 -0
- data/lib/dpl/providers/netlify.rb +2 -0
- data/lib/dpl/providers/npm.rb +2 -0
- data/lib/dpl/providers/openshift.rb +2 -0
- data/lib/dpl/providers/opsworks.rb +2 -0
- data/lib/dpl/providers/packagecloud.rb +2 -0
- data/lib/dpl/providers/pages.rb +2 -0
- data/lib/dpl/providers/pages/api.rb +1 -1
- data/lib/dpl/providers/pages/git.rb +5 -5
- data/lib/dpl/providers/puppetforge.rb +2 -0
- data/lib/dpl/providers/pypi.rb +2 -0
- data/lib/dpl/providers/releases.rb +2 -0
- data/lib/dpl/providers/rubygems.rb +2 -0
- data/lib/dpl/providers/s3.rb +2 -0
- data/lib/dpl/providers/scalingo.rb +2 -0
- data/lib/dpl/providers/script.rb +2 -0
- data/lib/dpl/providers/snap.rb +3 -1
- data/lib/dpl/providers/surge.rb +2 -0
- data/lib/dpl/providers/testfairy.rb +2 -0
- data/lib/dpl/providers/transifex.rb +2 -0
- data/lib/dpl/version.rb +1 -1
- data/status.json +13 -8
- metadata +5 -4
data/lib/dpl/providers/npm.rb
CHANGED
data/lib/dpl/providers/pages.rb
CHANGED
@@ -2,7 +2,7 @@ module Dpl
|
|
2
2
|
module Providers
|
3
3
|
class Pages
|
4
4
|
class Git < Pages
|
5
|
-
register 'pages:git'
|
5
|
+
register :'pages:git'
|
6
6
|
|
7
7
|
status :stable
|
8
8
|
|
@@ -18,11 +18,11 @@ module Dpl
|
|
18
18
|
required :token, :deploy_key
|
19
19
|
|
20
20
|
opt '--repo SLUG', 'Repo slug', default: :repo_slug
|
21
|
-
opt '--token TOKEN', 'GitHub
|
21
|
+
opt '--token TOKEN', 'GitHub token with repo permission', secret: true, alias: :github_token
|
22
22
|
opt '--deploy_key PATH', 'Path to a file containing a private deploy key with write access to the repository', see: 'https://developer.github.com/v3/guides/managing-deploy-keys/#deploy-keys'
|
23
23
|
opt '--target_branch BRANCH', 'Branch to push force to', default: 'gh-pages'
|
24
24
|
opt '--keep_history', 'Create incremental commit instead of doing push force', default: true
|
25
|
-
opt '--commit_message MSG', default: 'Deploy %{project_name} to %{url}:%{target_branch}'
|
25
|
+
opt '--commit_message MSG', default: 'Deploy %{project_name} to %{url}:%{target_branch}', interpolate: true
|
26
26
|
opt '--allow_empty_commit', 'Allow an empty commit to be created', requires: :keep_history
|
27
27
|
opt '--verbose', 'Be verbose about the deploy process'
|
28
28
|
opt '--local_dir DIR', 'Directory to push to GitHub Pages', default: '.'
|
@@ -30,7 +30,7 @@ module Dpl
|
|
30
30
|
opt '--project_name NAME', 'Used in the commit message only (defaults to fqdn or the current repo slug)'
|
31
31
|
opt '--name NAME', 'Committer name', note: 'defaults to the current git commit author name'
|
32
32
|
opt '--email EMAIL', 'Committer email', note: 'defaults to the current git commit author email'
|
33
|
-
opt '--committer_from_gh', 'Use the token\'s owner name and email for the commit', requires: :
|
33
|
+
opt '--committer_from_gh', 'Use the token\'s owner name and email for the commit', requires: :token
|
34
34
|
opt '--deployment_file', 'Enable creation of a deployment-info file'
|
35
35
|
opt '--url URL', default: 'github.com', alias: :github_url
|
36
36
|
|
@@ -171,7 +171,7 @@ module Dpl
|
|
171
171
|
end
|
172
172
|
|
173
173
|
def git_commit_msg_opts
|
174
|
-
msg = interpolate(commit_message)
|
174
|
+
msg = interpolate(commit_message, vars: vars)
|
175
175
|
msg.split("\n").reject(&:empty?).map { |msg| %(-m #{quote(msg)}) }
|
176
176
|
end
|
177
177
|
|
data/lib/dpl/providers/pypi.rb
CHANGED
data/lib/dpl/providers/s3.rb
CHANGED
data/lib/dpl/providers/script.rb
CHANGED
data/lib/dpl/providers/snap.rb
CHANGED
data/lib/dpl/providers/surge.rb
CHANGED
data/lib/dpl/version.rb
CHANGED
data/status.json
CHANGED
@@ -16,8 +16,8 @@
|
|
16
16
|
},
|
17
17
|
{
|
18
18
|
"name": "bluemixcloudfoundry",
|
19
|
-
"status": "
|
20
|
-
"date": "
|
19
|
+
"status": "beta",
|
20
|
+
"date": "2020-01-23"
|
21
21
|
},
|
22
22
|
{
|
23
23
|
"name": "boxfuse",
|
@@ -26,8 +26,8 @@
|
|
26
26
|
},
|
27
27
|
{
|
28
28
|
"name": "cargo",
|
29
|
-
"status": "
|
30
|
-
"date": "
|
29
|
+
"status": "stable",
|
30
|
+
"date": "2020-01-27"
|
31
31
|
},
|
32
32
|
{
|
33
33
|
"name": "chef_supermarket",
|
@@ -56,8 +56,8 @@
|
|
56
56
|
},
|
57
57
|
{
|
58
58
|
"name": "codedeploy",
|
59
|
-
"status": "
|
60
|
-
"date": "
|
59
|
+
"status": "beta",
|
60
|
+
"date": "2020-01-20"
|
61
61
|
},
|
62
62
|
{
|
63
63
|
"name": "convox",
|
@@ -84,6 +84,11 @@
|
|
84
84
|
"status": "stable",
|
85
85
|
"date": "2019-10-28"
|
86
86
|
},
|
87
|
+
{
|
88
|
+
"name": "flynn",
|
89
|
+
"status": "dev",
|
90
|
+
"date": "2020-01-22"
|
91
|
+
},
|
87
92
|
{
|
88
93
|
"name": "gae",
|
89
94
|
"status": "stable",
|
@@ -201,8 +206,8 @@
|
|
201
206
|
},
|
202
207
|
{
|
203
208
|
"name": "snap",
|
204
|
-
"status": "
|
205
|
-
"date": "
|
209
|
+
"status": "beta",
|
210
|
+
"date": "2020-01-20"
|
206
211
|
},
|
207
212
|
{
|
208
213
|
"name": "surge",
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dpl
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.0.
|
4
|
+
version: 2.0.0.beta.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Konstantin Haase
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2020-
|
13
|
+
date: 2020-02-18 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: cl
|
@@ -62,6 +62,7 @@ files:
|
|
62
62
|
- Rakefile
|
63
63
|
- bin/dpl
|
64
64
|
- config/transliterate.yml
|
65
|
+
- dpl-chef_supermarket-1.10.14.gem
|
65
66
|
- dpl.gemspec
|
66
67
|
- lib/dpl.rb
|
67
68
|
- lib/dpl/assets/atlas/install
|
@@ -109,6 +110,7 @@ files:
|
|
109
110
|
- lib/dpl/providers/elasticbeanstalk.rb
|
110
111
|
- lib/dpl/providers/engineyard.rb
|
111
112
|
- lib/dpl/providers/firebase.rb
|
113
|
+
- lib/dpl/providers/flynn.rb
|
112
114
|
- lib/dpl/providers/gae.rb
|
113
115
|
- lib/dpl/providers/gcs.rb
|
114
116
|
- lib/dpl/providers/gleis.rb
|
@@ -163,8 +165,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
163
165
|
- !ruby/object:Gem::Version
|
164
166
|
version: 1.3.1
|
165
167
|
requirements: []
|
166
|
-
|
167
|
-
rubygems_version: 2.6.11
|
168
|
+
rubygems_version: 3.0.3
|
168
169
|
signing_key:
|
169
170
|
specification_version: 4
|
170
171
|
summary: Dpl runs deployments at Travis CI
|