magellan-cli 0.2.6 → 0.2.7
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 73d1f40fdfc7506bd3896f983666f347ee1dbb53
|
4
|
+
data.tar.gz: 7bdf741e09e11d6daf57dd229faf3e12bd731956
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cc40cac7fead1cc17822544c2a138f68837d760868b69e326d9cf90140e834d3556630354bd4658f99bf3ffd168841941c5aa4c0b8c3e1e92d5c999f6db61e9e
|
7
|
+
data.tar.gz: e90258063827ea1c377d56f85a8d574e3f60a6016ec9aa7f9b054e4c061ef4443dc4b0ba5d763e6ee92e27cc5fa1cf4791071f22e8d8de61b9b593406c6be0d7
|
data/Gemfile.lock
CHANGED
@@ -12,8 +12,7 @@ module Magellan
|
|
12
12
|
self.multiline_fields = %w[docker_properties_json links_yaml publishings_yaml volumes_yaml env_yaml].map(&:freeze).freeze
|
13
13
|
self.field_associations = {
|
14
14
|
"stage_version_id" => {name: "stage", resource: "stage~version"},
|
15
|
-
"container_image_id" => {name: "image", class: "
|
16
|
-
# "container_assignment_id" => {name: "assignment", class: "ContainerAssignment"},
|
15
|
+
"container_image_id" => {name: "image", class: "Image"},
|
17
16
|
}
|
18
17
|
end
|
19
18
|
|
@@ -75,7 +75,7 @@ module Magellan
|
|
75
75
|
s = load_selection("stage")
|
76
76
|
id = s["id"]
|
77
77
|
r = post_json("/admin/stage~title/#{id}/simple_method_call.json", {method_name: "prepare_containers"})
|
78
|
-
|
78
|
+
Container.new.show_list(r["result"])
|
79
79
|
end
|
80
80
|
|
81
81
|
desc "update ATTRIBUTES", "update stage with ATTRIBUTES"
|
@@ -12,7 +12,7 @@ module Magellan
|
|
12
12
|
self.multiline_fields = %w[migration_command_1 migration_command_2 run_command environment_vars_yaml].map(&:freeze).freeze
|
13
13
|
self.field_associations = {"stage_version_id" => {name: "stage", resource: "stage~version"} }
|
14
14
|
|
15
|
-
desc "create NAME, IMAGE", "create
|
15
|
+
desc "create NAME, IMAGE", "create Worker with NAME, IMAGE"
|
16
16
|
method_option :attributes_yaml, aliases: "-A", desc: "path to YAML file which defines attributes"
|
17
17
|
def create(name, image_name)
|
18
18
|
s = load_selection("stage-version")
|
data/lib/magellan/cli/version.rb
CHANGED