dpl 2.0.5.beta.1 → 2.0.5.beta.2.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 +4 -4
- data/Gemfile +1 -0
- data/Gemfile.lock +5 -1
- data/dpl.gemspec +2 -2
- data/lib/dpl/ctx/bash.rb +3 -1
- data/lib/dpl/providers/chef_supermarket.rb +4 -1
- data/lib/dpl/providers/git_push.rb +2 -1
- data/lib/dpl/providers/pages/api.rb +1 -0
- data/lib/dpl/providers/pages/git.rb +2 -1
- data/lib/dpl/providers/releases.rb +1 -0
- data/lib/dpl/version.rb +1 -1
- metadata +17 -17
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2be404b300bd14c198ac2cc6e6220db39a0eb7aea6285e1060fb35e897b7018d
|
|
4
|
+
data.tar.gz: 0b072cd771924d963085e964459c76fbafaae17cecdd9d0bc797693e335fc87f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3038b7850e6d1613033248663a350e197e3edc0d663fbba9ea1041e2b2abff6ef102ae242cb6a3f6c1233020c3a7d333eb71542ed9321afe97d7e5ddfb13b580
|
|
7
|
+
data.tar.gz: 1f96bfceb0c55a96c43f33e79b7404a9efa3aa4b63e511b70273a608309893589f4bc71d0b163f097c755ef3651d7835675f49f9d1e6bf549eca54558b07d2c5
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
|
@@ -11,7 +11,7 @@ GIT
|
|
|
11
11
|
PATH
|
|
12
12
|
remote: .
|
|
13
13
|
specs:
|
|
14
|
-
dpl (2.0.5.beta.1)
|
|
14
|
+
dpl (2.0.5.beta.2.1)
|
|
15
15
|
net-http (~> 0.4.1)
|
|
16
16
|
travis-cl
|
|
17
17
|
travis-packagecloud-ruby
|
|
@@ -294,6 +294,7 @@ GEM
|
|
|
294
294
|
tty-prompt (~> 0.20)
|
|
295
295
|
little-plugger (1.1.4)
|
|
296
296
|
locale (2.1.4)
|
|
297
|
+
logger (1.6.0)
|
|
297
298
|
logging (2.3.1)
|
|
298
299
|
little-plugger (~> 1.1)
|
|
299
300
|
multi_json (~> 1.14)
|
|
@@ -598,6 +599,7 @@ DEPENDENCIES
|
|
|
598
599
|
aws-sdk-s3 (~> 1)
|
|
599
600
|
chef (~> 18)
|
|
600
601
|
coveralls
|
|
602
|
+
date (~> 3.3.4)
|
|
601
603
|
dpl!
|
|
602
604
|
ey-core (~> 3.6)
|
|
603
605
|
faraday (~> 1)
|
|
@@ -606,6 +608,7 @@ DEPENDENCIES
|
|
|
606
608
|
gems (~> 1.1.1)
|
|
607
609
|
gleis (~> 0.8.0)
|
|
608
610
|
json
|
|
611
|
+
logger (= 1.6.0)
|
|
609
612
|
mime-types (~> 3.4.1)
|
|
610
613
|
multipart-post (~> 2.0.0)
|
|
611
614
|
netrc (~> 0.11.0)
|
|
@@ -625,6 +628,7 @@ DEPENDENCIES
|
|
|
625
628
|
rubocop-rspec
|
|
626
629
|
rubyzip (~> 2.3)
|
|
627
630
|
simplecov-console
|
|
631
|
+
time (= 0.3.0)
|
|
628
632
|
webmock
|
|
629
633
|
|
|
630
634
|
RUBY VERSION
|
data/dpl.gemspec
CHANGED
|
@@ -14,13 +14,13 @@ Gem::Specification.new do |s|
|
|
|
14
14
|
s.description = 'Dpl (dee-pee-ell) is a tool made for continuous deployment, running deployments at Travis CI.'
|
|
15
15
|
s.license = 'MIT'
|
|
16
16
|
s.require_path = 'lib'
|
|
17
|
-
s.required_ruby_version = '>= 3'
|
|
17
|
+
s.required_ruby_version = '>= 3.1'
|
|
18
18
|
|
|
19
19
|
s.executables = ['dpl']
|
|
20
20
|
s.files = Dir['{config/**/*,lib/**/*,[A-Z]*}'].reject { _1.match(/dpl.+\.gem/) }
|
|
21
21
|
|
|
22
|
+
s.add_runtime_dependency 'net-http', '~> 0.4.1'
|
|
22
23
|
s.add_runtime_dependency 'travis-cl'
|
|
23
24
|
s.add_runtime_dependency 'travis-packagecloud-ruby'
|
|
24
|
-
s.add_runtime_dependency 'net-http', '~> 0.4.1'
|
|
25
25
|
s.add_development_dependency 'rake', '~> 13.0'
|
|
26
26
|
end
|
data/lib/dpl/ctx/bash.rb
CHANGED
|
@@ -14,6 +14,9 @@ module Dpl
|
|
|
14
14
|
tbd
|
|
15
15
|
STR
|
|
16
16
|
|
|
17
|
+
gem 'logger', '1.6.0'
|
|
18
|
+
gem 'date', '~> 3.3.4'
|
|
19
|
+
gem 'time', '0.3.0'
|
|
17
20
|
gem 'chef', '~> 18', require: %w[
|
|
18
21
|
chef/cookbook/cookbook_version_loader
|
|
19
22
|
chef/cookbook_uploader
|
|
@@ -64,7 +67,7 @@ module Dpl
|
|
|
64
67
|
end
|
|
65
68
|
|
|
66
69
|
def params
|
|
67
|
-
{ cookbook: json(category:
|
|
70
|
+
{ cookbook: json(category:), tarball: }
|
|
68
71
|
end
|
|
69
72
|
|
|
70
73
|
def tarball
|
|
@@ -14,6 +14,7 @@ module Dpl
|
|
|
14
14
|
changes produced by the build, and optionally opening a pull request.
|
|
15
15
|
STR
|
|
16
16
|
|
|
17
|
+
gem 'logger', '1.6.0'
|
|
17
18
|
gem 'octokit', '~> 7'
|
|
18
19
|
gem 'public_suffix', '~> 5'
|
|
19
20
|
|
|
@@ -127,7 +128,7 @@ module Dpl
|
|
|
127
128
|
path = '~/.dpl/deploy_key'
|
|
128
129
|
info(:setup_deploy_key, path:)
|
|
129
130
|
mv deploy_key, path
|
|
130
|
-
chmod
|
|
131
|
+
chmod 0o600, path
|
|
131
132
|
setup_git_ssh path
|
|
132
133
|
shell :check_deploy_key, key: path
|
|
133
134
|
end
|
|
@@ -14,6 +14,7 @@ module Dpl
|
|
|
14
14
|
tbd
|
|
15
15
|
STR
|
|
16
16
|
|
|
17
|
+
gem 'logger', '1.6.0'
|
|
17
18
|
gem 'octokit', '~> 7'
|
|
18
19
|
gem 'public_suffix', '~> 5'
|
|
19
20
|
|
|
@@ -120,7 +121,7 @@ module Dpl
|
|
|
120
121
|
path = '~/.dpl/deploy_key'
|
|
121
122
|
info(:setup_deploy_key, path:)
|
|
122
123
|
mv deploy_key, path
|
|
123
|
-
chmod
|
|
124
|
+
chmod 0o600, path
|
|
124
125
|
setup_git_ssh path
|
|
125
126
|
shell :check_deploy_key, key: path, url: opts[:url]
|
|
126
127
|
end
|
data/lib/dpl/version.rb
CHANGED
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.5.beta.1
|
|
4
|
+
version: 2.0.5.beta.2.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Konstantin Haase
|
|
@@ -10,24 +10,24 @@ authors:
|
|
|
10
10
|
autorequire:
|
|
11
11
|
bindir: bin
|
|
12
12
|
cert_chain: []
|
|
13
|
-
date: 2024-
|
|
13
|
+
date: 2024-09-23 00:00:00.000000000 Z
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
16
|
-
name:
|
|
16
|
+
name: net-http
|
|
17
17
|
requirement: !ruby/object:Gem::Requirement
|
|
18
18
|
requirements:
|
|
19
|
-
- - "
|
|
19
|
+
- - "~>"
|
|
20
20
|
- !ruby/object:Gem::Version
|
|
21
|
-
version:
|
|
21
|
+
version: 0.4.1
|
|
22
22
|
type: :runtime
|
|
23
23
|
prerelease: false
|
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
|
25
25
|
requirements:
|
|
26
|
-
- - "
|
|
26
|
+
- - "~>"
|
|
27
27
|
- !ruby/object:Gem::Version
|
|
28
|
-
version:
|
|
28
|
+
version: 0.4.1
|
|
29
29
|
- !ruby/object:Gem::Dependency
|
|
30
|
-
name: travis-
|
|
30
|
+
name: travis-cl
|
|
31
31
|
requirement: !ruby/object:Gem::Requirement
|
|
32
32
|
requirements:
|
|
33
33
|
- - ">="
|
|
@@ -41,19 +41,19 @@ dependencies:
|
|
|
41
41
|
- !ruby/object:Gem::Version
|
|
42
42
|
version: '0'
|
|
43
43
|
- !ruby/object:Gem::Dependency
|
|
44
|
-
name:
|
|
44
|
+
name: travis-packagecloud-ruby
|
|
45
45
|
requirement: !ruby/object:Gem::Requirement
|
|
46
46
|
requirements:
|
|
47
|
-
- - "
|
|
47
|
+
- - ">="
|
|
48
48
|
- !ruby/object:Gem::Version
|
|
49
|
-
version: 0
|
|
49
|
+
version: '0'
|
|
50
50
|
type: :runtime
|
|
51
51
|
prerelease: false
|
|
52
52
|
version_requirements: !ruby/object:Gem::Requirement
|
|
53
53
|
requirements:
|
|
54
|
-
- - "
|
|
54
|
+
- - ">="
|
|
55
55
|
- !ruby/object:Gem::Version
|
|
56
|
-
version: 0
|
|
56
|
+
version: '0'
|
|
57
57
|
- !ruby/object:Gem::Dependency
|
|
58
58
|
name: rake
|
|
59
59
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -189,14 +189,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
189
189
|
requirements:
|
|
190
190
|
- - ">="
|
|
191
191
|
- !ruby/object:Gem::Version
|
|
192
|
-
version: '3'
|
|
192
|
+
version: '3.1'
|
|
193
193
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
194
194
|
requirements:
|
|
195
|
-
- - "
|
|
195
|
+
- - ">="
|
|
196
196
|
- !ruby/object:Gem::Version
|
|
197
|
-
version:
|
|
197
|
+
version: '0'
|
|
198
198
|
requirements: []
|
|
199
|
-
rubygems_version: 3.
|
|
199
|
+
rubygems_version: 3.5.16
|
|
200
200
|
signing_key:
|
|
201
201
|
specification_version: 4
|
|
202
202
|
summary: Dpl runs deployments at Travis CI
|