kuber_kit 0.9.5 → 0.9.8
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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 63fe40fb4674dd8e0fcad748f502d541f4fad27662b481a71647766f086c3d3f
|
4
|
+
data.tar.gz: c1f4966e67d11cf860a4822846dcdde18cc2ca9651b8233d448cc225e12dbf25
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a436fd78bd994fe89bbddd28b2a093286922aaace1718a5b7c0cbe568d48c0ddfe1dfd0badf2fdd7f0bdfa15a9fb7e4bbc6c19c3e25e80b4b4ef2a8d58b2c1e5
|
7
|
+
data.tar.gz: 3b33b8f312664f1417c4f1bef6e23993ca69c98688ed276e1a4f8334ab0a7e940a912793a8f330cdfe0222276f482aa3b6155eb7905c40bfb19ce2e30dbe28c7
|
data/CHANGELOG.md
CHANGED
@@ -59,7 +59,7 @@ class KuberKit::Shell::LocalShell < KuberKit::Shell::AbstractShell
|
|
59
59
|
end
|
60
60
|
|
61
61
|
def replace!(shell_name: nil, env: [], log_command: true)
|
62
|
-
shell_name ||= "$SHELL"
|
62
|
+
shell_name ||= "$SHELL --login"
|
63
63
|
command = (env + [shell_name]).join(" ")
|
64
64
|
|
65
65
|
if log_command
|
@@ -17,6 +17,6 @@ class KuberKit::ShellLauncher::Strategies::Kubernetes < KuberKit::ShellLauncher:
|
|
17
17
|
kubectl_commands.set_namespace(shell, deployer_namespace, kubeconfig_path: kubeconfig_path)
|
18
18
|
end
|
19
19
|
|
20
|
-
shell.replace!(env: ["KUBECONFIG=#{kubeconfig_path}"])
|
20
|
+
shell.replace!(env: ["KUBECONFIG=#{kubeconfig_path}", "KUBER_KIT_SHELL_CONFIGURATION=#{KuberKit.current_configuration.name}"])
|
21
21
|
end
|
22
22
|
end
|
@@ -1,6 +1,7 @@
|
|
1
1
|
class KuberKit::Tools::BuildDirCleaner
|
2
2
|
include KuberKit::Import[
|
3
3
|
"shell.bash_commands",
|
4
|
+
"ui"
|
4
5
|
]
|
5
6
|
|
6
7
|
KEEP_DIRS_COUNT = 10
|
@@ -11,7 +12,11 @@ class KuberKit::Tools::BuildDirCleaner
|
|
11
12
|
|
12
13
|
dirs_to_delete.each do |dir|
|
13
14
|
bash_commands.rm_rf(shell, dir)
|
15
|
+
rescue KuberKit::Shell::AbstractShell::ShellError => e
|
16
|
+
ui.print_debug "BuildDirCleaner", "Error while removing directory: #{e.inspect}"
|
14
17
|
end
|
18
|
+
rescue KuberKit::Shell::AbstractShell::DirNotFoundError
|
19
|
+
ui.print_debug "BuildDirCleaner", "Build directory not found"
|
15
20
|
end
|
16
21
|
|
17
22
|
private
|
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.9.
|
4
|
+
version: 0.9.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Iskander Khaziev
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-05-
|
11
|
+
date: 2022-05-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: contracts
|