idlc-sdk-deploy 1.0.0.rc10 → 1.0.0.rc11
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/lib/idlc-sdk-deploy/power.rb +10 -6
- data/lib/idlc-sdk-deploy/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: def8542ad9743389d272759b90a469c8ac02bc5f
|
4
|
+
data.tar.gz: c5a62ed417f7ce27bd26113d7ea8eda0d9c55307
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 39d0049106fcf0b98c06ccedec6bd22e162db3b269d1edbceaa77198aa687485105b90b72dbd34a7fbeb3718301c7e24348932cce7646c932e67949e3f55cd88
|
7
|
+
data.tar.gz: b4cb057d409ce2d591bc384c7b3762acab015601969f2fb2b42f06e9e3f6183412113307327a17473ffaacc332a86e2e003612d0c16f7f4d0f53b6930f8b01aa
|
@@ -7,24 +7,28 @@ module Idlc
|
|
7
7
|
class << self
|
8
8
|
include Idlc::Helpers
|
9
9
|
|
10
|
-
def start_instance(instance)
|
10
|
+
def start_instance(instance, async=false)
|
11
11
|
msg('Starting Instance...')
|
12
12
|
instance.start(
|
13
13
|
dry_run: false
|
14
14
|
)
|
15
|
-
|
16
|
-
|
15
|
+
unless async do
|
16
|
+
obj = instance.wait_until_running
|
17
|
+
msg('Started Instance: ' + get_name(obj.tags))
|
18
|
+
end
|
17
19
|
end
|
18
20
|
|
19
|
-
def stop_instance(instance)
|
21
|
+
def stop_instance(instance, async=false)
|
20
22
|
raise InstanceKeepAlive if keep_alive?(instance.tags)
|
21
23
|
|
22
24
|
msg('Stopping Instance...')
|
23
25
|
instance.stop(
|
24
26
|
dry_run: false
|
25
27
|
)
|
26
|
-
|
27
|
-
|
28
|
+
unless async do
|
29
|
+
obj = instance.wait_until_stopped
|
30
|
+
msg('Stopped Instance: ' + get_name(obj.tags))
|
31
|
+
end
|
28
32
|
end
|
29
33
|
|
30
34
|
def enable_keep_alive(instance)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: idlc-sdk-deploy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.0.
|
4
|
+
version: 1.0.0.rc11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nathan Cazell
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-10-
|
11
|
+
date: 2017-10-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|