helm_upgrade_logs 0.1.5 → 0.1.6

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: 2a29eb6e997adbed6f0efe098cbb272dfad2d134975caf54870e347de9346dae
4
- data.tar.gz: 0bedaf088081958db6cfe90271d6e0138ab217f4392fbadc4252edbb9ed6771a
3
+ metadata.gz: 4122417ed0106e7a563e3a52950a20ad697c0f945ee7a5160754698d1f5edcbc
4
+ data.tar.gz: c55b4efa13bba39dbe37ee50c5d443f147dc305060334953c6b1bae505ec14b1
5
5
  SHA512:
6
- metadata.gz: 0db53c0194211e9b8dde1c1fc817d3f23d462549fd45e7c55adff91beab54e394ae623e36229065d40041fa6b2fa2fe29f8a9818f37ae62d55b96b4ec4dca1fd
7
- data.tar.gz: 332be004b62aac72c654948cab38ad0174a180614cdefa74afcc927d10b46172df947ed62dbc8179ef72ea088dbd075acfbf7cfc2122752e1c5247563ad4f6e1
6
+ metadata.gz: bc569a6d7f5c2888e3150d552d1c46b35f29260944c661a6ace0a0f82e0bf299ef3e2f40401a18af2401747af6ee617175e2a6a2f5eae184245e480768f6252c
7
+ data.tar.gz: 45f62ed6b1f1abb463bf169800e3f12d0337a7fd61e73c78a7b329f8ea743967bbe9e30fbb89078f6ee5bd6c9bbbd85a4fd9ff79c82101b61d17a3f2a276dc10
data/CHANGELOG.md CHANGED
@@ -1,6 +1,7 @@
1
1
  ## [0.1.6] - 2022-04-17
2
2
 
3
3
  - Add `helm_test_logs` exe to check logs during `helm test`
4
+ - Add `pod-running-timeout` of 300s to try and pick up logs that might take a while to appear
4
5
 
5
6
  ## [0.1.5] - 2022-04-16
6
7
 
@@ -13,7 +13,7 @@ event_pid = Process.spawn 'kubectl get events --watch-only=true'
13
13
  service_pid = Process.spawn 'kubectl get services --watch-only=true'
14
14
 
15
15
  wait_for_pod_to_log
16
- log_pid = Process.spawn "kubectl logs -lapp.kubernetes.io/managed-by=Helm,app.kubernetes.io/instance=#{$release_name} -f --all-containers --prefix --ignore-errors=true --max-log-requests=20 --timestamps=true"
16
+ log_pid = Process.spawn "kubectl logs -lapp.kubernetes.io/managed-by=Helm,app.kubernetes.io/instance=#{$release_name} -f --all-containers --prefix --ignore-errors=true --max-log-requests=20 --timestamps=true --pod-running-timeout=300s"
17
17
 
18
18
  Process.wait helm_pid
19
19
  puts `kill #{log_pid}`
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module HelmUpgradeLogs
4
- VERSION = "0.1.5"
4
+ VERSION = "0.1.6"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: helm_upgrade_logs
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Garratt
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-04-16 00:00:00.000000000 Z
11
+ date: 2022-04-19 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Basic wrapper around helm and kubectl to allow easy debugging of a helm
14
14
  release. All arguments after a usual helm upgrade are used as normal