helmsnap 2.1.1 → 2.1.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 134cce8d5f91b94af2dbd9732af2adf6d6ebb7efb05b87432ec4c988e3daab88
4
- data.tar.gz: cf9efa208a10c3108a174908a0401a2b6b9f1c30e7dae858896dd3a4b842452a
3
+ metadata.gz: 8adeb92708c24dbb21d540db523763c373082cdd7bd8fb858acc7c3e96e886f9
4
+ data.tar.gz: 7198095d5beb7bb1de0575e845025ca94da8418217cbe05da8e9a1173c26d095
5
5
  SHA512:
6
- metadata.gz: 66b422d0e5d1dc6931bfdde666c8a916e11c0e8e7e1b63832fdea15653dee521cefb44e92f9a6ab473911fd241119ff20cc273202befb3ef387bc1feee51507e
7
- data.tar.gz: f6f565fb2b0f8b1fbd99f05e1187283cff8d8fb04f4bd503cb13b98f3b4b29a64a3742786bf38461ddb7c6f92a6d551eb1826f79c8bdeade0778402a8eb06c4b
6
+ metadata.gz: 5824dee4d33d05516e563d7475285fd5de9d3de27d21850410ca5680752fa20741bae4ad27801c332af031fc7c42c545c7d40817332d6877ff4dc0aa70b707df
7
+ data.tar.gz: 484dafc35896c1f688e9b836ded1a54905aef43a2178ae7355e623115c723bf8684e968511806fd2515bf7213b3a90f67edd42ecc60bbd239c9db092b1531c8b
data/README.md CHANGED
@@ -55,7 +55,13 @@ You can also override configuration file location using `--config` option.
55
55
 
56
56
  ## Dependencies
57
57
 
58
- - Ruby 3.0+.
58
+ The Docker runtime pins Helm 4.3.0 and Helmfile 1.8.1 by version and immutable multi-architecture image digest. For example, `helm version --short` reports `v4.3.0` and `helmsnap --version` reports the packaged library version. Runtime builds copy only the gem specification, library, executable and public documentation; they do not depend on Git metadata or include checkout credentials and local dependency caches.
59
+
60
+ Helm 4.3 supports Kubernetes 1.34–1.37 according to [Helm's version policy](https://helm.sh/docs/topics/version_skew/). Rendering local chart snapshots does not establish compatibility with an older live API server. The [upgrade sequence](https://github.com/zapravila-org/mevbot/issues/2183) must supply its separately verified compatible client and cluster-version gate before live operations on earlier versions.
61
+
62
+ The Docker build refreshes Alpine packages before adding runtime dependencies. The Docker workflow checks packaged tool versions and scans the loaded image with Trivy 0.75.0 against the current vulnerability database before publication. HIGH and CRITICAL findings, including those without a published fix, fail the job; lower severities remain visible but do not block it. Branches and pull requests run the checks, and only a push to `master` publishes the workflow image. The separate release workflow preserves versioned gem/image publication. `bundle exec rake` checks the library, packaging from a source tree without Git, and Ruby style.
63
+
64
+ - Ruby 3.3+.
59
65
  - [Helmfile](https://github.com/roboll/helmfile), which in turn relies on [Helm](https://github.com/helm/helm).
60
66
  - Colordiff or diff utility.
61
67
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Helmsnap
4
- VERSION = "2.1.1"
4
+ VERSION = "2.1.2"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: helmsnap
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.1
4
+ version: 2.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yuri Smirnov
@@ -30,17 +30,8 @@ executables:
30
30
  extensions: []
31
31
  extra_rdoc_files: []
32
32
  files:
33
- - ".dockerignore"
34
- - ".rspec"
35
- - ".rubocop.yml"
36
- - Dockerfile
37
- - Gemfile
38
- - Gemfile.lock
39
33
  - LICENSE.txt
40
34
  - README.md
41
- - Rakefile
42
- - bin/console
43
- - bin/setup
44
35
  - exe/helmsnap
45
36
  - lib/helmsnap.rb
46
37
  - lib/helmsnap/args_parser.rb
data/.dockerignore DELETED
@@ -1,8 +0,0 @@
1
- /.bundle/
2
- /.yardoc
3
- /_yardoc/
4
- /coverage/
5
- /doc/
6
- /pkg/
7
- /spec/reports/
8
- /tmp/
data/.rspec DELETED
@@ -1,3 +0,0 @@
1
- --format documentation
2
- --color
3
- --require spec_helper
data/.rubocop.yml DELETED
@@ -1,17 +0,0 @@
1
- inherit_gem:
2
- rubocop-config-umbrellio: lib/rubocop.yml
3
-
4
- AllCops:
5
- DisplayCopNames: true
6
- TargetRubyVersion: 3.3
7
- Include:
8
- - bin/console
9
- - Gemfile
10
- - helmsnap.gemspec
11
- - Rakefile
12
- - lib/**/*
13
- - spec/**/*
14
- - gemfile/**/*
15
- Exclude:
16
- - vendor/**/*
17
- - gemfiles/**/*
data/Dockerfile DELETED
@@ -1,13 +0,0 @@
1
- FROM alpine/helm:4
2
-
3
- RUN apk add --update --no-cache ruby git colordiff
4
-
5
- WORKDIR /wd
6
-
7
- COPY --from=ghcr.io/helmfile/helmfile:v1.5.2 /usr/local/bin/helmfile /usr/local/bin/helmfile
8
- COPY . .
9
-
10
- RUN gem install colorize && gem build && gem install helmsnap --local
11
-
12
- ENTRYPOINT []
13
- CMD []
data/Gemfile DELETED
@@ -1,12 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- source "https://rubygems.org"
4
-
5
- gemspec
6
-
7
- gem "logger"
8
- gem "pry"
9
- gem "rake"
10
- gem "rspec"
11
- gem "rubocop"
12
- gem "rubocop-config-umbrellio"
data/Gemfile.lock DELETED
@@ -1,141 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- helmsnap (2.1.1)
5
- colorize (~> 1.1)
6
-
7
- GEM
8
- remote: https://rubygems.org/
9
- specs:
10
- activesupport (8.1.3)
11
- base64
12
- bigdecimal
13
- concurrent-ruby (~> 1.0, >= 1.3.1)
14
- connection_pool (>= 2.2.5)
15
- drb
16
- i18n (>= 1.6, < 2)
17
- json
18
- logger (>= 1.4.2)
19
- minitest (>= 5.1)
20
- securerandom (>= 0.3)
21
- tzinfo (~> 2.0, >= 2.0.5)
22
- uri (>= 0.13.1)
23
- ast (2.4.3)
24
- base64 (0.3.0)
25
- bigdecimal (4.1.2)
26
- coderay (1.1.3)
27
- colorize (1.1.0)
28
- concurrent-ruby (1.3.6)
29
- connection_pool (3.0.2)
30
- diff-lcs (1.6.2)
31
- drb (2.2.3)
32
- i18n (1.14.8)
33
- concurrent-ruby (~> 1.0)
34
- io-console (0.8.2)
35
- json (2.19.7)
36
- language_server-protocol (3.17.0.5)
37
- lint_roller (1.1.0)
38
- logger (1.7.0)
39
- method_source (1.1.0)
40
- minitest (6.0.6)
41
- drb (~> 2.0)
42
- prism (~> 1.5)
43
- parallel (1.28.0)
44
- parser (3.3.11.1)
45
- ast (~> 2.4.1)
46
- racc
47
- prism (1.9.0)
48
- pry (0.16.0)
49
- coderay (~> 1.1)
50
- method_source (~> 1.0)
51
- reline (>= 0.6.0)
52
- racc (1.8.1)
53
- rack (3.2.6)
54
- rainbow (3.1.1)
55
- rake (13.4.2)
56
- regexp_parser (2.12.0)
57
- reline (0.6.3)
58
- io-console (~> 0.5)
59
- rspec (3.13.2)
60
- rspec-core (~> 3.13.0)
61
- rspec-expectations (~> 3.13.0)
62
- rspec-mocks (~> 3.13.0)
63
- rspec-core (3.13.6)
64
- rspec-support (~> 3.13.0)
65
- rspec-expectations (3.13.5)
66
- diff-lcs (>= 1.2.0, < 2.0)
67
- rspec-support (~> 3.13.0)
68
- rspec-mocks (3.13.8)
69
- diff-lcs (>= 1.2.0, < 2.0)
70
- rspec-support (~> 3.13.0)
71
- rspec-support (3.13.7)
72
- rubocop (1.84.2)
73
- json (~> 2.3)
74
- language_server-protocol (~> 3.17.0.2)
75
- lint_roller (~> 1.1.0)
76
- parallel (~> 1.10)
77
- parser (>= 3.3.0.2)
78
- rainbow (>= 2.2.2, < 4.0)
79
- regexp_parser (>= 2.9.3, < 3.0)
80
- rubocop-ast (>= 1.49.0, < 2.0)
81
- ruby-progressbar (~> 1.7)
82
- unicode-display_width (>= 2.4.0, < 4.0)
83
- rubocop-ast (1.49.1)
84
- parser (>= 3.3.7.2)
85
- prism (~> 1.7)
86
- rubocop-config-umbrellio (1.84.118)
87
- rubocop (~> 1.84.0)
88
- rubocop-factory_bot (~> 2.28.0)
89
- rubocop-performance (~> 1.26.0)
90
- rubocop-rails (~> 2.34.0)
91
- rubocop-rake (~> 0.7.0)
92
- rubocop-rspec (~> 3.9.0)
93
- rubocop-sequel (~> 0.4.0)
94
- rubocop-factory_bot (2.28.0)
95
- lint_roller (~> 1.1)
96
- rubocop (~> 1.72, >= 1.72.1)
97
- rubocop-performance (1.26.1)
98
- lint_roller (~> 1.1)
99
- rubocop (>= 1.75.0, < 2.0)
100
- rubocop-ast (>= 1.47.1, < 2.0)
101
- rubocop-rails (2.34.3)
102
- activesupport (>= 4.2.0)
103
- lint_roller (~> 1.1)
104
- rack (>= 1.1)
105
- rubocop (>= 1.75.0, < 2.0)
106
- rubocop-ast (>= 1.44.0, < 2.0)
107
- rubocop-rake (0.7.1)
108
- lint_roller (~> 1.1)
109
- rubocop (>= 1.72.1)
110
- rubocop-rspec (3.9.0)
111
- lint_roller (~> 1.1)
112
- rubocop (~> 1.81)
113
- rubocop-sequel (0.4.1)
114
- lint_roller (~> 1.1)
115
- rubocop (>= 1.72.1, < 2)
116
- ruby-progressbar (1.13.0)
117
- securerandom (0.4.1)
118
- tzinfo (2.0.6)
119
- concurrent-ruby (~> 1.0)
120
- unicode-display_width (3.2.0)
121
- unicode-emoji (~> 4.1)
122
- unicode-emoji (4.2.0)
123
- uri (1.1.1)
124
-
125
- PLATFORMS
126
- arm64-darwin
127
- ruby
128
- x86_64-darwin
129
- x86_64-linux
130
-
131
- DEPENDENCIES
132
- helmsnap!
133
- logger
134
- pry
135
- rake
136
- rspec
137
- rubocop
138
- rubocop-config-umbrellio
139
-
140
- BUNDLED WITH
141
- 4.0.12
data/Rakefile DELETED
@@ -1,12 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require "bundler/gem_tasks"
4
- require "rspec/core/rake_task"
5
-
6
- RSpec::Core::RakeTask.new(:spec)
7
-
8
- require "rubocop/rake_task"
9
-
10
- RuboCop::RakeTask.new
11
-
12
- task default: %i[spec rubocop]
data/bin/console DELETED
@@ -1,11 +0,0 @@
1
- #!/usr/bin/env ruby
2
- # frozen_string_literal: true
3
-
4
- require "bundler/setup"
5
- require "helmsnap"
6
-
7
- # You can add fixtures and/or initialization code here to make experimenting
8
- # with your gem easier. You can also use a different console, if you like.
9
-
10
- require "pry"
11
- Pry.start
data/bin/setup DELETED
@@ -1,8 +0,0 @@
1
- #!/usr/bin/env bash
2
- set -euo pipefail
3
- IFS=$'\n\t'
4
- set -vx
5
-
6
- bundle install
7
-
8
- # Do any other automated setup that you need to do here