kuber_kit 1.2.6 → 1.2.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/lib/kuber_kit/actions/service_deployer.rb +7 -1
- data/lib/kuber_kit/cli.rb +2 -0
- data/lib/kuber_kit/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cd7d5abd9465de05ab9c906588764edf855660b2ce2866d41d36ee5bbcf222a0
|
4
|
+
data.tar.gz: beb7e47b16c3076ade6b34de4e8c41806b832aad291db2b58a651407db53f768
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: da1808570e50ca73338d5055c41405d7f950a6d329d5cbe4663afe6ff9381f000c3339205407be0ee5437be1e4aafcfa3da7fdb5abb97ae6405616be44a27932
|
7
|
+
data.tar.gz: 3deccb2c4b267f3222b8bf1235c12406ef0df0100782c2f645deabeffd104da02be461079243a8d6aed607188a0086653815bcaca053a1b219d6c361ac756d91
|
data/CHANGELOG.md
CHANGED
@@ -18,9 +18,10 @@ class KuberKit::Actions::ServiceDeployer
|
|
18
18
|
skip_services: Maybe[ArrayOf[String]],
|
19
19
|
skip_compile: Maybe[Bool],
|
20
20
|
skip_dependencies: Maybe[Bool],
|
21
|
+
skip_deployment: Maybe[Bool],
|
21
22
|
require_confirmation: Maybe[Bool],
|
22
23
|
] => Any
|
23
|
-
def call(services:, tags:, skip_services: nil, skip_compile: false, skip_dependencies: false, require_confirmation: false)
|
24
|
+
def call(services:, tags:, skip_services: nil, skip_compile: false, skip_dependencies: false, skip_deployment: false, require_confirmation: false)
|
24
25
|
deployment_result = KuberKit::Actions::ActionResult.new()
|
25
26
|
current_configuration = KuberKit.current_configuration
|
26
27
|
|
@@ -66,6 +67,11 @@ class KuberKit::Actions::ServiceDeployer
|
|
66
67
|
return false unless compilation_result && compilation_result.succeeded?
|
67
68
|
end
|
68
69
|
|
70
|
+
# Skip service deployment, only compile images.
|
71
|
+
if skip_deployment
|
72
|
+
return deployment_result
|
73
|
+
end
|
74
|
+
|
69
75
|
# First deploy initial services.
|
70
76
|
# This feature is used to deploy some services, required for deployment of other services, e.g. env files
|
71
77
|
# Note: Initial services are deployed without dependencies
|
data/lib/kuber_kit/cli.rb
CHANGED
@@ -43,6 +43,7 @@ class KuberKit::CLI < Thor
|
|
43
43
|
method_option :skip_dependencies, :type => :boolean, aliases: ["-D"]
|
44
44
|
method_option :require_confirmation, :type => :boolean, aliases: ["-r"]
|
45
45
|
method_option :skip_confirmation, :type => :boolean, aliases: ["-R"]
|
46
|
+
method_option :skip_deployment, :type => :boolean, aliases: ["-K"]
|
46
47
|
def deploy
|
47
48
|
setup(options)
|
48
49
|
|
@@ -58,6 +59,7 @@ class KuberKit::CLI < Thor
|
|
58
59
|
skip_services: (options[:skip_services] || []).flatten.uniq,
|
59
60
|
skip_compile: options[:skip_compile] || false,
|
60
61
|
skip_dependencies: options[:skip_dependencies] || false,
|
62
|
+
skip_deployment: options[:skip_deployment] || false,
|
61
63
|
require_confirmation: require_confirmation
|
62
64
|
)
|
63
65
|
end
|
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: 1.2.
|
4
|
+
version: 1.2.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Iskander Khaziev
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-07-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: contracts
|