k9s_kit 0.0.7.pre.pre6 → 0.0.7.pre.pre7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/k8s_kit/context.rb +0 -1
- data/lib/k8s_kit/job.rb +1 -5
- data/lib/k8s_kit/pod.rb +0 -1
- data/lib/k8s_kit/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3e6cc77c67ebb117b8f65155684636c44b69c6338b6f4a2c8ae3d54100393061
|
4
|
+
data.tar.gz: 2a2891df9216b69df6914b1f329d5052cded08e9818caa842ee4ffc3f7aa9132
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '081d16c09ca45af33f6e29d6c8cff7b602299bacf8c09540c472e51b4a07acf1f012a8fe71edb95813e601634b32b360f92fa3be98c329b118e25138921a2c11'
|
7
|
+
data.tar.gz: 28c7efde092b326bf21330f8a6c58cba383d2b838b57040509339e0800c4cc88c925279986d3035f91474828036fc626f0534735fe5d966e62a821fb24123f3a
|
data/lib/k8s_kit/context.rb
CHANGED
data/lib/k8s_kit/job.rb
CHANGED
@@ -16,14 +16,10 @@ module K8sKit
|
|
16
16
|
WaitUtil.wait_for_condition("pod has exit code",
|
17
17
|
:timeout_sec => 30,
|
18
18
|
:delay_sec => 0.5) do
|
19
|
-
|
20
|
-
puts "Checking exit code: #{foo}"
|
21
|
-
Integer(pod.exit_code(container: container)) rescue false
|
19
|
+
pod.exit_code(container: container) != nil
|
22
20
|
end
|
23
21
|
|
24
22
|
exit_code = pod.exit_code(container: container)
|
25
|
-
puts "Exit code: #{exit_code}"
|
26
|
-
puts exit_code.class
|
27
23
|
|
28
24
|
delete if delete_on_completion
|
29
25
|
exit exit_code if exit_on_completion
|
data/lib/k8s_kit/pod.rb
CHANGED
data/lib/k8s_kit/version.rb
CHANGED