cloudspin-stack-rake 0.1.13 → 0.1.14
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/cloudspin/stack/rake/stack_task.rb +8 -4
- data/lib/cloudspin/stack/rake/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9ee478496cbc9de0bde65e5c9042368314b4d9933fc8f4faa50d378d52440f37
|
|
4
|
+
data.tar.gz: cfae6c7dfc0fca45d3082d1f7ea75674fbd5f75be26420fd97099086c9647d67
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 28ad525d94a06dc03008cece8aa7b3c470bb0f405b7c2a0d3b4397d84a65f7af4d64735702943d815f60ba2b80e28c9899d57f224f4fde1604c82bb416c9f2d4
|
|
7
|
+
data.tar.gz: 6c283412f94090f2d667116d23d6fee8a0ec97c6de8c32da77a5c0451f5424b2b2bde43a2338413d7a2b490d15662a8d98d2978428a37b2a111a59c1e796652b
|
|
@@ -20,18 +20,18 @@ module Cloudspin
|
|
|
20
20
|
@environment = environment
|
|
21
21
|
@role = role
|
|
22
22
|
@base_folder = base_folder
|
|
23
|
-
@configuration_files = configuration_files ||
|
|
23
|
+
@configuration_files = configuration_files || the_usual_configuration_files
|
|
24
24
|
|
|
25
25
|
@instance = Cloudspin::Stack::Instance.from_folder(
|
|
26
26
|
@configuration_files,
|
|
27
27
|
definition_folder: definition_folder,
|
|
28
|
-
|
|
29
|
-
|
|
28
|
+
base_folder: @base_folder,
|
|
29
|
+
base_working_folder: "#{@base_folder}/work"
|
|
30
30
|
)
|
|
31
31
|
define
|
|
32
32
|
end
|
|
33
33
|
|
|
34
|
-
def
|
|
34
|
+
def the_usual_configuration_files
|
|
35
35
|
file_list = default_configuration_files
|
|
36
36
|
if @environment
|
|
37
37
|
if File.exists? full_path_of(environment_config_file)
|
|
@@ -62,23 +62,27 @@ module Cloudspin
|
|
|
62
62
|
|
|
63
63
|
desc "Create or update stack #{@instance.id}"
|
|
64
64
|
task :up do
|
|
65
|
+
puts @instance.init_dry
|
|
65
66
|
puts @instance.up_dry
|
|
66
67
|
puts @instance.up
|
|
67
68
|
end
|
|
68
69
|
|
|
69
70
|
desc "Plan changes to stack #{@instance.id}"
|
|
70
71
|
task :plan do
|
|
72
|
+
puts @instance.init_dry
|
|
71
73
|
puts @instance.plan_dry
|
|
72
74
|
puts @instance.plan
|
|
73
75
|
end
|
|
74
76
|
|
|
75
77
|
desc "Show command line to be run for stack #{@instance.id}"
|
|
76
78
|
task :dry do
|
|
79
|
+
puts @instance.init_dry
|
|
77
80
|
puts @instance.up_dry
|
|
78
81
|
end
|
|
79
82
|
|
|
80
83
|
desc "Destroy stack #{@instance.id}"
|
|
81
84
|
task :down do
|
|
85
|
+
puts @instance.init_dry
|
|
82
86
|
puts @instance.down_dry
|
|
83
87
|
puts @instance.down
|
|
84
88
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: cloudspin-stack-rake
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.14
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- 'kief '
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2018-09-
|
|
11
|
+
date: 2018-09-24 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: cloudspin-stack
|