mrsk 0.15.0 → 0.15.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +0 -9
- data/lib/mrsk/configuration.rb +2 -11
- data/lib/mrsk/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 805fea2a31e95e22db8ae23481fdf3d6be14e5a8a5989d6aef9ca2251ac08587
|
4
|
+
data.tar.gz: cc1c11c3328d74378e1231cc5992fd7a10809475726c43fdd636b1f0f828882a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c75bfe0e9809d3c9c9b4f2702f0fdd4a0175dd8a722636b9e4b1d9b8067df1d82e87b72b70a57fc6dccc1579e818ad84df3f8dc624a67b5c61c7210d46fa9ea9
|
7
|
+
data.tar.gz: df69044159ddaafdd1d163b37b7dfddff2a359590f7b4133e9a3ce313d324f2ec20312da24c5bcb5ea99763950fda93b6310e71185f44025032e49a3db6b762b
|
data/README.md
CHANGED
@@ -258,15 +258,6 @@ ssh:
|
|
258
258
|
proxy_command: aws ssm start-session --target %h --document-name AWS-StartSSHSession --parameters 'portNumber=%p' --region=us-east-1 ## ssh via aws ssm
|
259
259
|
```
|
260
260
|
|
261
|
-
### Configuring the SSH log level
|
262
|
-
|
263
|
-
```yaml
|
264
|
-
ssh:
|
265
|
-
log_level: debug
|
266
|
-
```
|
267
|
-
|
268
|
-
Valid levels are `debug`, `info`, `warn`, `error` and `fatal` (default).
|
269
|
-
|
270
261
|
### Using env variables
|
271
262
|
|
272
263
|
You can inject env variables into the app containers using `env`:
|
data/lib/mrsk/configuration.rb
CHANGED
@@ -153,15 +153,7 @@ class Mrsk::Configuration
|
|
153
153
|
end
|
154
154
|
|
155
155
|
def ssh_options
|
156
|
-
{ user: ssh_user, proxy: ssh_proxy, auth_methods: [ "publickey" ]
|
157
|
-
end
|
158
|
-
|
159
|
-
def ssh_logger
|
160
|
-
@ssh_logger ||= ::Logger.new(STDERR).tap { |logger| logger.level = ssh_log_level }
|
161
|
-
end
|
162
|
-
|
163
|
-
def ssh_log_level
|
164
|
-
(raw_config.ssh && raw_config.ssh["log_level"]) || ::Logger::FATAL
|
156
|
+
{ user: ssh_user, proxy: ssh_proxy, auth_methods: [ "publickey" ] }.compact
|
165
157
|
end
|
166
158
|
|
167
159
|
|
@@ -193,8 +185,7 @@ class Mrsk::Configuration
|
|
193
185
|
service_with_version: service_with_version,
|
194
186
|
env_args: env_args,
|
195
187
|
volume_args: volume_args,
|
196
|
-
ssh_options: ssh_options
|
197
|
-
ssh_log_level: ssh_log_level,
|
188
|
+
ssh_options: ssh_options,
|
198
189
|
builder: builder.to_h,
|
199
190
|
accessories: raw_config.accessories,
|
200
191
|
logging: logging_args,
|
data/lib/mrsk/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mrsk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.15.
|
4
|
+
version: 0.15.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Heinemeier Hansson
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-07-
|
11
|
+
date: 2023-07-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|