helm_upgrade_logs 0.4.0 → 0.4.1

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: ff6c87e111837be7e9f2b92df25d6ead153cd3a8ccb277a72b8977eca166b94d
4
- data.tar.gz: 7d4551bf7d2edc18a86406c2ff331df08cd8812c63fa7b87eceb99017e3e8b30
3
+ metadata.gz: d5c8b4b1ea48503ac3cd3a5b2225a547cca4d9de3d2a6f498ab3275c048f4b2c
4
+ data.tar.gz: 50fa108a1ffc101bebf06f4a3ab561b0be87eebcb0a8f86f5ba9f1cf4e934049
5
5
  SHA512:
6
- metadata.gz: 3f64bf311fad025cde524b78eaf6340db3d61e5fe69fb3dedf6bed64362ed9071c43eb40a721ad74d5a21e517fcc1b69a33398bad9eb4df57f51818cc47a8d73
7
- data.tar.gz: f080b4c121a246f8fc5856fdfdc5a917aac5aae6ec430e301d6157e5307defa0c092c335312463e8723878afd0a98a8b4dd8b3a8a985732454b5dcc80a7a34b3
6
+ metadata.gz: d75d44836364ea6365cfd970b217927aa4c0e0c3268cfaabebf6ada95827a3bdcce402e1160ae469e536589bc10f0bb867a1c44ce91e4fad924e11aff4b25fd9
7
+ data.tar.gz: 488607e1fcee239ae77b11949c083dbe21e1ed7af0d0a13c95191b060bd8091e7580c49463f796e5ff2e330bde3c05b6b0ef9f8b8ac0b721257ff6d9685b822c
@@ -70,5 +70,6 @@ jobs:
70
70
  run: ./exe/helm_upgrade_logs --install nginx bitnami/nginx --wait --debug --set service.type=ClusterIP --set replicaCount=2
71
71
  - name: Test bitnami
72
72
  run: ./exe/helm_test_logs nginx
73
- - name: Install Redis
74
- run: ./exe/helm_upgrade_logs --install redis bitnami/redis --set auth.enabled=false --version 15.7.2 --set replica.replicaCount=1 --wait
73
+ # Older version of redis chart - need to update to work with new syntax
74
+ # - name: Install Redis
75
+ # run: ./exe/helm_upgrade_logs --install redis bitnami/redis --set auth.enabled=false --version 15.7.2 --set replica.replicaCount=1 --wait
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## [0.4.1]
2
+
3
+ - Ignore error if new environment variable `helm_upgrade_logs_ignore_child_error` is passed
4
+
1
5
  ## [0.4.0]
2
6
 
3
7
  - Change to handle params before release name fixing #1
@@ -28,7 +28,7 @@ begin
28
28
  rescue Errno::ECHILD
29
29
  Process.kill("KILL", event_pid)
30
30
  Process.kill("KILL", service_pid)
31
- raise HelmUpgradeLogs::Error, "Failed to find logs before helm finished"
31
+ raise HelmUpgradeLogs::Error, "Failed to find logs before helm finished" unless ENV["helm_upgrade_logs_ignore_child_error"]
32
32
  end
33
33
 
34
34
  FileUtils.mkdir_p(UPGRADE_LOG_FOLDER) if ENV["helm_upgrade_logs_error_msg"]
@@ -2,5 +2,5 @@
2
2
 
3
3
  module HelmUpgradeLogs
4
4
  # @return [String] Version of helm upgrade logs
5
- VERSION = "0.4.0"
5
+ VERSION = "0.4.1"
6
6
  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.4.0
4
+ version: 0.4.1
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-11-14 00:00:00.000000000 Z
11
+ date: 2023-10-06 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