dpl 2.0.0.beta.2 → 2.0.3.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 +4 -4
- data/CHANGELOG.md +18 -0
- data/CONTRIBUTING.md +3 -3
- data/Gemfile +1 -1
- data/Gemfile.lock +118 -99
- data/README.md +203 -41
- data/lib/dpl/assets/dpl/README.erb.md +3 -3
- data/lib/dpl/assets/dpl/git_ssh +7 -1
- data/lib/dpl/cli.rb +1 -1
- data/lib/dpl/helper/interpolate.rb +11 -4
- data/lib/dpl/provider.rb +1 -1
- data/lib/dpl/providers/bluemixcloudfoundry.rb +1 -1
- data/lib/dpl/providers/boxfuse.rb +1 -1
- data/lib/dpl/providers/cloudfoundry.rb +3 -1
- data/lib/dpl/providers/codedeploy.rb +7 -2
- data/lib/dpl/providers/ecr.rb +127 -0
- data/lib/dpl/providers/elasticbeanstalk.rb +12 -6
- data/lib/dpl/providers/gcs.rb +1 -1
- data/lib/dpl/providers/git_push.rb +269 -0
- data/lib/dpl/providers/gleis.rb +1 -1
- data/lib/dpl/providers/lambda.rb +1 -1
- data/lib/dpl/providers/netlify.rb +2 -0
- data/lib/dpl/providers/nuget.rb +39 -0
- data/lib/dpl/providers/pages/git.rb +5 -4
- data/lib/dpl/providers/puppetforge.rb +2 -2
- data/lib/dpl/providers/releases.rb +1 -1
- data/lib/dpl/providers/rubygems.rb +2 -2
- data/lib/dpl/providers/snap.rb +1 -1
- data/lib/dpl/providers.rb +3 -0
- data/lib/dpl/string_ext.rb +21 -0
- data/lib/dpl/version.rb +1 -1
- data/lib/dpl.rb +1 -0
- metadata +9 -8
- data/NOTES.md +0 -78
- data/dpl-chef_supermarket-1.10.14.gem +0 -0
- data/dpl.gemspec +0 -22
- data/status.json +0 -227
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.
|
4
|
+
version: 2.0.3.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:
|
13
|
+
date: 2022-06-08 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: cl
|
@@ -57,13 +57,10 @@ files:
|
|
57
57
|
- Gemfile
|
58
58
|
- Gemfile.lock
|
59
59
|
- LICENSE
|
60
|
-
- NOTES.md
|
61
60
|
- README.md
|
62
61
|
- Rakefile
|
63
62
|
- bin/dpl
|
64
63
|
- config/transliterate.yml
|
65
|
-
- dpl-chef_supermarket-1.10.14.gem
|
66
|
-
- dpl.gemspec
|
67
64
|
- lib/dpl.rb
|
68
65
|
- lib/dpl/assets/atlas/install
|
69
66
|
- lib/dpl/assets/convox/install
|
@@ -107,12 +104,14 @@ files:
|
|
107
104
|
- lib/dpl/providers/codedeploy.rb
|
108
105
|
- lib/dpl/providers/convox.rb
|
109
106
|
- lib/dpl/providers/datica.rb
|
107
|
+
- lib/dpl/providers/ecr.rb
|
110
108
|
- lib/dpl/providers/elasticbeanstalk.rb
|
111
109
|
- lib/dpl/providers/engineyard.rb
|
112
110
|
- lib/dpl/providers/firebase.rb
|
113
111
|
- lib/dpl/providers/flynn.rb
|
114
112
|
- lib/dpl/providers/gae.rb
|
115
113
|
- lib/dpl/providers/gcs.rb
|
114
|
+
- lib/dpl/providers/git_push.rb
|
116
115
|
- lib/dpl/providers/gleis.rb
|
117
116
|
- lib/dpl/providers/hackage.rb
|
118
117
|
- lib/dpl/providers/hephy.rb
|
@@ -123,6 +122,7 @@ files:
|
|
123
122
|
- lib/dpl/providers/launchpad.rb
|
124
123
|
- lib/dpl/providers/netlify.rb
|
125
124
|
- lib/dpl/providers/npm.rb
|
125
|
+
- lib/dpl/providers/nuget.rb
|
126
126
|
- lib/dpl/providers/openshift.rb
|
127
127
|
- lib/dpl/providers/opsworks.rb
|
128
128
|
- lib/dpl/providers/packagecloud.rb
|
@@ -140,12 +140,12 @@ files:
|
|
140
140
|
- lib/dpl/providers/surge.rb
|
141
141
|
- lib/dpl/providers/testfairy.rb
|
142
142
|
- lib/dpl/providers/transifex.rb
|
143
|
+
- lib/dpl/string_ext.rb
|
143
144
|
- lib/dpl/support/aws_sdk_patch.rb
|
144
145
|
- lib/dpl/support/gems.rb
|
145
146
|
- lib/dpl/support/gstore_patch.rb
|
146
147
|
- lib/dpl/support/version.rb
|
147
148
|
- lib/dpl/version.rb
|
148
|
-
- status.json
|
149
149
|
homepage: https://github.com/travis-ci/dpl
|
150
150
|
licenses:
|
151
151
|
- MIT
|
@@ -158,14 +158,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
158
158
|
requirements:
|
159
159
|
- - ">="
|
160
160
|
- !ruby/object:Gem::Version
|
161
|
-
version: '2.
|
161
|
+
version: '2.3'
|
162
162
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
163
163
|
requirements:
|
164
164
|
- - ">"
|
165
165
|
- !ruby/object:Gem::Version
|
166
166
|
version: 1.3.1
|
167
167
|
requirements: []
|
168
|
-
|
168
|
+
rubyforge_project:
|
169
|
+
rubygems_version: 2.7.6.2
|
169
170
|
signing_key:
|
170
171
|
specification_version: 4
|
171
172
|
summary: Dpl runs deployments at Travis CI
|
data/NOTES.md
DELETED
@@ -1,78 +0,0 @@
|
|
1
|
-
x add `opts required: [:api_key, [:user, :password]]`
|
2
|
-
x add opt '--foo', requires: :other
|
3
|
-
x add opt '--foo', alias: :other
|
4
|
-
x add opt '--foo', format: /.+/
|
5
|
-
x add opt '--foo', deprecated: true
|
6
|
-
x add opt '--foo', alias: :other, deprecated: :other
|
7
|
-
x add opt '--foo', max: 10, type: :integer
|
8
|
-
x add opt '--foo', enum: ['one', 'two']
|
9
|
-
x consider automatically adding `[no-]` to booleans
|
10
|
-
x make it so that Cl::Cmd parses the args, not Runner. only that way sub cmd specific opts can sit on the sub command
|
11
|
-
x cleanup and move matchers
|
12
|
-
x add lookup and interpolation to assert
|
13
|
-
x revisit using MSGS and CMDS everywhere
|
14
|
-
x add something like :keep for automatically moving things out of the way before cleanup
|
15
|
-
x make specs validate that cmds have run in the correct order
|
16
|
-
x revisit what's up with `needs_key`
|
17
|
-
x revisit what's up with `git_http_user_agent false`
|
18
|
-
x revisit the run stages in Provider
|
19
|
-
x implement folds
|
20
|
-
x port on-demand installation of sub gems
|
21
|
-
x make MSGS etc class methods, so they can inherit from base classes (for Heroku)
|
22
|
-
x move sub cmd opts etc to sub classes for Heroku
|
23
|
-
x look into using FakeFS, MemFS sucks
|
24
|
-
x make a list of strategies/tools providers use
|
25
|
-
x revisit which providers need an ssh key, git, etc.
|
26
|
-
x should have run in order matcher does not work
|
27
|
-
x write bin/readme
|
28
|
-
x test Cl against all Ruby versions >= 2.0
|
29
|
-
x test Ctx
|
30
|
-
x go through all providers, remove fakefs, use chdir 'tmp/dpl'
|
31
|
-
x make sure all provider fs write operations go through ctx
|
32
|
-
x what is `options[:no_deploy]` for? (it's for testing. added it back as `--stages`)
|
33
|
-
x make sure dasherized options are accepted and normalized
|
34
|
-
x add opt internal: true to Cl
|
35
|
-
x write comments on the most important classes, so we can generate some api docs
|
36
|
-
x install gems with sudo if Process::UID.eid is 0
|
37
|
-
x document Provider.env
|
38
|
-
x add retry to Ctx#script
|
39
|
-
x try installing all gems at once
|
40
|
-
x run apt-get update before apt-get install, once
|
41
|
-
x make sure failed dependency installation fails the command
|
42
|
-
x fix dependency installation for various providers
|
43
|
-
x look into making `--app` and `--key_name` attr readers, rather than options
|
44
|
-
x make it so that options are being overwritten if specified by both base and sub classes
|
45
|
-
x test that `bin/dpl --stage install` runs as expected for various providers
|
46
|
-
x on Travis CI add a stage that tests `bin/dpl --stage install` for various providers on various ruby versions
|
47
|
-
x try using bundler/inline for gem dependencies
|
48
|
-
x write a proper readme for Cl
|
49
|
-
x add yard docs to Cl
|
50
|
-
x autogenerate examples
|
51
|
-
x update .github/CONTRIBUTING.md
|
52
|
-
x consider adding `note: 'some comment` to Cl opts (e.g. see Lambda tracing mode)
|
53
|
-
x bundle/inline seems to pick up an existing Gemfile.lock (which might be incompatible)
|
54
|
-
x figure out how to deal with python tooling on non-python images etc (just die for now)
|
55
|
-
x unit test netlfiy
|
56
|
-
x move ./.dpl to ~/.dpl (clutters the working dir)
|
57
|
-
x add a DSL for adding paths to PATH, e.g. gcs
|
58
|
-
x make sure all error messages are actually being displayed
|
59
|
-
x remove the fold for finishing the deployment, it's confusing. Maybe do not fold the deployment itself? or somehow keep the last fold open if there is an error?
|
60
|
-
x BitBalloon is now Netlify Drop https://app.netlify.com/drop. time to rename it?
|
61
|
-
x make `--skip_cleanup` the default
|
62
|
-
x make sure all main shell scripts use assert: true, echo: true
|
63
|
-
x make sure all asserts have an err msg (can we test this?), or add a generic error message
|
64
|
-
x add secure: true, in order to tell Cl to filter log output for a given option
|
65
|
-
x refactor Provider by splitting out a Cmd class for shell commands
|
66
|
-
x document Cmd methods
|
67
|
-
x revisit README and CONTRIBUTING
|
68
|
-
x Make sure failed deployments always fail the build starting with dpl 2.0
|
69
|
-
x PR sf-datapipeline
|
70
|
-
x add a DSL for moving files out of the way, and moving them back later, e.g. gcs /etc/boto.cfg
|
71
|
-
x start a CHANGELOG.md?
|
72
|
-
|
73
|
-
- EY docs do not explain where to obtain the api key
|
74
|
-
|
75
|
-
Future improvements
|
76
|
-
|
77
|
-
- https://www.freecodecamp.org/news/how-to-deploy-your-cloud-foundry-app-with-almost-zero-fear-using-travis-ci-926697fff8f6/
|
78
|
-
|
Binary file
|
data/dpl.gemspec
DELETED
@@ -1,22 +0,0 @@
|
|
1
|
-
$: << 'lib'
|
2
|
-
|
3
|
-
require 'dpl/version'
|
4
|
-
|
5
|
-
Gem::Specification.new do |s|
|
6
|
-
s.version = Dpl::VERSION
|
7
|
-
s.name = 'dpl'
|
8
|
-
s.authors = ['Konstantin Haase', 'Hiro Asari', 'Sven Fuchs']
|
9
|
-
s.email = ['konstantin@travis-ci.com', 'hiro@travis-ci.com', 'sven@travis-ci.com']
|
10
|
-
s.homepage = 'https://github.com/travis-ci/dpl'
|
11
|
-
s.summary = 'Dpl runs deployments at Travis CI'
|
12
|
-
s.description = 'Dpl (dee-pee-ell) is a tool made for continuous deployment, running deployments at Travis CI.'
|
13
|
-
s.license = 'MIT'
|
14
|
-
s.require_path = 'lib'
|
15
|
-
s.required_ruby_version = '>= 2.2'
|
16
|
-
|
17
|
-
s.executables = ['dpl']
|
18
|
-
s.files = Dir['{config/**/*,lib/**/*,[A-Z]*}']
|
19
|
-
|
20
|
-
s.add_runtime_dependency 'cl', '~> 1.0'
|
21
|
-
s.add_development_dependency 'rake', '~> 12.3'
|
22
|
-
end
|
data/status.json
DELETED
@@ -1,227 +0,0 @@
|
|
1
|
-
[
|
2
|
-
{
|
3
|
-
"name": "anynines",
|
4
|
-
"status": "alpha",
|
5
|
-
"date": "2019-08-05"
|
6
|
-
},
|
7
|
-
{
|
8
|
-
"name": "azure_web_apps",
|
9
|
-
"status": "alpha",
|
10
|
-
"date": "2019-08-05"
|
11
|
-
},
|
12
|
-
{
|
13
|
-
"name": "bintray",
|
14
|
-
"status": "stable",
|
15
|
-
"date": "2019-11-04"
|
16
|
-
},
|
17
|
-
{
|
18
|
-
"name": "bluemixcloudfoundry",
|
19
|
-
"status": "beta",
|
20
|
-
"date": "2020-01-23"
|
21
|
-
},
|
22
|
-
{
|
23
|
-
"name": "boxfuse",
|
24
|
-
"status": "alpha",
|
25
|
-
"date": "2019-08-05"
|
26
|
-
},
|
27
|
-
{
|
28
|
-
"name": "cargo",
|
29
|
-
"status": "stable",
|
30
|
-
"date": "2020-01-27"
|
31
|
-
},
|
32
|
-
{
|
33
|
-
"name": "chef_supermarket",
|
34
|
-
"status": "alpha",
|
35
|
-
"date": "2019-08-05"
|
36
|
-
},
|
37
|
-
{
|
38
|
-
"name": "cloud66",
|
39
|
-
"status": "alpha",
|
40
|
-
"date": "2019-08-05"
|
41
|
-
},
|
42
|
-
{
|
43
|
-
"name": "cloudfiles",
|
44
|
-
"status": "alpha",
|
45
|
-
"date": "2019-08-05"
|
46
|
-
},
|
47
|
-
{
|
48
|
-
"name": "cloudformation",
|
49
|
-
"status": "stable",
|
50
|
-
"date": "2019-11-04"
|
51
|
-
},
|
52
|
-
{
|
53
|
-
"name": "cloudfoundry",
|
54
|
-
"status": "stable",
|
55
|
-
"date": "2019-10-28"
|
56
|
-
},
|
57
|
-
{
|
58
|
-
"name": "codedeploy",
|
59
|
-
"status": "beta",
|
60
|
-
"date": "2020-01-20"
|
61
|
-
},
|
62
|
-
{
|
63
|
-
"name": "convox",
|
64
|
-
"status": "dev",
|
65
|
-
"date": "2019-08-16"
|
66
|
-
},
|
67
|
-
{
|
68
|
-
"name": "datica",
|
69
|
-
"status": "dev",
|
70
|
-
"date": "2019-08-05"
|
71
|
-
},
|
72
|
-
{
|
73
|
-
"name": "elasticbeanstalk",
|
74
|
-
"status": "stable",
|
75
|
-
"date": "2019-10-28"
|
76
|
-
},
|
77
|
-
{
|
78
|
-
"name": "engineyard",
|
79
|
-
"status": "alpha",
|
80
|
-
"date": "2019-08-05"
|
81
|
-
},
|
82
|
-
{
|
83
|
-
"name": "firebase",
|
84
|
-
"status": "stable",
|
85
|
-
"date": "2019-10-28"
|
86
|
-
},
|
87
|
-
{
|
88
|
-
"name": "flynn",
|
89
|
-
"status": "dev",
|
90
|
-
"date": "2020-01-22"
|
91
|
-
},
|
92
|
-
{
|
93
|
-
"name": "gae",
|
94
|
-
"status": "stable",
|
95
|
-
"date": "2019-10-29"
|
96
|
-
},
|
97
|
-
{
|
98
|
-
"name": "gcs",
|
99
|
-
"status": "stable",
|
100
|
-
"date": "2019-10-28"
|
101
|
-
},
|
102
|
-
{
|
103
|
-
"name": "gleis",
|
104
|
-
"status": "alpha",
|
105
|
-
"date": "2019-09-04"
|
106
|
-
},
|
107
|
-
{
|
108
|
-
"name": "hackage",
|
109
|
-
"status": "alpha",
|
110
|
-
"date": "2019-08-05"
|
111
|
-
},
|
112
|
-
{
|
113
|
-
"name": "hephy",
|
114
|
-
"status": "beta",
|
115
|
-
"date": "2019-10-07"
|
116
|
-
},
|
117
|
-
{
|
118
|
-
"name": "heroku:api",
|
119
|
-
"status": "stable",
|
120
|
-
"date": "2019-10-28"
|
121
|
-
},
|
122
|
-
{
|
123
|
-
"name": "heroku:git",
|
124
|
-
"status": "alpha",
|
125
|
-
"date": "2019-08-05"
|
126
|
-
},
|
127
|
-
{
|
128
|
-
"name": "lambda",
|
129
|
-
"status": "stable",
|
130
|
-
"date": "2019-11-04"
|
131
|
-
},
|
132
|
-
{
|
133
|
-
"name": "launchpad",
|
134
|
-
"status": "alpha",
|
135
|
-
"date": "2019-08-05"
|
136
|
-
},
|
137
|
-
{
|
138
|
-
"name": "netlify",
|
139
|
-
"status": "stable",
|
140
|
-
"date": "2019-11-11"
|
141
|
-
},
|
142
|
-
{
|
143
|
-
"name": "npm",
|
144
|
-
"status": "stable",
|
145
|
-
"date": "2019-11-04"
|
146
|
-
},
|
147
|
-
{
|
148
|
-
"name": "openshift",
|
149
|
-
"status": "stable",
|
150
|
-
"date": "2019-11-04"
|
151
|
-
},
|
152
|
-
{
|
153
|
-
"name": "opsworks",
|
154
|
-
"status": "stable",
|
155
|
-
"date": "2019-11-18"
|
156
|
-
},
|
157
|
-
{
|
158
|
-
"name": "packagecloud",
|
159
|
-
"status": "alpha",
|
160
|
-
"date": "2019-08-05"
|
161
|
-
},
|
162
|
-
{
|
163
|
-
"name": "pages:api",
|
164
|
-
"status": "dev",
|
165
|
-
"date": "2019-09-10"
|
166
|
-
},
|
167
|
-
{
|
168
|
-
"name": "pages:git",
|
169
|
-
"status": "stable",
|
170
|
-
"date": "2019-10-28"
|
171
|
-
},
|
172
|
-
{
|
173
|
-
"name": "puppetforge",
|
174
|
-
"status": "alpha",
|
175
|
-
"date": "2019-08-05"
|
176
|
-
},
|
177
|
-
{
|
178
|
-
"name": "pypi",
|
179
|
-
"status": "stable",
|
180
|
-
"date": "2019-11-04"
|
181
|
-
},
|
182
|
-
{
|
183
|
-
"name": "releases",
|
184
|
-
"status": "stable",
|
185
|
-
"date": "2019-10-29"
|
186
|
-
},
|
187
|
-
{
|
188
|
-
"name": "rubygems",
|
189
|
-
"status": "stable",
|
190
|
-
"date": "2019-11-04"
|
191
|
-
},
|
192
|
-
{
|
193
|
-
"name": "s3",
|
194
|
-
"status": "stable",
|
195
|
-
"date": "2019-10-28"
|
196
|
-
},
|
197
|
-
{
|
198
|
-
"name": "scalingo",
|
199
|
-
"status": "alpha",
|
200
|
-
"date": "2019-08-05"
|
201
|
-
},
|
202
|
-
{
|
203
|
-
"name": "script",
|
204
|
-
"status": "stable",
|
205
|
-
"date": "2019-10-28"
|
206
|
-
},
|
207
|
-
{
|
208
|
-
"name": "snap",
|
209
|
-
"status": "beta",
|
210
|
-
"date": "2020-01-20"
|
211
|
-
},
|
212
|
-
{
|
213
|
-
"name": "surge",
|
214
|
-
"status": "stable",
|
215
|
-
"date": "2020-01-14"
|
216
|
-
},
|
217
|
-
{
|
218
|
-
"name": "testfairy",
|
219
|
-
"status": "alpha",
|
220
|
-
"date": "2019-08-05"
|
221
|
-
},
|
222
|
-
{
|
223
|
-
"name": "transifex",
|
224
|
-
"status": "alpha",
|
225
|
-
"date": "2019-08-05"
|
226
|
-
}
|
227
|
-
]
|