ood_core 0.24.2 → 0.25.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -1
- data/lib/ood_core/batch_connect/templates/vnc.rb +6 -2
- data/lib/ood_core/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: ad05a0d8cf307f0237329f0e33e8a66f809781e5b164ddf20b9f03d65078451d
|
4
|
+
data.tar.gz: 396dde55b4b5aaa321ccaf6fbc3cb049d01239335533c35c39ee9a11a1aa5d9b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4a1d7cb53117266c577eaa7792d867508f3e94ef78f2f9af7817882ad1f6165d5d43e8179e17163a83dd438627215700501ea75281204ee6b7d900649c77de9f
|
7
|
+
data.tar.gz: 4aaf01f40d43e7b496a053e2ef85548769beb169c78e954cd055659ecc08f2e8ef7221561f94a184eb986b9f13d52c2efda30ffdd07faeb697fab4d9d4411ce7
|
data/CHANGELOG.md
CHANGED
@@ -7,10 +7,15 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
|
|
7
7
|
|
8
8
|
## [Unreleased]
|
9
9
|
|
10
|
+
# [0.25.0] - 03-27-2024
|
11
|
+
|
12
|
+
- [828](https://github.com/OSC/ood_core/pull/828) and [826](https://github.com/OSC/ood_core/pull/826)
|
13
|
+
add configurable heartbeats to noVNC connections.
|
14
|
+
|
10
15
|
# [0.24.2] - 01-24-2024
|
11
16
|
|
12
17
|
- [823](https://github.com/OSC/ood_core/pull/823) Corrected a mistake in converting duration to seconds.
|
13
|
-
|
18
|
+
- [821](https://github.com/OSC/ood_core/pull/821) add container_start_args to pass options to the start command.
|
14
19
|
|
15
20
|
## [0.24.1] - 11-29-2023
|
16
21
|
|
@@ -24,6 +24,9 @@ module OodCore
|
|
24
24
|
# @option context [#to_s] :websockify_cmd
|
25
25
|
# ("${WEBSOCKIFY_CMD:-/opt/websockify/run}") the path to the
|
26
26
|
# websockify script (assumes you don't modify `:after_script`)
|
27
|
+
# @option context [#to_s] :websockify_heartbeat_seconds
|
28
|
+
# ("${WEBSOCKIFY_HEARTBEAT_SECONDS:-30}") the websockify heartbeat
|
29
|
+
# duration in seconds. (assumes you don't modify `:after_script`)
|
27
30
|
# @option context [#to_s] :vnc_log ("vnc.log") path to vnc server log
|
28
31
|
# file (assumes you don't modify `:before_script` or `:after_script`)
|
29
32
|
# @option context [#to_s] :vnc_passwd ("vnc.passwd") path to the file
|
@@ -130,7 +133,8 @@ module OodCore
|
|
130
133
|
# successful connections so that the password can be reset
|
131
134
|
def after_script
|
132
135
|
websockify_cmd = context.fetch(:websockify_cmd, "${WEBSOCKIFY_CMD:-/opt/websockify/run}").to_s
|
133
|
-
|
136
|
+
websockify_hb = context.fetch(:websockify_heartbeat_seconds, "${WEBSOCKIFY_HEARTBEAT_SECONDS:-30}").to_s
|
137
|
+
|
134
138
|
<<-EOT.gsub(/^ {14}/, "")
|
135
139
|
#{super}
|
136
140
|
|
@@ -139,7 +143,7 @@ module OodCore
|
|
139
143
|
start_websockify() {
|
140
144
|
local log_file="./websockify.log"
|
141
145
|
# launch websockify in background and redirect all output to a file.
|
142
|
-
#{websockify_cmd} $1 $2 &> $log_file &
|
146
|
+
#{websockify_cmd} $1 --heartbeat=#{websockify_hb} $2 &> $log_file &
|
143
147
|
local ws_pid=$!
|
144
148
|
local counter=0
|
145
149
|
|
data/lib/ood_core/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ood_core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.25.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eric Franz
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: exe
|
12
12
|
cert_chain: []
|
13
|
-
date: 2024-
|
13
|
+
date: 2024-03-27 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: ood_support
|