helmsnap 0.3.0 → 0.3.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: 926b5a2923e842e0fe10f3d2050e785a0a140edbb0c3de40c30880e9e7dac3ba
4
- data.tar.gz: 5f99aaac6f14b66727365bbde866896f9c75bd98e129d48de07d76ebdd7ff6a2
3
+ metadata.gz: 966b83ea78caa28ab5d0a19a1022978aa3f3f36d28c9d80a84cebac2316b3d88
4
+ data.tar.gz: d113a21da6698d8480d2394bfcd2e62332cefff5c75f0f97e64ffd34e34a52e0
5
5
  SHA512:
6
- metadata.gz: 1ba861f010040454c80b4413f3b5e7b74213e0ad041f6c8311ca8295bfb06b71a04a98323f2b6714691e2450f0ce54897ff340a2534cfa66cd79f73884741614
7
- data.tar.gz: 4e164358cf3084a01fc026fcf44670939c6871035883afde758624f31b31739a6fc48d610e9a6a81204fef8535e9c417c95e705c02998a07edf7913e28a16745
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
 
@@ -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, :red)
40
- Helmsnap::Console.error(stderr, "Command failed with status #{exit_status.to_i}", :red)
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
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Helmsnap
4
- VERSION = "0.3.0"
4
+ VERSION = "0.3.1"
5
5
  end
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.0
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-27 00:00:00.000000000 Z
11
+ date: 2021-11-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: colorize