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.
Files changed (46) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +21 -0
  3. data/Gemfile.lock +5 -5
  4. data/TODO.md +5 -5
  5. data/example/configurations/review.rb +1 -1
  6. data/example/services/docker_app.rb +2 -1
  7. data/example/services/env_file.rb +1 -1
  8. data/example/services/ruby_app.rb +2 -1
  9. data/lib/kuber_kit.rb +10 -0
  10. data/lib/kuber_kit/actions/kubectl_get.rb +32 -0
  11. data/lib/kuber_kit/actions/service_checker.rb +5 -0
  12. data/lib/kuber_kit/actions/service_deployer.rb +85 -61
  13. data/lib/kuber_kit/cli.rb +14 -3
  14. data/lib/kuber_kit/configs.rb +10 -6
  15. data/lib/kuber_kit/container.rb +20 -0
  16. data/lib/kuber_kit/core/artifacts/artifact_store.rb +3 -0
  17. data/lib/kuber_kit/core/configuration.rb +4 -2
  18. data/lib/kuber_kit/core/configuration_definition.rb +7 -0
  19. data/lib/kuber_kit/core/configuration_factory.rb +1 -0
  20. data/lib/kuber_kit/core/dependencies/abstract_dependency_resolver.rb +75 -0
  21. data/lib/kuber_kit/core/env_files/abstract_env_file.rb +4 -0
  22. data/lib/kuber_kit/core/env_files/artifact_file.rb +4 -0
  23. data/lib/kuber_kit/core/env_files/env_file_store.rb +3 -0
  24. data/lib/kuber_kit/core/env_files/env_group.rb +12 -0
  25. data/lib/kuber_kit/core/image.rb +2 -1
  26. data/lib/kuber_kit/core/registries/registry_store.rb +3 -0
  27. data/lib/kuber_kit/core/service.rb +4 -2
  28. data/lib/kuber_kit/core/service_definition.rb +13 -6
  29. data/lib/kuber_kit/core/service_factory.rb +1 -0
  30. data/lib/kuber_kit/core/templates/template_store.rb +3 -0
  31. data/lib/kuber_kit/env_file_reader/env_file_parser.rb +51 -0
  32. data/lib/kuber_kit/env_file_reader/env_file_tempfile_creator.rb +17 -0
  33. data/lib/kuber_kit/env_file_reader/reader.rb +2 -0
  34. data/lib/kuber_kit/env_file_reader/strategies/artifact_file.rb +9 -65
  35. data/lib/kuber_kit/env_file_reader/strategies/env_group.rb +21 -0
  36. data/lib/kuber_kit/image_compiler/image_dependency_resolver.rb +5 -53
  37. data/lib/kuber_kit/service_deployer/service_dependency_resolver.rb +14 -0
  38. data/lib/kuber_kit/service_deployer/service_list_resolver.rb +11 -6
  39. data/lib/kuber_kit/service_deployer/strategies/docker.rb +31 -12
  40. data/lib/kuber_kit/service_deployer/strategies/kubernetes.rb +9 -2
  41. data/lib/kuber_kit/shell/commands/kubectl_commands.rb +8 -0
  42. data/lib/kuber_kit/shell/local_shell.rb +15 -1
  43. data/lib/kuber_kit/template_reader/strategies/artifact_file.rb +3 -3
  44. data/lib/kuber_kit/tools/logger_factory.rb +14 -0
  45. data/lib/kuber_kit/version.rb +1 -1
  46. metadata +10 -2
@@ -1,3 +1,3 @@
1
1
  module KuberKit
2
- VERSION = "0.5.1"
2
+ VERSION = "0.5.6"
3
3
  end
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.1
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-03-03 00:00:00.000000000 Z
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