domed-city 1.5.0 → 1.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/dome +12 -8
- data/lib/dome/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0c3744e4574c8922f3db02b78c7f4ab8f3b0d5bc
|
4
|
+
data.tar.gz: 19270a36a3a01f55403c5365620c43ebf6b5dd94
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2e2879da19f7b9e31eebd95602b6fc195fbbe200a7f1bedb9e0f2b06d62119a51ca9f8d9bd9e17f0d576ff55cdd83124fea26db81d81c19fecb51cb15a23d8b7
|
7
|
+
data.tar.gz: eae4473b1fc0830b004029912cf64aafe5338f9a5342d1394eb3b3f9885221796b0ea85f4b111c1af7091db6857b1caca4051e1bc316d605c10c9ca7b980d434
|
data/bin/dome
CHANGED
@@ -24,12 +24,16 @@ Trollop.educate unless opts.has_value?(true)
|
|
24
24
|
@dome = Dome::Terraform.new
|
25
25
|
@dome.validate_environment
|
26
26
|
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
27
|
+
begin
|
28
|
+
if opts[:plan]
|
29
|
+
@dome.plan
|
30
|
+
elsif opts[:apply]
|
31
|
+
@dome.apply
|
32
|
+
elsif opts[:state]
|
33
|
+
@dome.state.s3_state
|
34
|
+
elsif opts[:output]
|
35
|
+
@dome.output
|
36
|
+
end
|
37
|
+
rescue Interrupt
|
38
|
+
puts "\ndome execution interrupted!".colorize(:red)
|
35
39
|
end
|
data/lib/dome/version.rb
CHANGED