miasma 0.2.36 → 0.2.38
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b1b12443a87fc43d5ff3653d64880ad421faca11
|
4
|
+
data.tar.gz: 87a193d3e253bee8e5d8f39d4fa9683b2a189faa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7092f00cef8368c15141e3bb176d176e400ef08fe9f6e9212d3e4d835440f364897f770f4a57101dd22647306ea28535afcc4f263b2bc7c272c06610842bb4e0
|
7
|
+
data.tar.gz: adb1fa35cd4f0a446b6efff296e1170bcaf73a0cfe7d1957aa87d471a22169df31293a3fa10bfc8984c0857990db39da7f88a22ddcb433651c2dcb4c886e7de9
|
data/CHANGELOG.md
CHANGED
@@ -31,7 +31,7 @@ MIASMA_COMPUTE_ABSTRACT = ->{
|
|
31
31
|
|
32
32
|
before do
|
33
33
|
unless($miasma_instance)
|
34
|
-
VCR.use_cassette('
|
34
|
+
VCR.use_cassette('Miasma_Models_Compute_Global/GLOBAL_compute_instance_create') do
|
35
35
|
@instance = compute.servers.build(build_args)
|
36
36
|
@instance.save
|
37
37
|
until(@instance.state == :running)
|
@@ -41,7 +41,7 @@ MIASMA_COMPUTE_ABSTRACT = ->{
|
|
41
41
|
$miasma_instance = @instance
|
42
42
|
end
|
43
43
|
Kernel.at_exit do
|
44
|
-
VCR.use_cassette('
|
44
|
+
VCR.use_cassette('Miasma_Models_Compute_Global/GLOBAL_compute_instance_destroy') do
|
45
45
|
$miasma_instance.destroy
|
46
46
|
end
|
47
47
|
end
|
@@ -31,7 +31,7 @@ MIASMA_LOAD_BALANCER_ABSTRACT = ->{
|
|
31
31
|
|
32
32
|
before do
|
33
33
|
unless($miasma_balancer)
|
34
|
-
VCR.use_cassette('
|
34
|
+
VCR.use_cassette('Miasma_Models_LoadBalancer_Global/GLOBAL_load_balancer_create') do
|
35
35
|
@balancer = load_balancer.balancers.build(build_args)
|
36
36
|
@balancer.save
|
37
37
|
until(@balancer.state == :active)
|
@@ -41,7 +41,7 @@ MIASMA_LOAD_BALANCER_ABSTRACT = ->{
|
|
41
41
|
$miasma_balancer = @balancer
|
42
42
|
end
|
43
43
|
Kernel.at_exit do
|
44
|
-
VCR.use_cassette('
|
44
|
+
VCR.use_cassette('Miasma_Models_LoadBalancer_Global/GLOBAL_load_balancer_destroy') do
|
45
45
|
$miasma_balancer.destroy
|
46
46
|
end
|
47
47
|
end
|
@@ -1,3 +1,5 @@
|
|
1
|
+
require 'timeout'
|
2
|
+
|
1
3
|
MIASMA_ORCHESTRATION_ABSTRACT = ->{
|
2
4
|
|
3
5
|
# Required `let`s:
|
@@ -31,19 +33,21 @@ MIASMA_ORCHESTRATION_ABSTRACT = ->{
|
|
31
33
|
|
32
34
|
before do
|
33
35
|
unless($miasma_stack)
|
34
|
-
VCR.use_cassette('
|
36
|
+
VCR.use_cassette('Miasma_Models_Orchestration_Global/GLOBAL_orchestration_stack_create') do
|
35
37
|
@stack = orchestration.stacks.build(build_args)
|
36
38
|
@stack.save
|
37
|
-
|
38
|
-
|
39
|
-
|
39
|
+
Timeout.timeout(500) do
|
40
|
+
until(@stack.state == :create_complete)
|
41
|
+
miasma_spec_sleep
|
42
|
+
@stack.reload
|
43
|
+
end
|
40
44
|
end
|
41
45
|
@stack.template
|
42
46
|
orchestration.stacks.reload
|
43
47
|
$miasma_stack = @stack
|
44
48
|
end
|
45
49
|
Kernel.at_exit do
|
46
|
-
VCR.use_cassette('
|
50
|
+
VCR.use_cassette('Miasma_Models_Compute_Global/GLOBAL_orchestration_stack_destroy') do
|
47
51
|
$miasma_stack.destroy
|
48
52
|
end
|
49
53
|
end
|
@@ -108,9 +112,11 @@ MIASMA_ORCHESTRATION_ABSTRACT = ->{
|
|
108
112
|
stack.state.must_equal :create_complete
|
109
113
|
stack.destroy
|
110
114
|
[:delete_in_progress, :delete_complete].must_include stack.state
|
111
|
-
|
112
|
-
|
113
|
-
|
115
|
+
Timeout.timeout(500) do
|
116
|
+
until(stack.state == :delete_complete)
|
117
|
+
miasma_spec_sleep
|
118
|
+
stack.reload
|
119
|
+
end
|
114
120
|
end
|
115
121
|
stack.state.must_equal :delete_complete
|
116
122
|
end
|
data/lib/miasma/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: miasma
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.38
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chris Roberts
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-01-
|
11
|
+
date: 2016-01-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: http
|