ciinabox-ecs 0.2.12.alpha.1531450459 → 0.2.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +0 -1
- data/Rakefile +0 -27
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fe70452e6f6c88a2959bc8ed35c984e7dadb23d4a81e22337fb8aba0c53826ca
|
4
|
+
data.tar.gz: 8805d841724069343288be075dfdc51e80cb603b5f6aaac8b8fe51cba69d7d7c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8070f683a00f084631810e6e9ad5dc9e08eae5c492103af4d3641b309c1e2332ca87afe459b6b23827304ceee093da3e4fca8d49e6d09fd7e1939515dd2c6409
|
7
|
+
data.tar.gz: 7803a977e06398e749be91ffaacf25ba699f307bbdef34de726cd2aa045f817d08a1f7b0e6ed431caeb28ea339d1b9500ec8e07ccec2f34d2d50b22ab835e8fa
|
data/README.md
CHANGED
@@ -51,7 +51,6 @@ up |Turn on your ciinabox environment
|
|
51
51
|
update |Updates the ciinabox environment
|
52
52
|
update_cert_to_acm |Replace previously auto-generated IAM certificate with auto-validated ACM certificate (if one exists)
|
53
53
|
upload_server_cert |Uploads SSL server certs for ciinabox
|
54
|
-
watch |Monitors status of the active ciinabox until failed or successful
|
55
54
|
|
56
55
|
```
|
57
56
|
|
data/Rakefile
CHANGED
@@ -231,33 +231,6 @@ namespace :ciinabox do
|
|
231
231
|
end
|
232
232
|
end
|
233
233
|
|
234
|
-
desc('Watches the status of the active ciinabox')
|
235
|
-
task :watch do
|
236
|
-
last_status = ""
|
237
|
-
while true
|
238
|
-
check_active_ciinabox(config)
|
239
|
-
status, result = aws_execute(config, ['cloudformation', 'describe-stacks', "--stack-name #{stack_name}", '--query "Stacks[0].StackStatus"', '--out text'])
|
240
|
-
if status != 0
|
241
|
-
puts "fail to get status for #{config['ciinabox_name']}...has it been created?"
|
242
|
-
exit 1
|
243
|
-
end
|
244
|
-
output = result.chop!
|
245
|
-
next if last_status == output
|
246
|
-
if output == 'CREATE_COMPLETE' || output == 'UPDATE_COMPLETE'
|
247
|
-
puts Time.now.strftime("%Y/%m/%d %H:%M") + " #{config['ciinabox_name']} ciinabox is alive!!!!"
|
248
|
-
display_ecs_ip_address config
|
249
|
-
exit 0
|
250
|
-
elsif output == 'ROLLBACK_COMPLETE'
|
251
|
-
puts Time.now.strftime("%Y/%m/%d %H:%M") + " #{config['ciinabox_name']} ciinabox has failed and rolled back"
|
252
|
-
exit 1
|
253
|
-
else
|
254
|
-
puts Time.now.strftime("%Y/%m/%d %H:%M") + " #{config['ciinabox_name']} ciinabox is in state: #{output}"
|
255
|
-
end
|
256
|
-
last_status = output
|
257
|
-
sleep(4)
|
258
|
-
end
|
259
|
-
end
|
260
|
-
|
261
234
|
desc('Create self-signed SSL certs for use with ciinabox')
|
262
235
|
task :create_server_cert do
|
263
236
|
check_active_ciinabox(config)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ciinabox-ecs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.12
|
4
|
+
version: 0.2.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Base2Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-07-
|
11
|
+
date: 2018-07-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -163,9 +163,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
163
163
|
version: '0'
|
164
164
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
165
165
|
requirements:
|
166
|
-
- - "
|
166
|
+
- - ">="
|
167
167
|
- !ruby/object:Gem::Version
|
168
|
-
version:
|
168
|
+
version: '0'
|
169
169
|
requirements: []
|
170
170
|
rubyforge_project:
|
171
171
|
rubygems_version: 2.7.7
|