minfra-cli 1.13.3 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/ruby.yml +1 -2
- data/.rubocop.yml +31 -0
- data/CHANGELOG.md +15 -0
- data/Gemfile.lock +1 -1
- data/README.md +13 -1
- data/exe/minfra +1 -3
- data/lib/deep_merge.rb +35 -36
- data/lib/hash.rb +19 -18
- data/lib/minfra/cli/ask.rb +18 -16
- data/lib/minfra/cli/cli_starter.rb +173 -0
- data/lib/minfra/cli/command.rb +4 -1
- data/lib/minfra/cli/commands/dev.rb +26 -15
- data/lib/minfra/cli/commands/kube.rb +97 -88
- data/lib/minfra/cli/commands/plugin.rb +9 -8
- data/lib/minfra/cli/commands/project/branch.rb +7 -5
- data/lib/minfra/cli/commands/project/tag.rb +7 -6
- data/lib/minfra/cli/commands/project.rb +40 -40
- data/lib/minfra/cli/commands/setup.rb +18 -18
- data/lib/minfra/cli/commands/stack/app_template.rb +10 -13
- data/lib/minfra/cli/commands/stack/client_template.rb +10 -8
- data/lib/minfra/cli/commands/stack/kube_stack_template.rb +49 -51
- data/lib/minfra/cli/commands/stack.rb +55 -46
- data/lib/minfra/cli/commands/tag.rb +9 -8
- data/lib/minfra/cli/common.rb +7 -10
- data/lib/minfra/cli/config.rb +36 -63
- data/lib/minfra/cli/core_ext.rb +7 -0
- data/lib/minfra/cli/document.rb +5 -2
- data/lib/minfra/cli/env.rb +24 -0
- data/lib/minfra/cli/errors.rb +10 -0
- data/lib/minfra/cli/helm_runner.rb +3 -1
- data/lib/minfra/cli/hiera_looker.rb +54 -0
- data/lib/minfra/cli/hook.rb +36 -24
- data/lib/minfra/cli/kubectl_runner.rb +3 -1
- data/lib/minfra/cli/logging.rb +5 -1
- data/lib/minfra/cli/main_command.rb +2 -1
- data/lib/minfra/cli/plugin.rb +74 -0
- data/lib/minfra/cli/plugins.rb +18 -87
- data/lib/minfra/cli/runner.rb +23 -23
- data/lib/minfra/cli/templater.rb +17 -17
- data/lib/minfra/cli/version.rb +3 -1
- data/lib/minfra/cli.rb +20 -114
- data/lib/orchparty/ast.rb +13 -14
- data/lib/orchparty/cli.rb +35 -33
- data/lib/orchparty/context.rb +15 -15
- data/lib/orchparty/dsl_parser.rb +7 -11
- data/lib/orchparty/dsl_parser_kubernetes.rb +46 -56
- data/lib/orchparty/plugin.rb +10 -9
- data/lib/orchparty/plugins/env.rb +14 -13
- data/lib/orchparty/transformations/all.rb +3 -1
- data/lib/orchparty/transformations/mixin.rb +24 -24
- data/lib/orchparty/transformations/remove_internal.rb +3 -2
- data/lib/orchparty/transformations/sort.rb +2 -1
- data/lib/orchparty/transformations/variable.rb +6 -5
- data/lib/orchparty/transformations.rb +2 -0
- data/lib/orchparty/version.rb +3 -1
- data/lib/orchparty.rb +14 -14
- metadata +9 -2
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: minfra-cli
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 2.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Peter Schrammel
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-01-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|
@@ -153,6 +153,7 @@ files:
|
|
153
153
|
- ".dockerignore"
|
154
154
|
- ".github/workflows/ruby.yml"
|
155
155
|
- ".gitignore"
|
156
|
+
- ".rubocop.yml"
|
156
157
|
- CHANGELOG.md
|
157
158
|
- Dockerfile
|
158
159
|
- Gemfile
|
@@ -170,6 +171,7 @@ files:
|
|
170
171
|
- lib/hash.rb
|
171
172
|
- lib/minfra/cli.rb
|
172
173
|
- lib/minfra/cli/ask.rb
|
174
|
+
- lib/minfra/cli/cli_starter.rb
|
173
175
|
- lib/minfra/cli/command.rb
|
174
176
|
- lib/minfra/cli/commands/dev.rb
|
175
177
|
- lib/minfra/cli/commands/kube.rb
|
@@ -185,12 +187,17 @@ files:
|
|
185
187
|
- lib/minfra/cli/commands/tag.rb
|
186
188
|
- lib/minfra/cli/common.rb
|
187
189
|
- lib/minfra/cli/config.rb
|
190
|
+
- lib/minfra/cli/core_ext.rb
|
188
191
|
- lib/minfra/cli/document.rb
|
192
|
+
- lib/minfra/cli/env.rb
|
193
|
+
- lib/minfra/cli/errors.rb
|
189
194
|
- lib/minfra/cli/helm_runner.rb
|
195
|
+
- lib/minfra/cli/hiera_looker.rb
|
190
196
|
- lib/minfra/cli/hook.rb
|
191
197
|
- lib/minfra/cli/kubectl_runner.rb
|
192
198
|
- lib/minfra/cli/logging.rb
|
193
199
|
- lib/minfra/cli/main_command.rb
|
200
|
+
- lib/minfra/cli/plugin.rb
|
194
201
|
- lib/minfra/cli/plugins.rb
|
195
202
|
- lib/minfra/cli/runner.rb
|
196
203
|
- lib/minfra/cli/templater.rb
|