sonic-screwdriver 2.2.6 → 2.2.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/lib/sonic/execute.rb +2 -2
- data/lib/sonic/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2090155cf49be41cd1fb602d13b4f569fb251d9a69be4459fb2e101b19bc1229
|
4
|
+
data.tar.gz: 4d59f16423169fe0866c67645644a6e7a6362edb2c8375137376653eb743f3b7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8b3ad10084e43b02d44a4ef98e9f2b33966fa78f61a1baf82374890dfe4246ac32d2baf2ee20e6ad4ecfb672a7dfaa9bcc6aac68d98a59d2ec5b4f1b1aa6dad0
|
7
|
+
data.tar.gz: 357b1c2b01c2848980fd5307a00fdda27fffe56762b455e5a071067ebcedfccf233562cd098794e8b8fc17484bf47acb6902e7402117cf425923d8dbc7c4f7b5
|
data/CHANGELOG.md
CHANGED
@@ -3,6 +3,9 @@
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
4
4
|
This project *loosely* adheres to [Semantic Versioning](http://semver.org/), even before v1.0.
|
5
5
|
|
6
|
+
## [2.2.7] - 2021-04-30
|
7
|
+
- aws ssm send_command sdk requires string for timeout values
|
8
|
+
|
6
9
|
## [2.2.6] - 2021-04-30
|
7
10
|
- [#15](https://github.com/boltops-tools/sonic/pull/15) execution-timeout and delivery-timeout options and timeout sets both …
|
8
11
|
|
data/lib/sonic/execute.rb
CHANGED
@@ -202,7 +202,7 @@ module Sonic
|
|
202
202
|
|
203
203
|
parameters = { "commands" => command }
|
204
204
|
t = @options[:execution_timeout] || @options[:timeout]
|
205
|
-
parameters[:executionTimeout] = [t] if t # weird but executionTimeout expects an Array
|
205
|
+
parameters[:executionTimeout] = [t.to_s] if t # weird but executionTimeout expects an Array with String element
|
206
206
|
|
207
207
|
options = criteria.merge(
|
208
208
|
document_name: "AWS-RunShellScript", # default
|
@@ -217,7 +217,7 @@ module Sonic
|
|
217
217
|
)
|
218
218
|
|
219
219
|
t = @options[:execution_timeout] || @options[:timeout]
|
220
|
-
options[:timeout_seconds] = t if t
|
220
|
+
options[:timeout_seconds] = t.to_s if t
|
221
221
|
|
222
222
|
settings_options = settings["send_command"] || {}
|
223
223
|
options.merge(settings_options.deep_symbolize_keys)
|
data/lib/sonic/version.rb
CHANGED