prof 0.34.0 → 0.34.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/prof/cloud_foundry.rb +2 -1
- data/lib/prof/version.rb +1 -1
- metadata +8 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8c0aa1a3fab9ceba2ddf6c569a0b034b10141d45
|
4
|
+
data.tar.gz: 143df456d6006620d5569843b079e3d1e30dc35a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 863d976a83538fffca4779ae14ef6805c0c91ce7fe13b2a282a3cbe14f5d4767fb0fb07e132aae6420ce965a20ea3f411bd37725be85ac4648161c1244ea490b
|
7
|
+
data.tar.gz: b1fa9dafcf7825a9d49134ccaac068441d4f7fe04babcc80d3e0b637ca45cb59d407ba23def1daa1848880b045ab739d73476baaf23056e66dadb0c8c6359bee
|
data/lib/prof/cloud_foundry.rb
CHANGED
@@ -146,6 +146,7 @@ module Prof
|
|
146
146
|
service_instance = ServiceInstance.new
|
147
147
|
|
148
148
|
hula_cloud_foundry.create_service_instance(service.name, service_instance.name, service.plan)
|
149
|
+
wait_for_service_state(service_instance, "create succeeded", "create failed")
|
149
150
|
service_instance.name
|
150
151
|
end
|
151
152
|
|
@@ -174,7 +175,7 @@ module Prof
|
|
174
175
|
def wait_for_service_state(service_instance, expected_state, failure_state)
|
175
176
|
Timeout::timeout(retry_timeout) do
|
176
177
|
loop do
|
177
|
-
status = hula_cloud_foundry.get_service_status(service_instance.name)
|
178
|
+
status = hula_cloud_foundry.get_service_status(service_instance.name, {:allow_failure => true})
|
178
179
|
return if status.include? expected_state
|
179
180
|
raise "Error #{failure_state} occured for service instance: #{service_instance.name}" if status.include? failure_state
|
180
181
|
sleep retry_interval
|
data/lib/prof/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: prof
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.34.
|
4
|
+
version: 0.34.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- CF London
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-04-
|
11
|
+
date: 2017-04-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gem-release
|
@@ -98,16 +98,16 @@ dependencies:
|
|
98
98
|
name: bosh_cli
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
|
-
- - "
|
101
|
+
- - "~>"
|
102
102
|
- !ruby/object:Gem::Version
|
103
|
-
version:
|
103
|
+
version: 1.3215.3
|
104
104
|
type: :runtime
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
|
-
- - "
|
108
|
+
- - "~>"
|
109
109
|
- !ruby/object:Gem::Version
|
110
|
-
version:
|
110
|
+
version: 1.3215.3
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
112
|
name: capybara
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
@@ -212,14 +212,14 @@ dependencies:
|
|
212
212
|
requirements:
|
213
213
|
- - "~>"
|
214
214
|
- !ruby/object:Gem::Version
|
215
|
-
version: 0.9.
|
215
|
+
version: 0.9.2
|
216
216
|
type: :runtime
|
217
217
|
prerelease: false
|
218
218
|
version_requirements: !ruby/object:Gem::Requirement
|
219
219
|
requirements:
|
220
220
|
- - "~>"
|
221
221
|
- !ruby/object:Gem::Version
|
222
|
-
version: 0.9.
|
222
|
+
version: 0.9.2
|
223
223
|
- !ruby/object:Gem::Dependency
|
224
224
|
name: net-ssh-gateway
|
225
225
|
requirement: !ruby/object:Gem::Requirement
|