hybrid_platforms_conductor 33.0.2 → 33.0.3
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/CHANGELOG.md +6 -0
- data/lib/hybrid_platforms_conductor/deployer.rb +0 -1
- data/lib/hybrid_platforms_conductor/hpc_plugins/provisioner/proxmox.rb +1 -1
- data/lib/hybrid_platforms_conductor/version.rb +1 -1
- data/spec/hybrid_platforms_conductor_test.rb +18 -0
- data/spec/hybrid_platforms_conductor_test/test_connector.rb +1 -0
- 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: eada2aa4c440c2fdfc69fc7f6ec20d2175d4d52d7405bc192ae32cf7a4850f38
|
|
4
|
+
data.tar.gz: a720caa3b3c584a5c354cb787a5374866bfa40f7740ecf727d14db9a271e09d5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5369c44dd7647622a49f8db8c01722ca0ba96ff7c5e7439fb3c4b208faea076513de0ec47fe3f5a6612807680ecff7b7e2962baf3da569c67c3fd8632dfb9a20
|
|
7
|
+
data.tar.gz: 882ca15df05a0a209a7de8f723cc5ddda0a3ea89ce3b5655d6b5c4968e01adc9aa07437bbd17dafe6363331f373776c84fca307e150a53c69ef800926e54ee92
|
data/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
# [v33.0.3](https://github.com/sweet-delights/hybrid-platforms-conductor/compare/v33.0.2...v33.0.3) (2021-06-17 12:42:32)
|
|
2
|
+
|
|
3
|
+
### Patches
|
|
4
|
+
|
|
5
|
+
* [[#49] Corrected minor warnings and added tests that no warning occurs anymore in rspec](https://github.com/sweet-delights/hybrid-platforms-conductor/commit/57e9936da05431ca469a98d7f079211d9278574f)
|
|
6
|
+
|
|
1
7
|
# [v33.0.2](https://github.com/sweet-delights/hybrid-platforms-conductor/compare/v33.0.1...v33.0.2) (2021-06-17 11:15:29)
|
|
2
8
|
|
|
3
9
|
### Patches
|
|
@@ -5,7 +5,6 @@ require 'securerandom'
|
|
|
5
5
|
require 'time'
|
|
6
6
|
require 'hybrid_platforms_conductor/actions_executor'
|
|
7
7
|
require 'hybrid_platforms_conductor/cmd_runner'
|
|
8
|
-
require 'hybrid_platforms_conductor/executable'
|
|
9
8
|
require 'hybrid_platforms_conductor/logger_helpers'
|
|
10
9
|
require 'hybrid_platforms_conductor/nodes_handler'
|
|
11
10
|
require 'hybrid_platforms_conductor/services_handler'
|
|
@@ -221,7 +221,7 @@ module HybridPlatformsConductor
|
|
|
221
221
|
# * *:exited*: The instance has run and is now stopped
|
|
222
222
|
# * *:error*: The instance is in error
|
|
223
223
|
def state
|
|
224
|
-
if @lxc_details.nil?
|
|
224
|
+
if !defined?(@lxc_details) || @lxc_details.nil?
|
|
225
225
|
:missing
|
|
226
226
|
else
|
|
227
227
|
status = nil
|
|
@@ -6,6 +6,7 @@ require 'hybrid_platforms_conductor/actions_executor'
|
|
|
6
6
|
require 'hybrid_platforms_conductor/cmd_runner'
|
|
7
7
|
require 'hybrid_platforms_conductor/credentials'
|
|
8
8
|
require 'hybrid_platforms_conductor/deployer'
|
|
9
|
+
require 'hybrid_platforms_conductor/executable'
|
|
9
10
|
require 'hybrid_platforms_conductor/log'
|
|
10
11
|
require 'hybrid_platforms_conductor/nodes_handler'
|
|
11
12
|
require 'hybrid_platforms_conductor/platform_handler'
|
|
@@ -160,6 +161,23 @@ module HybridPlatformsConductorTest
|
|
|
160
161
|
}
|
|
161
162
|
)
|
|
162
163
|
end
|
|
164
|
+
|
|
165
|
+
config.around do |example|
|
|
166
|
+
# Make sure we activate warnings for the example to be run
|
|
167
|
+
org_warnings = false
|
|
168
|
+
RSpec.configure do |rspec_config|
|
|
169
|
+
org_warnings = rspec_config.warnings?
|
|
170
|
+
rspec_config.warnings = true
|
|
171
|
+
end
|
|
172
|
+
begin
|
|
173
|
+
expect { example.run }.not_to output.to_stderr
|
|
174
|
+
ensure
|
|
175
|
+
RSpec.configure do |rspec_config|
|
|
176
|
+
rspec_config.warnings = org_warnings
|
|
177
|
+
end
|
|
178
|
+
end
|
|
179
|
+
end
|
|
180
|
+
|
|
163
181
|
end
|
|
164
182
|
|
|
165
183
|
private
|