k9s_kit 0.0.7.pre.pre3 → 0.0.7.pre.pre4

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: d151478dc455cd09d4e4b4abebf9ecfb59c4ceca47c296aff60894e26cac3192
4
- data.tar.gz: 959831d1e51660be8bf440597a1e9d7cb8c7a90ec8e16e890ea4add0baf44411
3
+ metadata.gz: d6ae62bc9d873abe8e1ec88d4eb2840940cd4445971233130c965e8ddf5fd333
4
+ data.tar.gz: 2f1de8263c83df6ffde2f032e258bd3ddad3b7283e76f1bdb77e3641086bee34
5
5
  SHA512:
6
- metadata.gz: dbf1ffbe06f83161f74c54a48b978942e77321ca9cd47b68db64eed576df767082a2f33adededb5954ab0ca7483a6565d8477577a7a29560b2ce0b09a769a3ab
7
- data.tar.gz: 306e387b5192ada28347543d0b371f8f68b49a15defcb04563e54976f57e7624c5306bc2b34c60e52bf99bca126791a20b5a752eb5685605d77f217c99757741
6
+ metadata.gz: fa7efd4aa8e8803fc4485c75dbd170bdb9e76859ddb5fb83db47211433b1e02d632ef1815f50e210203dbcda3a1dbe9ee1850c17acc06769b161712443c26102
7
+ data.tar.gz: e1fe0cc599580c9d182ce47e9b4cf09fde65ef5c896a2b038d4776b2331a2a74add038a484321fadc97f4433897fd79e7569c34a8b98694aabc672d04d5b8826
data/lib/k8s_kit/job.rb CHANGED
@@ -16,10 +16,13 @@ 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
+ foo = pod.exit_code(container: container)
20
+ puts "Checking exit code: #{foo}"
19
21
  Integer(pod.exit_code(container: container)) rescue false
20
22
  end
21
23
 
22
24
  exit_code = pod.exit_code(container: container)
25
+ puts "Exit code: #{exit_code}"
23
26
 
24
27
  delete if delete_on_completion
25
28
  exit exit_code if exit_on_completion
@@ -1,3 +1,3 @@
1
1
  module K8sKit
2
- VERSION = '0.0.7-pre3'
2
+ VERSION = '0.0.7-pre4'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: k9s_kit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7.pre.pre3
4
+ version: 0.0.7.pre.pre4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Your Name Here