dlss-capistrano-docker 1.1.0 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e6c6f96926182a57be0bcdb5878ca91e311dcf030a5baed00ec86e34339669f3
4
- data.tar.gz: 127342d48000c648f06d307fbbcfce9a665901ded25fdc9256390bd0eb2b6cf0
3
+ metadata.gz: 8932b79a00c836bd33802d012c4d66f45cbc3ebf60e3a06e9a83fe5cd49328fa
4
+ data.tar.gz: 60ce22d15a0486bd8f0976ce90b67256a3a967815134feb0f72f7706b034d394
5
5
  SHA512:
6
- metadata.gz: ccc483796bba3f7a4c41030fd20c340934927d71816a7ce895db5802d42b2b2bb192e6bae1cacf07d4f4df48e4d6fab91c85366691287284207d9e5fa4ed577b
7
- data.tar.gz: 51cf47c449b71b632a996e024e8a5e3df2feb5c0a5fe72d79d6acc8613bf7262aa9faf042436fb2b0bc32c9fe704d72895ef2f81355033fe17b092324b91b69e
6
+ metadata.gz: a66a6fe1680b230bdcece3aa9df76a6d13749f26beb566f67336344829d9f99e739c0dddbfcd47ca62565a6b0ef0f3ed787f96598543606c59cbb67d1bdf96c8
7
+ data.tar.gz: 929fd5a451a445211fc58ab22ef3e67855c84fd991ba2965930338570ab00db316dddf6a04236d429f2364ca66035bf6aeded39a6197b2f392440a65b262a5b1
data/.circleci/config.yml CHANGED
@@ -1,6 +1,6 @@
1
1
  version: 2.1
2
2
  orbs:
3
- ruby-rails: sul-dlss/ruby-rails@4.2.1
3
+ ruby-rails: sul-dlss/ruby-rails@4.2.2
4
4
  workflows:
5
5
  build:
6
6
  jobs:
data/Gemfile.lock CHANGED
@@ -1,24 +1,29 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- dlss-capistrano-docker (1.1.0)
4
+ dlss-capistrano-docker (1.2.0)
5
+ bcrypt_pbkdf
5
6
  capistrano (~> 3.0)
6
7
  capistrano-bundle_audit (>= 0.3.0)
7
8
  capistrano-one_time_key
8
9
  capistrano-shared_configs
10
+ ed25519
9
11
 
10
12
  GEM
11
13
  remote: https://rubygems.org/
12
14
  specs:
13
- airbrussh (1.5.2)
15
+ airbrussh (1.5.3)
14
16
  sshkit (>= 1.6.1, != 1.7.0)
15
17
  ast (2.4.2)
16
18
  base64 (0.2.0)
17
- bundler-audit (0.9.1)
19
+ bcrypt_pbkdf (1.1.1)
20
+ bcrypt_pbkdf (1.1.1-arm64-darwin)
21
+ bcrypt_pbkdf (1.1.1-x86_64-darwin)
22
+ bundler-audit (0.9.2)
18
23
  bundler (>= 1.2.0, < 3)
19
24
  thor (~> 1.0)
20
25
  byebug (11.1.3)
21
- capistrano (3.18.1)
26
+ capistrano (3.19.1)
22
27
  airbrussh (>= 1.0.0)
23
28
  i18n
24
29
  rake (>= 10.0.0)
@@ -27,13 +32,14 @@ GEM
27
32
  bundler-audit (~> 0.5)
28
33
  capistrano (~> 3.0)
29
34
  capistrano-bundler (>= 1.4)
30
- capistrano-bundler (2.1.0)
35
+ capistrano-bundler (2.1.1)
31
36
  capistrano (~> 3.1)
32
37
  capistrano-one_time_key (0.2.0)
33
38
  capistrano (~> 3.0)
34
39
  capistrano-shared_configs (0.2.2)
35
- concurrent-ruby (1.3.3)
36
- i18n (1.14.5)
40
+ concurrent-ruby (1.3.4)
41
+ ed25519 (1.3.0)
42
+ i18n (1.14.6)
37
43
  concurrent-ruby (~> 1.0)
38
44
  json (2.7.2)
39
45
  language_server-protocol (3.17.0.3)
@@ -42,38 +48,36 @@ GEM
42
48
  net-sftp (4.0.0)
43
49
  net-ssh (>= 5.0.0, < 8.0.0)
44
50
  net-ssh (7.2.3)
45
- parallel (1.25.1)
46
- parser (3.3.3.0)
51
+ ostruct (0.6.0)
52
+ parallel (1.26.3)
53
+ parser (3.3.5.0)
47
54
  ast (~> 2.4.1)
48
55
  racc
49
- racc (1.8.0)
56
+ racc (1.8.1)
50
57
  rainbow (3.1.1)
51
58
  rake (13.2.1)
52
59
  regexp_parser (2.9.2)
53
- rexml (3.3.0)
54
- strscan
55
- rubocop (1.64.1)
60
+ rubocop (1.66.1)
56
61
  json (~> 2.3)
57
62
  language_server-protocol (>= 3.17.0)
58
63
  parallel (~> 1.10)
59
64
  parser (>= 3.3.0.2)
60
65
  rainbow (>= 2.2.2, < 4.0)
61
- regexp_parser (>= 1.8, < 3.0)
62
- rexml (>= 3.2.5, < 4.0)
63
- rubocop-ast (>= 1.31.1, < 2.0)
66
+ regexp_parser (>= 2.4, < 3.0)
67
+ rubocop-ast (>= 1.32.2, < 2.0)
64
68
  ruby-progressbar (~> 1.7)
65
69
  unicode-display_width (>= 2.4.0, < 3.0)
66
- rubocop-ast (1.31.3)
70
+ rubocop-ast (1.32.3)
67
71
  parser (>= 3.3.1.0)
68
72
  ruby-progressbar (1.13.0)
69
- sshkit (1.23.0)
73
+ sshkit (1.23.1)
70
74
  base64
71
75
  net-scp (>= 1.1.2)
72
76
  net-sftp (>= 2.1.2)
73
77
  net-ssh (>= 2.8.0)
74
- strscan (3.1.0)
75
- thor (1.3.1)
76
- unicode-display_width (2.5.0)
78
+ ostruct
79
+ thor (1.3.2)
80
+ unicode-display_width (2.6.0)
77
81
 
78
82
  PLATFORMS
79
83
  arm64-darwin-23
data/README.md CHANGED
@@ -10,6 +10,7 @@ It requires that the services to be run on a server be specified by a docker com
10
10
 
11
11
  ## Included Tasks
12
12
  * `ssh`: establishes an SSH connection to the host running in environment, and changes into the current deployment directory.
13
+ * `ssh_check`: establishes an SSH connection to all app servers running prints environment information to confirm the connection was made. (This is used by sdr-deploy to check SSH connections can be made in bulk before proceeding with a mass deploy.)
13
14
  * `honeybadger:notify`: notifies Honeybadger of deploy using curl (thus, ruby is not required on host).
14
15
  * `docker:login`: log into Docker Hub. Logging in is required to avoid strict image download limits.
15
16
  * `docker:logout`: log out of Docker Hub.
@@ -4,7 +4,7 @@ $:.unshift lib unless $:.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |s|
6
6
  s.name = "dlss-capistrano-docker"
7
- s.version = '1.1.0'
7
+ s.version = '1.2.0'
8
8
 
9
9
  s.platform = Gem::Platform::RUBY
10
10
  s.authors = ['Justin Littman']
@@ -21,6 +21,9 @@ Gem::Specification.new do |s|
21
21
  s.add_dependency "capistrano-bundle_audit", ">= 0.3.0"
22
22
  s.add_dependency "capistrano-one_time_key"
23
23
  s.add_dependency "capistrano-shared_configs"
24
+ # support for MacOS 14.4+ usage of ed25519 SSH keys
25
+ s.add_dependency "ed25519"
26
+ s.add_dependency "bcrypt_pbkdf"
24
27
 
25
28
  s.add_development_dependency 'bundler'
26
29
  s.add_development_dependency 'byebug'
@@ -0,0 +1,8 @@
1
+ # frozen_string_literal: true
2
+
3
+ desc 'check ssh connections to all app servers'
4
+ task :ssh_check do
5
+ on roles(:app), in: :sequence do |host|
6
+ exec "ssh -l #{host.user} #{host.hostname} -p #{host.port || 22} -t 'env'"
7
+ end
8
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dlss-capistrano-docker
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin Littman
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-06-26 00:00:00.000000000 Z
11
+ date: 2024-09-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: capistrano
@@ -66,6 +66,34 @@ dependencies:
66
66
  - - ">="
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: ed25519
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :runtime
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: bcrypt_pbkdf
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :runtime
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
69
97
  - !ruby/object:Gem::Dependency
70
98
  name: bundler
71
99
  requirement: !ruby/object:Gem::Requirement
@@ -143,6 +171,7 @@ files:
143
171
  - lib/dlss/docker/capistrano/tasks/honeybadger.rake
144
172
  - lib/dlss/docker/capistrano/tasks/shared_configs.rake
145
173
  - lib/dlss/docker/capistrano/tasks/ssh.rake
174
+ - lib/dlss/docker/capistrano/tasks/ssh_check.rake
146
175
  homepage: https://github.com/sul-dlss/dlss-capistrano-docker
147
176
  licenses:
148
177
  - Apache-2.0
@@ -166,7 +195,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
166
195
  - !ruby/object:Gem::Version
167
196
  version: '0'
168
197
  requirements: []
169
- rubygems_version: 3.5.9
198
+ rubygems_version: 3.5.19
170
199
  signing_key:
171
200
  specification_version: 4
172
201
  summary: Capistrano recipes for use in SUL/DLSS projects for docker deployment