kuber_kit 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/example/app_data/docker_compose.yml +6 -0
- data/example/configurations/review.rb +1 -1
- data/example/infrastructure/build_servers.rb +5 -5
- data/example/infrastructure/templates.rb +5 -0
- data/example/services/compose_app.rb +10 -0
- data/example/services/env_file.rb +1 -1
- data/lib/kuber_kit.rb +4 -0
- data/lib/kuber_kit/actions/kubectl_applier.rb +2 -2
- data/lib/kuber_kit/actions/kubectl_attacher.rb +2 -2
- data/lib/kuber_kit/configs.rb +4 -3
- data/lib/kuber_kit/core/configuration.rb +9 -7
- data/lib/kuber_kit/core/configuration_definition.rb +6 -6
- data/lib/kuber_kit/core/configuration_factory.rb +9 -9
- data/lib/kuber_kit/core/image.rb +3 -1
- data/lib/kuber_kit/core/image_definition.rb +3 -1
- data/lib/kuber_kit/core/service.rb +4 -4
- data/lib/kuber_kit/core/service_definition.rb +3 -3
- data/lib/kuber_kit/core/service_factory.rb +6 -6
- data/lib/kuber_kit/service_deployer/strategies/docker_compose.rb +6 -6
- data/lib/kuber_kit/service_deployer/strategies/kubernetes.rb +6 -6
- data/lib/kuber_kit/service_deployer/strategies/kubernetes_runner.rb +7 -7
- data/lib/kuber_kit/service_deployer/strategy_detector.rb +1 -1
- data/lib/kuber_kit/shell/commands/docker_commands.rb +14 -0
- data/lib/kuber_kit/shell/commands/kubectl_commands.rb +4 -4
- data/lib/kuber_kit/shell/local_shell.rb +5 -1
- data/lib/kuber_kit/version.rb +1 -1
- metadata +7 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 339883bd875277f494fdef1fe01035920e6a867ea98394e10c4d08e5a8b5a108
|
4
|
+
data.tar.gz: 96448b7bb059d60e55ec0b8bceb70e1a02b8740773dcdbc4944afa3fafda3192
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 49b5bf9c115c06ab88f67b60bc54f55b254a3a1a4de58ebe0fa834c04b352d8e759ed66747bd98e1d62a8adbb794cbda948dbd324c06165113af29d28ce02aad
|
7
|
+
data.tar.gz: 77354cf127ad50ff4f5f092aeaebfdb7568030ea8120e990dc01eb109a9ca679da83f1124cd5df225d37053ce2abe84d4e9016c0d284b47a323a4d175ba28b40
|
data/Gemfile.lock
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
ENV['SSH_TEST_HOST'] ||= "indocker.artstn.ninja"
|
2
2
|
ENV['SSH_TEST_USER'] ||= "kuber_kit"
|
3
3
|
|
4
|
-
KuberKit.add_build_server(
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
)
|
4
|
+
# KuberKit.add_build_server(
|
5
|
+
# KuberKit::Core::BuildServers::BuildServer
|
6
|
+
# .new(:remote_bs)
|
7
|
+
# .setup(host: ENV['SSH_TEST_HOST'], user: ENV['SSH_TEST_USER'], port: 22)
|
8
|
+
# )
|
@@ -6,4 +6,9 @@ KuberKit.add_template(
|
|
6
6
|
KuberKit.add_template(
|
7
7
|
KuberKit::Core::Templates::ArtifactFile
|
8
8
|
.new(:env_file, artifact_name: :kuber_kit_example_data, file_path: "env_file.yml")
|
9
|
+
)
|
10
|
+
|
11
|
+
KuberKit.add_template(
|
12
|
+
KuberKit::Core::Templates::ArtifactFile
|
13
|
+
.new(:docker_compose, artifact_name: :kuber_kit_example_data, file_path: "docker_compose.yml")
|
9
14
|
)
|
data/lib/kuber_kit.rb
CHANGED
@@ -211,6 +211,10 @@ module KuberKit
|
|
211
211
|
!!@debug_mode
|
212
212
|
end
|
213
213
|
|
214
|
+
def deprecation_warnings_disabled?
|
215
|
+
Container["configs"].deprecation_warnings_disabled
|
216
|
+
end
|
217
|
+
|
214
218
|
def current_configuration
|
215
219
|
if @configuration_name.nil?
|
216
220
|
raise "Please set configuration name before calling current_configuration"
|
@@ -8,9 +8,9 @@ class KuberKit::Actions::KubectlApplier
|
|
8
8
|
Contract String, Hash => Any
|
9
9
|
def call(file_path, options)
|
10
10
|
kubeconfig_path = KuberKit.current_configuration.kubeconfig_path
|
11
|
-
|
11
|
+
deployer_namespace = KuberKit.current_configuration.deployer_namespace
|
12
12
|
ui.create_task("Applying file: #{file_path}") do |task|
|
13
|
-
kubectl_commands.apply_file(local_shell, file_path, kubeconfig_path: kubeconfig_path, namespace:
|
13
|
+
kubectl_commands.apply_file(local_shell, file_path, kubeconfig_path: kubeconfig_path, namespace: deployer_namespace)
|
14
14
|
task.update_title("Applied file: #{file_path}")
|
15
15
|
end
|
16
16
|
|
@@ -8,13 +8,13 @@ class KuberKit::Actions::KubectlAttacher
|
|
8
8
|
Contract String, Hash => Any
|
9
9
|
def call(pod_name, options)
|
10
10
|
kubeconfig_path = KuberKit.current_configuration.kubeconfig_path
|
11
|
-
|
11
|
+
deployer_namespace = KuberKit.current_configuration.deployer_namespace
|
12
12
|
|
13
13
|
kubectl_commands.exec(
|
14
14
|
local_shell, pod_name, "bash", args: "-it",
|
15
15
|
kubeconfig_path: kubeconfig_path,
|
16
16
|
interactive: true,
|
17
|
-
namespace:
|
17
|
+
namespace: deployer_namespace
|
18
18
|
)
|
19
19
|
|
20
20
|
true
|
data/lib/kuber_kit/configs.rb
CHANGED
@@ -4,8 +4,8 @@ class KuberKit::Configs
|
|
4
4
|
AVAILABLE_CONFIGS = [
|
5
5
|
:image_dockerfile_name, :image_build_context_dir, :image_tag, :docker_ignore_list, :image_compile_dir,
|
6
6
|
:kuber_kit_dirname, :kuber_kit_min_version, :images_dirname, :services_dirname, :infra_dirname, :configurations_dirname,
|
7
|
-
:artifact_clone_dir, :service_config_dir, :
|
8
|
-
:additional_images_paths
|
7
|
+
:artifact_clone_dir, :service_config_dir, :deployer_strategy, :compile_simultaneous_limit,
|
8
|
+
:additional_images_paths, :deprecation_warnings_disabled
|
9
9
|
]
|
10
10
|
DOCKER_IGNORE_LIST = [
|
11
11
|
'Dockerfile',
|
@@ -47,9 +47,10 @@ class KuberKit::Configs
|
|
47
47
|
set :configurations_dirname, "configurations"
|
48
48
|
set :artifact_clone_dir, "/tmp/kuber_kit/artifacts"
|
49
49
|
set :service_config_dir, "/tmp/kuber_kit/services"
|
50
|
-
set :
|
50
|
+
set :deployer_strategy, :kubernetes
|
51
51
|
set :compile_simultaneous_limit, 5
|
52
52
|
set :additional_images_paths, []
|
53
|
+
set :deprecation_warnings_disabled, false
|
53
54
|
end
|
54
55
|
|
55
56
|
def items
|
@@ -1,6 +1,6 @@
|
|
1
1
|
class KuberKit::Core::Configuration
|
2
2
|
attr_reader :name, :artifacts, :registries, :env_files, :templates, :kubeconfig_path,
|
3
|
-
:
|
3
|
+
:deployer_strategy, :deployer_namespace, :services_attributes, :build_servers,
|
4
4
|
:global_build_vars
|
5
5
|
|
6
6
|
Contract KeywordArgs[
|
@@ -10,14 +10,14 @@ class KuberKit::Core::Configuration
|
|
10
10
|
env_files: Hash,
|
11
11
|
templates: Hash,
|
12
12
|
kubeconfig_path: Maybe[String],
|
13
|
-
|
14
|
-
|
13
|
+
deployer_strategy: Symbol,
|
14
|
+
deployer_namespace: Maybe[Symbol],
|
15
15
|
services_attributes: HashOf[Symbol => Hash],
|
16
16
|
build_servers: ArrayOf[KuberKit::Core::BuildServers::AbstractBuildServer],
|
17
17
|
global_build_vars: HashOf[Symbol => Any],
|
18
18
|
] => Any
|
19
19
|
def initialize(name:, artifacts:, registries:, env_files:, templates:, kubeconfig_path:,
|
20
|
-
|
20
|
+
deployer_strategy:, deployer_namespace:, services_attributes:, build_servers:,
|
21
21
|
global_build_vars:)
|
22
22
|
@name = name
|
23
23
|
@artifacts = artifacts
|
@@ -25,8 +25,8 @@ class KuberKit::Core::Configuration
|
|
25
25
|
@env_files = env_files
|
26
26
|
@templates = templates
|
27
27
|
@kubeconfig_path = kubeconfig_path
|
28
|
-
@
|
29
|
-
@
|
28
|
+
@deployer_strategy = deployer_strategy
|
29
|
+
@deployer_namespace = deployer_namespace
|
30
30
|
@build_servers = build_servers
|
31
31
|
@services_attributes = services_attributes
|
32
32
|
@global_build_vars = global_build_vars
|
@@ -37,7 +37,9 @@ class KuberKit::Core::Configuration
|
|
37
37
|
end
|
38
38
|
|
39
39
|
def global_build_args
|
40
|
-
|
40
|
+
unless KuberKit.deprecation_warnings_disabled?
|
41
|
+
puts "DEPRECATION: global_build_args is deprecated, please use global_build_vars instead"
|
42
|
+
end
|
41
43
|
global_build_vars
|
42
44
|
end
|
43
45
|
end
|
@@ -23,8 +23,8 @@ class KuberKit::Core::ConfigurationDefinition
|
|
23
23
|
env_files: @env_files,
|
24
24
|
templates: @templates,
|
25
25
|
kubeconfig_path: @kubeconfig_path,
|
26
|
-
|
27
|
-
|
26
|
+
deployer_strategy: @deployer_strategy,
|
27
|
+
deployer_namespace: @deployer_namespace,
|
28
28
|
enabled_services: @enabled_services,
|
29
29
|
build_servers: @build_servers,
|
30
30
|
services_attributes: @services_attributes,
|
@@ -82,14 +82,14 @@ class KuberKit::Core::ConfigurationDefinition
|
|
82
82
|
self
|
83
83
|
end
|
84
84
|
|
85
|
-
def
|
86
|
-
@
|
85
|
+
def deployer_namespace(namespace)
|
86
|
+
@deployer_namespace = namespace
|
87
87
|
|
88
88
|
self
|
89
89
|
end
|
90
90
|
|
91
|
-
def
|
92
|
-
@
|
91
|
+
def deployer_strategy(path)
|
92
|
+
@deployer_strategy = path
|
93
93
|
|
94
94
|
self
|
95
95
|
end
|
@@ -20,15 +20,15 @@ class KuberKit::Core::ConfigurationFactory
|
|
20
20
|
build_servers = fetch_build_servers(configuration_attrs.build_servers)
|
21
21
|
|
22
22
|
KuberKit::Core::Configuration.new(
|
23
|
-
name:
|
24
|
-
artifacts:
|
25
|
-
registries:
|
26
|
-
env_files:
|
27
|
-
templates:
|
28
|
-
kubeconfig_path:
|
29
|
-
|
30
|
-
|
31
|
-
build_servers:
|
23
|
+
name: configuration_attrs.name,
|
24
|
+
artifacts: artifacts,
|
25
|
+
registries: registries,
|
26
|
+
env_files: env_files,
|
27
|
+
templates: templates,
|
28
|
+
kubeconfig_path: configuration_attrs.kubeconfig_path,
|
29
|
+
deployer_strategy: configuration_attrs.deployer_strategy || configs.deployer_strategy,
|
30
|
+
deployer_namespace: configuration_attrs.deployer_namespace,
|
31
|
+
build_servers: build_servers,
|
32
32
|
services_attributes: configuration_attrs.services_attributes,
|
33
33
|
global_build_vars: configuration_attrs.global_build_vars || {},
|
34
34
|
)
|
data/lib/kuber_kit/core/image.rb
CHANGED
@@ -33,7 +33,9 @@ class KuberKit::Core::Image
|
|
33
33
|
end
|
34
34
|
|
35
35
|
def build_args
|
36
|
-
|
36
|
+
unless KuberKit.deprecation_warnings_disabled?
|
37
|
+
puts "WARNING: build_args is deprecated, please use build_vars instead"
|
38
|
+
end
|
37
39
|
build_vars
|
38
40
|
end
|
39
41
|
end
|
@@ -44,7 +44,9 @@ class KuberKit::Core::ImageDefinition
|
|
44
44
|
end
|
45
45
|
|
46
46
|
def build_args(value = nil, &block)
|
47
|
-
|
47
|
+
unless KuberKit.deprecation_warnings_disabled?
|
48
|
+
puts "WARNING: build_args is deprecated, please use build_vars instead"
|
49
|
+
end
|
48
50
|
build_vars(value, *block)
|
49
51
|
end
|
50
52
|
|
@@ -1,7 +1,7 @@
|
|
1
1
|
class KuberKit::Core::Service
|
2
2
|
AttributeNotSet = Class.new(Indocker::Error)
|
3
3
|
|
4
|
-
attr_reader :name, :template_name, :tags, :images, :attributes, :
|
4
|
+
attr_reader :name, :template_name, :tags, :images, :attributes, :deployer_strategy
|
5
5
|
|
6
6
|
Contract KeywordArgs[
|
7
7
|
name: Symbol,
|
@@ -9,15 +9,15 @@ class KuberKit::Core::Service
|
|
9
9
|
tags: ArrayOf[Symbol],
|
10
10
|
images: ArrayOf[Symbol],
|
11
11
|
attributes: HashOf[Symbol => Any],
|
12
|
-
|
12
|
+
deployer_strategy: Maybe[Symbol]
|
13
13
|
] => Any
|
14
|
-
def initialize(name:, template_name:, tags:, images:, attributes:,
|
14
|
+
def initialize(name:, template_name:, tags:, images:, attributes:, deployer_strategy:)
|
15
15
|
@name = name
|
16
16
|
@template_name = template_name
|
17
17
|
@tags = tags
|
18
18
|
@images = images
|
19
19
|
@attributes = attributes
|
20
|
-
@
|
20
|
+
@deployer_strategy = deployer_strategy
|
21
21
|
end
|
22
22
|
|
23
23
|
def uri
|
@@ -13,7 +13,7 @@ class KuberKit::Core::ServiceDefinition
|
|
13
13
|
tags: Array(get_value(@tags)).map(&:to_sym),
|
14
14
|
images: Array(get_value(@images)).map(&:to_sym),
|
15
15
|
attributes: get_value(@attributes),
|
16
|
-
|
16
|
+
deployer_strategy: get_value(@deployer_strategy),
|
17
17
|
)
|
18
18
|
end
|
19
19
|
|
@@ -41,8 +41,8 @@ class KuberKit::Core::ServiceDefinition
|
|
41
41
|
self
|
42
42
|
end
|
43
43
|
|
44
|
-
def
|
45
|
-
@
|
44
|
+
def deployer_strategy(value = nil, &block)
|
45
|
+
@deployer_strategy = block_given? ? block : value
|
46
46
|
|
47
47
|
self
|
48
48
|
end
|
@@ -12,12 +12,12 @@ class KuberKit::Core::ServiceFactory
|
|
12
12
|
attributes = (service_attrs.attributes || {}).merge(configuration_attributes)
|
13
13
|
|
14
14
|
KuberKit::Core::Service.new(
|
15
|
-
name:
|
16
|
-
template_name:
|
17
|
-
tags:
|
18
|
-
images:
|
19
|
-
attributes:
|
20
|
-
|
15
|
+
name: service_attrs.name,
|
16
|
+
template_name: service_attrs.template_name,
|
17
|
+
tags: service_attrs.tags,
|
18
|
+
images: service_attrs.images,
|
19
|
+
attributes: attributes,
|
20
|
+
deployer_strategy: service_attrs.deployer_strategy,
|
21
21
|
)
|
22
22
|
end
|
23
23
|
end
|
@@ -11,14 +11,14 @@ class KuberKit::ServiceDeployer::Strategies::DockerCompose < KuberKit::ServiceDe
|
|
11
11
|
config_path = "#{configs.service_config_dir}/#{service.name}.yml"
|
12
12
|
shell.write(config_path, service_config)
|
13
13
|
|
14
|
-
|
15
|
-
|
16
|
-
|
14
|
+
deployer_service_name = service.attribute(:deployer_service_name, default: service.name.to_s)
|
15
|
+
deployer_command_name = service.attribute(:deployer_command_name, default: "bash")
|
16
|
+
deployer_interactive = service.attribute(:deployer_interactive, default: false)
|
17
17
|
|
18
18
|
docker_compose_commands.run(shell, config_path,
|
19
|
-
service:
|
20
|
-
command:
|
21
|
-
interactive:
|
19
|
+
service: deployer_service_name,
|
20
|
+
command: deployer_command_name,
|
21
|
+
interactive: deployer_interactive
|
22
22
|
)
|
23
23
|
end
|
24
24
|
end
|
@@ -12,14 +12,14 @@ class KuberKit::ServiceDeployer::Strategies::Kubernetes < KuberKit::ServiceDeplo
|
|
12
12
|
shell.write(config_path, service_config)
|
13
13
|
|
14
14
|
kubeconfig_path = KuberKit.current_configuration.kubeconfig_path
|
15
|
-
|
15
|
+
deployer_namespace = KuberKit.current_configuration.deployer_namespace
|
16
16
|
|
17
|
-
kubectl_commands.apply_file(shell, config_path, kubeconfig_path: kubeconfig_path, namespace:
|
17
|
+
kubectl_commands.apply_file(shell, config_path, kubeconfig_path: kubeconfig_path, namespace: deployer_namespace)
|
18
18
|
|
19
|
-
|
20
|
-
|
21
|
-
if
|
22
|
-
kubectl_commands.rolling_restart(shell,
|
19
|
+
deployer_restart_enabled = service.attribute(:deployer_restart_enabled, default: true)
|
20
|
+
deployer_restart_name = service.attribute(:deployer_restart_name, default: service.uri)
|
21
|
+
if deployer_restart_enabled
|
22
|
+
kubectl_commands.rolling_restart(shell, deployer_restart_name, kubeconfig_path: kubeconfig_path, namespace: deployer_namespace)
|
23
23
|
end
|
24
24
|
end
|
25
25
|
end
|
@@ -12,17 +12,17 @@ class KuberKit::ServiceDeployer::Strategies::KubernetesRunner < KuberKit::Servic
|
|
12
12
|
shell.write(config_path, service_config)
|
13
13
|
|
14
14
|
kubeconfig_path = KuberKit.current_configuration.kubeconfig_path
|
15
|
-
|
15
|
+
deployer_namespace = KuberKit.current_configuration.deployer_namespace
|
16
16
|
|
17
|
-
|
18
|
-
|
17
|
+
deployer_resource_name = service.attribute(:deployer_resource_name, default: service.uri)
|
18
|
+
deployer_resource_type = service.attribute(:deployer_resource_type, default: "job")
|
19
19
|
|
20
|
-
|
21
|
-
if
|
22
|
-
delete_resource_if_exists(shell,
|
20
|
+
deployer_delete_enabled = service.attribute(:deployer_delete_enabled, default: true)
|
21
|
+
if deployer_delete_enabled
|
22
|
+
delete_resource_if_exists(shell, deployer_resource_type, deployer_resource_name, kubeconfig_path: kubeconfig_path, namespace: deployer_namespace)
|
23
23
|
end
|
24
24
|
|
25
|
-
kubectl_commands.apply_file(shell, config_path, kubeconfig_path: kubeconfig_path, namespace:
|
25
|
+
kubectl_commands.apply_file(shell, config_path, kubeconfig_path: kubeconfig_path, namespace: deployer_namespace)
|
26
26
|
end
|
27
27
|
|
28
28
|
private
|
@@ -1,6 +1,6 @@
|
|
1
1
|
class KuberKit::ServiceDeployer::StrategyDetector
|
2
2
|
Contract KuberKit::Core::Service => Symbol
|
3
3
|
def call(service)
|
4
|
-
service.
|
4
|
+
service.deployer_strategy || KuberKit.current_configuration.deployer_strategy
|
5
5
|
end
|
6
6
|
end
|
@@ -13,4 +13,18 @@ class KuberKit::Shell::Commands::DockerCommands
|
|
13
13
|
def push(shell, tag_name)
|
14
14
|
shell.exec!(%Q{docker push #{tag_name}})
|
15
15
|
end
|
16
|
+
|
17
|
+
def get_container_id(shell, container_name, only_healthy: false, status: "running")
|
18
|
+
command_parts = []
|
19
|
+
command_parts << "docker ps -a -q"
|
20
|
+
|
21
|
+
if only_healthy
|
22
|
+
command_parts << "--filter=\"health=healthy\""
|
23
|
+
end
|
24
|
+
|
25
|
+
command_parts << "--filter=\"status=#{status}\""
|
26
|
+
command_parts << "--filter=\"name=#{container_name}\""
|
27
|
+
|
28
|
+
shell.exec!(command_parts.join(" "))
|
29
|
+
end
|
16
30
|
end
|
@@ -57,8 +57,8 @@ class KuberKit::Shell::Commands::KubectlCommands
|
|
57
57
|
kubectl_run(shell, command, kubeconfig_path: kubeconfig_path, namespace: namespace)
|
58
58
|
end
|
59
59
|
|
60
|
-
def rolling_restart(shell,
|
61
|
-
patch_deployment(shell,
|
60
|
+
def rolling_restart(shell, deployer_name, kubeconfig_path: nil, namespace: nil)
|
61
|
+
patch_deployment(shell, deployer_name, {
|
62
62
|
spec: {
|
63
63
|
template: {
|
64
64
|
metadata: {
|
@@ -71,10 +71,10 @@ class KuberKit::Shell::Commands::KubectlCommands
|
|
71
71
|
}, kubeconfig_path: kubeconfig_path, namespace: namespace)
|
72
72
|
end
|
73
73
|
|
74
|
-
def patch_deployment(shell,
|
74
|
+
def patch_deployment(shell, deployer_name, specs, kubeconfig_path: nil, namespace: nil)
|
75
75
|
specs_json = JSON.dump(specs).gsub('"', '\"')
|
76
76
|
|
77
|
-
command = %Q{patch deployment #{
|
77
|
+
command = %Q{patch deployment #{deployer_name} -p "#{specs_json}"}
|
78
78
|
|
79
79
|
kubectl_run(shell, command, kubeconfig_path: kubeconfig_path, namespace: namespace)
|
80
80
|
end
|
@@ -37,7 +37,11 @@ class KuberKit::Shell::LocalShell < KuberKit::Shell::AbstractShell
|
|
37
37
|
logger.info("Interactive: [#{command_number}]: #{command.to_s.cyan}")
|
38
38
|
end
|
39
39
|
|
40
|
-
system(command)
|
40
|
+
result = system(command)
|
41
|
+
|
42
|
+
if !$?.success?
|
43
|
+
raise ShellError, "Shell command failed: #{command}\r\n#{result}"
|
44
|
+
end
|
41
45
|
end
|
42
46
|
|
43
47
|
def sync(local_path, remote_path, exclude: nil, delete: true)
|
data/lib/kuber_kit/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kuber_kit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Iskander Khaziev
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-12-
|
11
|
+
date: 2020-12-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: contracts-lite
|
@@ -158,6 +158,7 @@ files:
|
|
158
158
|
- TODO.md
|
159
159
|
- bin/console
|
160
160
|
- bin/kit
|
161
|
+
- example/app_data/docker_compose.yml
|
161
162
|
- example/app_data/env_file.yml
|
162
163
|
- example/app_data/service.yml
|
163
164
|
- example/app_data/test.env
|
@@ -180,6 +181,7 @@ files:
|
|
180
181
|
- example/infrastructure/env_files.rb
|
181
182
|
- example/infrastructure/registries.rb
|
182
183
|
- example/infrastructure/templates.rb
|
184
|
+
- example/services/compose_app.rb
|
183
185
|
- example/services/env_file.rb
|
184
186
|
- example/services/ruby_app.rb
|
185
187
|
- kuber_kit.gemspec
|
@@ -289,7 +291,7 @@ homepage: https://github.com/ArtStation/kuber_kit
|
|
289
291
|
licenses:
|
290
292
|
- MIT
|
291
293
|
metadata: {}
|
292
|
-
post_install_message:
|
294
|
+
post_install_message:
|
293
295
|
rdoc_options: []
|
294
296
|
require_paths:
|
295
297
|
- lib
|
@@ -305,7 +307,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
305
307
|
version: '0'
|
306
308
|
requirements: []
|
307
309
|
rubygems_version: 3.0.8
|
308
|
-
signing_key:
|
310
|
+
signing_key:
|
309
311
|
specification_version: 4
|
310
312
|
summary: Docker Containers Build & Deployment
|
311
313
|
test_files: []
|