dlss-capistrano-docker 1.1.1 → 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: dbbdd4b62048dc6d82fff0ecc659e5d5adf4ae36f0fac34d757aadaf980a0834
4
- data.tar.gz: '028fd186b3dfa37e3c7a7a9ddb96330ed7a72f5f63f26fedb18bdab04c49b245'
3
+ metadata.gz: 8932b79a00c836bd33802d012c4d66f45cbc3ebf60e3a06e9a83fe5cd49328fa
4
+ data.tar.gz: 60ce22d15a0486bd8f0976ce90b67256a3a967815134feb0f72f7706b034d394
5
5
  SHA512:
6
- metadata.gz: 73ec2f65652ae6f6c6618cec9409c447ed2266ffa5fb755b9031d41355a99272c3f4dda147e597425597cdd6107dfc9e040f14878dfe8c21bffdb13cb8fcd068
7
- data.tar.gz: d229d57aa6836880ce850aca594e7f68a3991661c926099d2bd4ceddfc9f8b4f033837aaa3fee36a8d7df93094a8dcabea22fdb8bdbf0f6b98202b5d75083197
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,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- dlss-capistrano-docker (1.1.1)
4
+ dlss-capistrano-docker (1.2.0)
5
5
  bcrypt_pbkdf
6
6
  capistrano (~> 3.0)
7
7
  capistrano-bundle_audit (>= 0.3.0)
@@ -12,18 +12,18 @@ PATH
12
12
  GEM
13
13
  remote: https://rubygems.org/
14
14
  specs:
15
- airbrussh (1.5.2)
15
+ airbrussh (1.5.3)
16
16
  sshkit (>= 1.6.1, != 1.7.0)
17
17
  ast (2.4.2)
18
18
  base64 (0.2.0)
19
19
  bcrypt_pbkdf (1.1.1)
20
20
  bcrypt_pbkdf (1.1.1-arm64-darwin)
21
21
  bcrypt_pbkdf (1.1.1-x86_64-darwin)
22
- bundler-audit (0.9.1)
22
+ bundler-audit (0.9.2)
23
23
  bundler (>= 1.2.0, < 3)
24
24
  thor (~> 1.0)
25
25
  byebug (11.1.3)
26
- capistrano (3.18.1)
26
+ capistrano (3.19.1)
27
27
  airbrussh (>= 1.0.0)
28
28
  i18n
29
29
  rake (>= 10.0.0)
@@ -32,14 +32,14 @@ GEM
32
32
  bundler-audit (~> 0.5)
33
33
  capistrano (~> 3.0)
34
34
  capistrano-bundler (>= 1.4)
35
- capistrano-bundler (2.1.0)
35
+ capistrano-bundler (2.1.1)
36
36
  capistrano (~> 3.1)
37
37
  capistrano-one_time_key (0.2.0)
38
38
  capistrano (~> 3.0)
39
39
  capistrano-shared_configs (0.2.2)
40
- concurrent-ruby (1.3.3)
40
+ concurrent-ruby (1.3.4)
41
41
  ed25519 (1.3.0)
42
- i18n (1.14.5)
42
+ i18n (1.14.6)
43
43
  concurrent-ruby (~> 1.0)
44
44
  json (2.7.2)
45
45
  language_server-protocol (3.17.0.3)
@@ -48,38 +48,36 @@ GEM
48
48
  net-sftp (4.0.0)
49
49
  net-ssh (>= 5.0.0, < 8.0.0)
50
50
  net-ssh (7.2.3)
51
- parallel (1.25.1)
52
- parser (3.3.3.0)
51
+ ostruct (0.6.0)
52
+ parallel (1.26.3)
53
+ parser (3.3.5.0)
53
54
  ast (~> 2.4.1)
54
55
  racc
55
- racc (1.8.0)
56
+ racc (1.8.1)
56
57
  rainbow (3.1.1)
57
58
  rake (13.2.1)
58
59
  regexp_parser (2.9.2)
59
- rexml (3.3.0)
60
- strscan
61
- rubocop (1.64.1)
60
+ rubocop (1.66.1)
62
61
  json (~> 2.3)
63
62
  language_server-protocol (>= 3.17.0)
64
63
  parallel (~> 1.10)
65
64
  parser (>= 3.3.0.2)
66
65
  rainbow (>= 2.2.2, < 4.0)
67
- regexp_parser (>= 1.8, < 3.0)
68
- rexml (>= 3.2.5, < 4.0)
69
- rubocop-ast (>= 1.31.1, < 2.0)
66
+ regexp_parser (>= 2.4, < 3.0)
67
+ rubocop-ast (>= 1.32.2, < 2.0)
70
68
  ruby-progressbar (~> 1.7)
71
69
  unicode-display_width (>= 2.4.0, < 3.0)
72
- rubocop-ast (1.31.3)
70
+ rubocop-ast (1.32.3)
73
71
  parser (>= 3.3.1.0)
74
72
  ruby-progressbar (1.13.0)
75
- sshkit (1.23.0)
73
+ sshkit (1.23.1)
76
74
  base64
77
75
  net-scp (>= 1.1.2)
78
76
  net-sftp (>= 2.1.2)
79
77
  net-ssh (>= 2.8.0)
80
- strscan (3.1.0)
81
- thor (1.3.1)
82
- unicode-display_width (2.5.0)
78
+ ostruct
79
+ thor (1.3.2)
80
+ unicode-display_width (2.6.0)
83
81
 
84
82
  PLATFORMS
85
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.1'
7
+ s.version = '1.2.0'
8
8
 
9
9
  s.platform = Gem::Platform::RUBY
10
10
  s.authors = ['Justin Littman']
@@ -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.1
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
@@ -171,6 +171,7 @@ files:
171
171
  - lib/dlss/docker/capistrano/tasks/honeybadger.rake
172
172
  - lib/dlss/docker/capistrano/tasks/shared_configs.rake
173
173
  - lib/dlss/docker/capistrano/tasks/ssh.rake
174
+ - lib/dlss/docker/capistrano/tasks/ssh_check.rake
174
175
  homepage: https://github.com/sul-dlss/dlss-capistrano-docker
175
176
  licenses:
176
177
  - Apache-2.0
@@ -194,7 +195,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
194
195
  - !ruby/object:Gem::Version
195
196
  version: '0'
196
197
  requirements: []
197
- rubygems_version: 3.5.9
198
+ rubygems_version: 3.5.19
198
199
  signing_key:
199
200
  specification_version: 4
200
201
  summary: Capistrano recipes for use in SUL/DLSS projects for docker deployment