kuber_kit 0.5.1 → 0.5.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +21 -0
- data/Gemfile.lock +5 -5
- data/TODO.md +5 -5
- data/example/configurations/review.rb +1 -1
- data/example/services/docker_app.rb +2 -1
- data/example/services/env_file.rb +1 -1
- data/example/services/ruby_app.rb +2 -1
- data/lib/kuber_kit.rb +10 -0
- data/lib/kuber_kit/actions/kubectl_get.rb +32 -0
- data/lib/kuber_kit/actions/service_checker.rb +5 -0
- data/lib/kuber_kit/actions/service_deployer.rb +85 -61
- data/lib/kuber_kit/cli.rb +14 -3
- data/lib/kuber_kit/configs.rb +10 -6
- data/lib/kuber_kit/container.rb +20 -0
- data/lib/kuber_kit/core/artifacts/artifact_store.rb +3 -0
- data/lib/kuber_kit/core/configuration.rb +4 -2
- data/lib/kuber_kit/core/configuration_definition.rb +7 -0
- data/lib/kuber_kit/core/configuration_factory.rb +1 -0
- data/lib/kuber_kit/core/dependencies/abstract_dependency_resolver.rb +75 -0
- data/lib/kuber_kit/core/env_files/abstract_env_file.rb +4 -0
- data/lib/kuber_kit/core/env_files/artifact_file.rb +4 -0
- data/lib/kuber_kit/core/env_files/env_file_store.rb +3 -0
- data/lib/kuber_kit/core/env_files/env_group.rb +12 -0
- data/lib/kuber_kit/core/image.rb +2 -1
- data/lib/kuber_kit/core/registries/registry_store.rb +3 -0
- data/lib/kuber_kit/core/service.rb +4 -2
- data/lib/kuber_kit/core/service_definition.rb +13 -6
- data/lib/kuber_kit/core/service_factory.rb +1 -0
- data/lib/kuber_kit/core/templates/template_store.rb +3 -0
- data/lib/kuber_kit/env_file_reader/env_file_parser.rb +51 -0
- data/lib/kuber_kit/env_file_reader/env_file_tempfile_creator.rb +17 -0
- data/lib/kuber_kit/env_file_reader/reader.rb +2 -0
- data/lib/kuber_kit/env_file_reader/strategies/artifact_file.rb +9 -65
- data/lib/kuber_kit/env_file_reader/strategies/env_group.rb +21 -0
- data/lib/kuber_kit/image_compiler/image_dependency_resolver.rb +5 -53
- data/lib/kuber_kit/service_deployer/service_dependency_resolver.rb +14 -0
- data/lib/kuber_kit/service_deployer/service_list_resolver.rb +11 -6
- data/lib/kuber_kit/service_deployer/strategies/docker.rb +31 -12
- data/lib/kuber_kit/service_deployer/strategies/kubernetes.rb +9 -2
- data/lib/kuber_kit/shell/commands/kubectl_commands.rb +8 -0
- data/lib/kuber_kit/shell/local_shell.rb +15 -1
- data/lib/kuber_kit/template_reader/strategies/artifact_file.rb +3 -3
- data/lib/kuber_kit/tools/logger_factory.rb +14 -0
- data/lib/kuber_kit/version.rb +1 -1
- metadata +10 -2
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.5.
|
4
|
+
version: 0.5.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Iskander Khaziev
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-06-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: contracts-lite
|
@@ -165,6 +165,7 @@ files:
|
|
165
165
|
- ".ruby-gemset"
|
166
166
|
- ".ruby-version"
|
167
167
|
- ".travis.yml"
|
168
|
+
- CHANGELOG.md
|
168
169
|
- Gemfile
|
169
170
|
- Gemfile.lock
|
170
171
|
- LICENSE.txt
|
@@ -210,6 +211,7 @@ files:
|
|
210
211
|
- lib/kuber_kit/actions/kubectl_console.rb
|
211
212
|
- lib/kuber_kit/actions/kubectl_describe.rb
|
212
213
|
- lib/kuber_kit/actions/kubectl_env.rb
|
214
|
+
- lib/kuber_kit/actions/kubectl_get.rb
|
213
215
|
- lib/kuber_kit/actions/kubectl_logs.rb
|
214
216
|
- lib/kuber_kit/actions/service_checker.rb
|
215
217
|
- lib/kuber_kit/actions/service_deployer.rb
|
@@ -239,9 +241,11 @@ files:
|
|
239
241
|
- lib/kuber_kit/core/context_helper/context_vars.rb
|
240
242
|
- lib/kuber_kit/core/context_helper/image_helper.rb
|
241
243
|
- lib/kuber_kit/core/context_helper/service_helper.rb
|
244
|
+
- lib/kuber_kit/core/dependencies/abstract_dependency_resolver.rb
|
242
245
|
- lib/kuber_kit/core/env_files/abstract_env_file.rb
|
243
246
|
- lib/kuber_kit/core/env_files/artifact_file.rb
|
244
247
|
- lib/kuber_kit/core/env_files/env_file_store.rb
|
248
|
+
- lib/kuber_kit/core/env_files/env_group.rb
|
245
249
|
- lib/kuber_kit/core/image.rb
|
246
250
|
- lib/kuber_kit/core/image_definition.rb
|
247
251
|
- lib/kuber_kit/core/image_definition_factory.rb
|
@@ -260,9 +264,12 @@ files:
|
|
260
264
|
- lib/kuber_kit/core/templates/artifact_file.rb
|
261
265
|
- lib/kuber_kit/core/templates/template_store.rb
|
262
266
|
- lib/kuber_kit/env_file_reader/action_handler.rb
|
267
|
+
- lib/kuber_kit/env_file_reader/env_file_parser.rb
|
268
|
+
- lib/kuber_kit/env_file_reader/env_file_tempfile_creator.rb
|
263
269
|
- lib/kuber_kit/env_file_reader/reader.rb
|
264
270
|
- lib/kuber_kit/env_file_reader/strategies/abstract.rb
|
265
271
|
- lib/kuber_kit/env_file_reader/strategies/artifact_file.rb
|
272
|
+
- lib/kuber_kit/env_file_reader/strategies/env_group.rb
|
266
273
|
- lib/kuber_kit/extensions/colored_string.rb
|
267
274
|
- lib/kuber_kit/extensions/contracts.rb
|
268
275
|
- lib/kuber_kit/extensions/indocker_compat.rb
|
@@ -281,6 +288,7 @@ files:
|
|
281
288
|
- lib/kuber_kit/preprocessing/text_preprocessor.rb
|
282
289
|
- lib/kuber_kit/service_deployer/action_handler.rb
|
283
290
|
- lib/kuber_kit/service_deployer/deployer.rb
|
291
|
+
- lib/kuber_kit/service_deployer/service_dependency_resolver.rb
|
284
292
|
- lib/kuber_kit/service_deployer/service_list_resolver.rb
|
285
293
|
- lib/kuber_kit/service_deployer/strategies/abstract.rb
|
286
294
|
- lib/kuber_kit/service_deployer/strategies/docker.rb
|