helmsnap 0.3.0 → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +3 -3
- data/lib/helmsnap/command.rb +2 -2
- data/lib/helmsnap/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 966b83ea78caa28ab5d0a19a1022978aa3f3f36d28c9d80a84cebac2316b3d88
|
4
|
+
data.tar.gz: d113a21da6698d8480d2394bfcd2e62332cefff5c75f0f97e64ffd34e34a52e0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fd90a220bb15e9426dbe3be6fb68f2c2ebfb09c3c651f6031e29aed9dca2b70fa533111c7f6b1ea1242c244e468b83d82f9c0459c8b6797de6a38da68ba1d504
|
7
|
+
data.tar.gz: 904a82feebc584846a99c9099ec52e2f425b0d8f901500110e4b0652044de8e92b5eb59b522cabc3ef031ba888b78fe4890b2109f74ccb9cc0b1d4d44c5d514f
|
data/README.md
CHANGED
@@ -28,6 +28,8 @@ The typical usage flow:
|
|
28
28
|
2. You add `helmsnap check` command to your CI (or run it manually on every commit).
|
29
29
|
3. In case snapshots differ, you should carefully check the updates and either fix your chart or update the snapshots using `helmsnap generate`.
|
30
30
|
|
31
|
+
This tool can also be useful when you are developing a new chart or updating an existing one: you can generate snapshots and see what is rendered without need to deploy the chart in your cluster.
|
32
|
+
|
31
33
|
## Features
|
32
34
|
|
33
35
|
### Helm dependency management
|
@@ -55,9 +57,7 @@ Example job for Gitlab CI:
|
|
55
57
|
```yaml
|
56
58
|
check-snapshots:
|
57
59
|
stage: test
|
58
|
-
image:
|
59
|
-
name: ghcr.io/tycooon/helmsnap:master
|
60
|
-
entrypoint: []
|
60
|
+
image: ghcr.io/tycooon/helmsnap:latest
|
61
61
|
script: helmsnap check -c helm/mychart -s helm/snapshots -v helm/values/production.yaml
|
62
62
|
```
|
63
63
|
|
data/lib/helmsnap/command.rb
CHANGED
@@ -36,8 +36,8 @@ class Helmsnap::Command
|
|
36
36
|
success = exit_status.success?
|
37
37
|
|
38
38
|
if !success && !allow_failure
|
39
|
-
Helmsnap::Console.error(stderr, err.read
|
40
|
-
Helmsnap::Console.error(stderr, "Command failed with status #{exit_status.to_i}"
|
39
|
+
Helmsnap::Console.error(stderr, err.read)
|
40
|
+
Helmsnap::Console.error(stderr, "Command failed with status #{exit_status.to_i}")
|
41
41
|
abort
|
42
42
|
end
|
43
43
|
|
data/lib/helmsnap/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: helmsnap
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yuri Smirnov
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-11-
|
11
|
+
date: 2021-11-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: colorize
|