cloudspin-stack-rake 0.1.20 → 0.1.21
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cloudspin/stack/rake/stack_task.rb +1 -5
- data/lib/cloudspin/stack/rake/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bfdee94ff7d42b433c20b9b0d04ab2dcf13fae5651c67d8b1ce117f986413b6b
|
4
|
+
data.tar.gz: dcea5f1290aa4baf959506004a2b687ca2e481780650c0ad91b5d1a489a8c5ee
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 65449f65ca1348c6704ade3d3408e3d9473aebca36416c928439c94452927a11905705c4aea5ffca817e3f5b53dde417c0911253628b7953749ab84fb63c3589
|
7
|
+
data.tar.gz: 9855ad8d2aa0be168fa60386816a59c837301b1adf2cf1cdfe5ebd6ebe824124de427bc8676ca644dcf81ba7bea0a52a57d252c431e45cb90d544e830156cef1
|
@@ -6,18 +6,15 @@ module Cloudspin
|
|
6
6
|
class StackTask < ::Rake::TaskLib
|
7
7
|
|
8
8
|
attr_reader :environment
|
9
|
-
attr_reader :stack_name
|
10
9
|
attr_reader :configuration_files
|
11
10
|
|
12
11
|
def initialize(
|
13
12
|
environment = nil,
|
14
|
-
stack_name: 'instance',
|
15
13
|
definition_location: nil,
|
16
14
|
base_folder: '.',
|
17
15
|
configuration_files: nil
|
18
16
|
)
|
19
17
|
@environment = environment
|
20
|
-
@stack_name = stack_name
|
21
18
|
@base_folder = base_folder
|
22
19
|
set_configuration_files(configuration_files)
|
23
20
|
|
@@ -56,7 +53,7 @@ module Cloudspin
|
|
56
53
|
end
|
57
54
|
|
58
55
|
def environment_config_file
|
59
|
-
"#{@base_folder}/environments/stack-#{@
|
56
|
+
"#{@base_folder}/environments/stack-instance-#{@environment}.yaml"
|
60
57
|
end
|
61
58
|
|
62
59
|
def full_path_of(supplied_path)
|
@@ -100,7 +97,6 @@ module Cloudspin
|
|
100
97
|
def instance
|
101
98
|
@instance ||= Cloudspin::Stack::Instance.from_folder(
|
102
99
|
@configuration_files,
|
103
|
-
stack_name: stack_name,
|
104
100
|
definition_location: @definition_location,
|
105
101
|
base_folder: @base_folder,
|
106
102
|
base_working_folder: "#{@base_folder}/work"
|