dlss-capistrano-docker 1.2.0 → 1.3.0
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/.circleci/config.yml +1 -1
- data/.rubocop.yml +1 -1
- data/Gemfile.lock +49 -38
- data/README.md +5 -1
- data/dlss-capistrano-docker.gemspec +2 -2
- metadata +4 -8
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 779d4b16996f563321acac177dc3019a32fe574a31b25cef16558aa9ffcdaa29
|
|
4
|
+
data.tar.gz: de43a3649f483b7978be23fcd09582dc4a42188f0c1db6a63992408b6b75e41e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e117b00b93df006b5bee79f0bd9554fd9a130f5dab90678d4089fbb834a39974595dd05cef27af91f53d6f933979283db7cb56a9bc38928b97900d102abbae46
|
|
7
|
+
data.tar.gz: 70a84ed3e24b14376e7774b0713b10776a2b9de1dd9c7fdc4045694c08feaf5120fa8edb17dfa43c53421a1f0562fd2715894b11ecdf0a70c44a14df43bac827
|
data/.circleci/config.yml
CHANGED
data/.rubocop.yml
CHANGED
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
dlss-capistrano-docker (1.
|
|
4
|
+
dlss-capistrano-docker (1.3.0)
|
|
5
5
|
bcrypt_pbkdf
|
|
6
6
|
capistrano (~> 3.0)
|
|
7
7
|
capistrano-bundle_audit (>= 0.3.0)
|
|
@@ -12,18 +12,17 @@ PATH
|
|
|
12
12
|
GEM
|
|
13
13
|
remote: https://rubygems.org/
|
|
14
14
|
specs:
|
|
15
|
-
airbrussh (1.
|
|
15
|
+
airbrussh (1.6.2)
|
|
16
16
|
sshkit (>= 1.6.1, != 1.7.0)
|
|
17
|
-
ast (2.4.
|
|
18
|
-
base64 (0.
|
|
19
|
-
bcrypt_pbkdf (1.1.
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
bundler-audit (0.9.2)
|
|
23
|
-
bundler (>= 1.2.0, < 3)
|
|
17
|
+
ast (2.4.3)
|
|
18
|
+
base64 (0.3.0)
|
|
19
|
+
bcrypt_pbkdf (1.1.2)
|
|
20
|
+
bundler-audit (0.9.3)
|
|
21
|
+
bundler (>= 1.2.0)
|
|
24
22
|
thor (~> 1.0)
|
|
25
|
-
byebug (
|
|
26
|
-
|
|
23
|
+
byebug (13.0.0)
|
|
24
|
+
reline (>= 0.6.0)
|
|
25
|
+
capistrano (3.20.1)
|
|
27
26
|
airbrussh (>= 1.0.0)
|
|
28
27
|
i18n
|
|
29
28
|
rake (>= 10.0.0)
|
|
@@ -32,55 +31,67 @@ GEM
|
|
|
32
31
|
bundler-audit (~> 0.5)
|
|
33
32
|
capistrano (~> 3.0)
|
|
34
33
|
capistrano-bundler (>= 1.4)
|
|
35
|
-
capistrano-bundler (2.
|
|
34
|
+
capistrano-bundler (2.2.0)
|
|
36
35
|
capistrano (~> 3.1)
|
|
37
|
-
capistrano-one_time_key (0.
|
|
36
|
+
capistrano-one_time_key (0.3.0)
|
|
38
37
|
capistrano (~> 3.0)
|
|
39
38
|
capistrano-shared_configs (0.2.2)
|
|
40
|
-
concurrent-ruby (1.3.
|
|
41
|
-
ed25519 (1.
|
|
42
|
-
i18n (1.
|
|
39
|
+
concurrent-ruby (1.3.8)
|
|
40
|
+
ed25519 (1.4.0)
|
|
41
|
+
i18n (1.15.2)
|
|
43
42
|
concurrent-ruby (~> 1.0)
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
43
|
+
io-console (0.9.4)
|
|
44
|
+
json (3.0.2)
|
|
45
|
+
language_server-protocol (3.17.0.6)
|
|
46
|
+
lint_roller (1.1.0)
|
|
47
|
+
logger (1.7.0)
|
|
48
|
+
net-scp (4.1.0)
|
|
47
49
|
net-ssh (>= 2.6.5, < 8.0.0)
|
|
48
50
|
net-sftp (4.0.0)
|
|
49
51
|
net-ssh (>= 5.0.0, < 8.0.0)
|
|
50
|
-
net-ssh (7.
|
|
51
|
-
ostruct (0.6.
|
|
52
|
-
parallel (
|
|
53
|
-
parser (3.3.
|
|
52
|
+
net-ssh (7.3.6)
|
|
53
|
+
ostruct (0.6.3)
|
|
54
|
+
parallel (2.3.0)
|
|
55
|
+
parser (3.3.12.0)
|
|
54
56
|
ast (~> 2.4.1)
|
|
55
57
|
racc
|
|
58
|
+
prism (1.9.0)
|
|
56
59
|
racc (1.8.1)
|
|
57
60
|
rainbow (3.1.1)
|
|
58
|
-
rake (13.2
|
|
59
|
-
regexp_parser (2.
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
61
|
+
rake (13.4.2)
|
|
62
|
+
regexp_parser (2.13.1)
|
|
63
|
+
reline (0.7.0)
|
|
64
|
+
io-console (~> 0.5)
|
|
65
|
+
rubocop (1.92.0)
|
|
66
|
+
json (>= 2.3)
|
|
67
|
+
language_server-protocol (~> 3.17.0.2)
|
|
68
|
+
lint_roller (~> 1.1.0)
|
|
69
|
+
parallel (>= 1.10)
|
|
64
70
|
parser (>= 3.3.0.2)
|
|
65
71
|
rainbow (>= 2.2.2, < 4.0)
|
|
66
|
-
regexp_parser (>= 2.
|
|
67
|
-
rubocop-ast (>= 1.
|
|
72
|
+
regexp_parser (>= 2.11.3, < 3.0)
|
|
73
|
+
rubocop-ast (>= 1.49.0, < 2.0)
|
|
68
74
|
ruby-progressbar (~> 1.7)
|
|
69
|
-
unicode-display_width (>= 2.4.0, <
|
|
70
|
-
rubocop-ast (1.
|
|
71
|
-
parser (>= 3.3.
|
|
75
|
+
unicode-display_width (>= 2.4.0, < 4.0)
|
|
76
|
+
rubocop-ast (1.50.0)
|
|
77
|
+
parser (>= 3.3.7.2)
|
|
78
|
+
prism (~> 1.7)
|
|
72
79
|
ruby-progressbar (1.13.0)
|
|
73
|
-
sshkit (1.
|
|
80
|
+
sshkit (1.25.1)
|
|
74
81
|
base64
|
|
82
|
+
logger
|
|
75
83
|
net-scp (>= 1.1.2)
|
|
76
84
|
net-sftp (>= 2.1.2)
|
|
77
85
|
net-ssh (>= 2.8.0)
|
|
78
86
|
ostruct
|
|
79
|
-
thor (1.
|
|
80
|
-
unicode-display_width (
|
|
87
|
+
thor (1.5.0)
|
|
88
|
+
unicode-display_width (3.3.0)
|
|
89
|
+
unicode-emoji (~> 4.3)
|
|
90
|
+
unicode-emoji (4.3.0)
|
|
81
91
|
|
|
82
92
|
PLATFORMS
|
|
83
93
|
arm64-darwin-23
|
|
94
|
+
arm64-darwin-25
|
|
84
95
|
x86_64-darwin-21
|
|
85
96
|
x86_64-linux
|
|
86
97
|
|
|
@@ -92,4 +103,4 @@ DEPENDENCIES
|
|
|
92
103
|
rubocop (~> 1.0)
|
|
93
104
|
|
|
94
105
|
BUNDLED WITH
|
|
95
|
-
|
|
106
|
+
4.0.22
|
data/README.md
CHANGED
|
@@ -8,6 +8,10 @@ This gem provides Capistrano Docker deployment tasks used by Stanford Libraries'
|
|
|
8
8
|
|
|
9
9
|
It requires that the services to be run on a server be specified by a docker compose configuration file.
|
|
10
10
|
|
|
11
|
+
## Development
|
|
12
|
+
|
|
13
|
+
Use Ruby 4.0.7 for development and testing.
|
|
14
|
+
|
|
11
15
|
## Included Tasks
|
|
12
16
|
* `ssh`: establishes an SSH connection to the host running in environment, and changes into the current deployment directory.
|
|
13
17
|
* `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.)
|
|
@@ -72,7 +76,7 @@ require 'dlss/capistrano'
|
|
|
72
76
|
* Add `set :job_template, nil` to execute with sh instead of bash.
|
|
73
77
|
|
|
74
78
|
### `Dockerfile`
|
|
75
|
-
* When possible, base the image on Alpine (e.g., `FROM ruby:
|
|
79
|
+
* When possible, base the image on Alpine (e.g., `FROM ruby:4.0.7-alpine`).
|
|
76
80
|
* Processes should run as the application user (e.g., `h2`) not root, with user id and group id set to match the server.
|
|
77
81
|
* If using Whenever, install Supercronic (which does not have to run as root) and write the crontab file during the build with `RUN sh -c 'bundle exec whenever . | tee -a config/crontab'`.
|
|
78
82
|
* When possible, write to both a log file and stdout.
|
|
@@ -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.
|
|
7
|
+
s.version = '1.3.0'
|
|
8
8
|
|
|
9
9
|
s.platform = Gem::Platform::RUBY
|
|
10
10
|
s.authors = ['Justin Littman']
|
|
@@ -13,7 +13,7 @@ Gem::Specification.new do |s|
|
|
|
13
13
|
s.homepage = 'https://github.com/sul-dlss/dlss-capistrano-docker'
|
|
14
14
|
s.license = "Apache-2.0"
|
|
15
15
|
|
|
16
|
-
s.required_ruby_version = '>= 3.0', '<
|
|
16
|
+
s.required_ruby_version = '>= 3.0', '< 5'
|
|
17
17
|
|
|
18
18
|
# All dependencies are runtime dependencies, since this gem's "runtime" is
|
|
19
19
|
# the dependent gem's development-time.
|
metadata
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: dlss-capistrano-docker
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.3.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Justin Littman
|
|
8
|
-
autorequire:
|
|
9
8
|
bindir: bin
|
|
10
9
|
cert_chain: []
|
|
11
|
-
date:
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
12
11
|
dependencies:
|
|
13
12
|
- !ruby/object:Gem::Dependency
|
|
14
13
|
name: capistrano
|
|
@@ -150,7 +149,6 @@ dependencies:
|
|
|
150
149
|
- - "~>"
|
|
151
150
|
- !ruby/object:Gem::Version
|
|
152
151
|
version: '1.0'
|
|
153
|
-
description:
|
|
154
152
|
email:
|
|
155
153
|
- justinlittman@stanford.edu
|
|
156
154
|
executables: []
|
|
@@ -177,7 +175,6 @@ licenses:
|
|
|
177
175
|
- Apache-2.0
|
|
178
176
|
metadata:
|
|
179
177
|
rubygems_mfa_required: 'true'
|
|
180
|
-
post_install_message:
|
|
181
178
|
rdoc_options: []
|
|
182
179
|
require_paths:
|
|
183
180
|
- lib
|
|
@@ -188,15 +185,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
188
185
|
version: '3.0'
|
|
189
186
|
- - "<"
|
|
190
187
|
- !ruby/object:Gem::Version
|
|
191
|
-
version: '
|
|
188
|
+
version: '5'
|
|
192
189
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
193
190
|
requirements:
|
|
194
191
|
- - ">="
|
|
195
192
|
- !ruby/object:Gem::Version
|
|
196
193
|
version: '0'
|
|
197
194
|
requirements: []
|
|
198
|
-
rubygems_version:
|
|
199
|
-
signing_key:
|
|
195
|
+
rubygems_version: 4.0.22
|
|
200
196
|
specification_version: 4
|
|
201
197
|
summary: Capistrano recipes for use in SUL/DLSS projects for docker deployment
|
|
202
198
|
test_files: []
|