minfra-cli 4.4.0 → 4.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/README.md +1 -14
- data/lib/minfra/cli/commands/stack.rb +4 -4
- data/lib/minfra/cli/version.rb +1 -1
- data/minfra-cli.gemspec +6 -7
- metadata +24 -24
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2ab01fb75afb67c24a5d05059301c1abbf12097d6dd1a2d7e89b83df4e668f92
|
4
|
+
data.tar.gz: 2c6d61125270a3ebac58beb69d9cfbc56e35be193e09bedc3288d1223bf9184c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fa52c1392bc0f9cefc397048b26cecf04f43e5761447d55ba227b714ded397a18900d72a3a300d5b9af4c0fe692bbf8c32275964a5f773e25d497a5514eb8c07
|
7
|
+
data.tar.gz: 9b33e5b4c8707e92b8ec0c9f3d67d683cc469a4a31a0a0ec1aa9c8190ca64db76947bb7caf772626254ff720eb71a4a52f77f11d9cff01454deaf0257807e74c
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -14,7 +14,7 @@ Is a KIND (k8s in docker) based development environment.
|
|
14
14
|
| | MINFRA_ARGV_FILE | | --minfra_argv_file [PATH TO A CSV FILE FILE] | |
|
15
15
|
| | MINFRA_LOGGING_LEVEL | minfra.logging_level | | |
|
16
16
|
| | | minfra.hiera.env_path | | |
|
17
|
-
| | | default_stacks | | env.stacks
|
17
|
+
| | | default_stacks | | env.stacks |
|
18
18
|
| | | | | infra::allow_insecure_k8s_connections |
|
19
19
|
| when set to 'true' all hiera lookups are logged on debug level | MINFRA_DEBUG_HIERA_LOOKUPS | | | |
|
20
20
|
| to override the backends in the hiera file, comma separated | MINFRA_HIERA_BACKENDS | | | |
|
@@ -22,19 +22,6 @@ Is a KIND (k8s in docker) based development environment.
|
|
22
22
|
## Expected hiera data
|
23
23
|
|
24
24
|
* l("cluster.id"): the k8s name of the cluster
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
25
|
|
39
26
|
# Orchparty
|
40
27
|
|
@@ -33,14 +33,14 @@ module Minfra
|
|
33
33
|
option :opts
|
34
34
|
option :force, type: :boolean
|
35
35
|
def deploy(stack_name, message = '')
|
36
|
-
stacks = l('env.
|
36
|
+
stacks = l('env.stacks') || []
|
37
37
|
default_stacks = minfra_config.project.default_stacks || []
|
38
|
-
stacks
|
38
|
+
stacks += default_stacks
|
39
39
|
if stacks.include?(stack_name) || options[:force] || options[:test]
|
40
40
|
kube.deploy(stack_name, message)
|
41
41
|
else
|
42
|
-
exit_error("project:default_stacks or hiera:env.
|
43
|
-
end
|
42
|
+
exit_error("project:default_stacks or hiera:env.stacks has to include '#{stack_name}' or use --force or --test")
|
43
|
+
end
|
44
44
|
end
|
45
45
|
|
46
46
|
desc 'rollback <extraargs>', 'rollback a deployment'
|
data/lib/minfra/cli/version.rb
CHANGED
data/minfra-cli.gemspec
CHANGED
@@ -28,14 +28,13 @@ Gem::Specification.new do |spec|
|
|
28
28
|
spec.require_paths = ["lib"]
|
29
29
|
|
30
30
|
spec.add_runtime_dependency 'thor', '~> 1.0', '>= 1.0.0'
|
31
|
-
spec.add_runtime_dependency "table_print", "1.5
|
31
|
+
spec.add_runtime_dependency "table_print", "~> 1.5"
|
32
32
|
spec.add_runtime_dependency "rest-client", "~>2.0"
|
33
33
|
spec.add_runtime_dependency "hashie", "~>3.5"
|
34
|
-
spec.add_runtime_dependency "activesupport", "
|
34
|
+
spec.add_runtime_dependency "activesupport", ">= 7"
|
35
35
|
spec.add_runtime_dependency "erubis", "~> 2.7"
|
36
|
-
spec.add_runtime_dependency "hiera", "3.9
|
37
|
-
spec.add_runtime_dependency "hiera-eyaml", "3.3
|
38
|
-
spec.add_runtime_dependency "hiera-eyaml-gpg", "0.7
|
39
|
-
spec.add_runtime_dependency "gpgme", "~>2.0
|
36
|
+
spec.add_runtime_dependency "hiera", "~> 3.9"
|
37
|
+
spec.add_runtime_dependency "hiera-eyaml", "~> 3.3"
|
38
|
+
spec.add_runtime_dependency "hiera-eyaml-gpg", "~> 0.7"
|
39
|
+
spec.add_runtime_dependency "gpgme", "~>2.0"
|
40
40
|
end
|
41
|
-
|
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.
|
4
|
+
version: 4.6.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: 2024-
|
11
|
+
date: 2024-07-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|
@@ -34,16 +34,16 @@ dependencies:
|
|
34
34
|
name: table_print
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
36
36
|
requirements:
|
37
|
-
- -
|
37
|
+
- - "~>"
|
38
38
|
- !ruby/object:Gem::Version
|
39
|
-
version: 1.5
|
39
|
+
version: '1.5'
|
40
40
|
type: :runtime
|
41
41
|
prerelease: false
|
42
42
|
version_requirements: !ruby/object:Gem::Requirement
|
43
43
|
requirements:
|
44
|
-
- -
|
44
|
+
- - "~>"
|
45
45
|
- !ruby/object:Gem::Version
|
46
|
-
version: 1.5
|
46
|
+
version: '1.5'
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: rest-client
|
49
49
|
requirement: !ruby/object:Gem::Requirement
|
@@ -76,16 +76,16 @@ dependencies:
|
|
76
76
|
name: activesupport
|
77
77
|
requirement: !ruby/object:Gem::Requirement
|
78
78
|
requirements:
|
79
|
-
- -
|
79
|
+
- - ">="
|
80
80
|
- !ruby/object:Gem::Version
|
81
|
-
version: 7
|
81
|
+
version: '7'
|
82
82
|
type: :runtime
|
83
83
|
prerelease: false
|
84
84
|
version_requirements: !ruby/object:Gem::Requirement
|
85
85
|
requirements:
|
86
|
-
- -
|
86
|
+
- - ">="
|
87
87
|
- !ruby/object:Gem::Version
|
88
|
-
version: 7
|
88
|
+
version: '7'
|
89
89
|
- !ruby/object:Gem::Dependency
|
90
90
|
name: erubis
|
91
91
|
requirement: !ruby/object:Gem::Requirement
|
@@ -104,58 +104,58 @@ dependencies:
|
|
104
104
|
name: hiera
|
105
105
|
requirement: !ruby/object:Gem::Requirement
|
106
106
|
requirements:
|
107
|
-
- -
|
107
|
+
- - "~>"
|
108
108
|
- !ruby/object:Gem::Version
|
109
|
-
version: 3.9
|
109
|
+
version: '3.9'
|
110
110
|
type: :runtime
|
111
111
|
prerelease: false
|
112
112
|
version_requirements: !ruby/object:Gem::Requirement
|
113
113
|
requirements:
|
114
|
-
- -
|
114
|
+
- - "~>"
|
115
115
|
- !ruby/object:Gem::Version
|
116
|
-
version: 3.9
|
116
|
+
version: '3.9'
|
117
117
|
- !ruby/object:Gem::Dependency
|
118
118
|
name: hiera-eyaml
|
119
119
|
requirement: !ruby/object:Gem::Requirement
|
120
120
|
requirements:
|
121
|
-
- -
|
121
|
+
- - "~>"
|
122
122
|
- !ruby/object:Gem::Version
|
123
|
-
version: 3.3
|
123
|
+
version: '3.3'
|
124
124
|
type: :runtime
|
125
125
|
prerelease: false
|
126
126
|
version_requirements: !ruby/object:Gem::Requirement
|
127
127
|
requirements:
|
128
|
-
- -
|
128
|
+
- - "~>"
|
129
129
|
- !ruby/object:Gem::Version
|
130
|
-
version: 3.3
|
130
|
+
version: '3.3'
|
131
131
|
- !ruby/object:Gem::Dependency
|
132
132
|
name: hiera-eyaml-gpg
|
133
133
|
requirement: !ruby/object:Gem::Requirement
|
134
134
|
requirements:
|
135
|
-
- -
|
135
|
+
- - "~>"
|
136
136
|
- !ruby/object:Gem::Version
|
137
|
-
version: 0.7
|
137
|
+
version: '0.7'
|
138
138
|
type: :runtime
|
139
139
|
prerelease: false
|
140
140
|
version_requirements: !ruby/object:Gem::Requirement
|
141
141
|
requirements:
|
142
|
-
- -
|
142
|
+
- - "~>"
|
143
143
|
- !ruby/object:Gem::Version
|
144
|
-
version: 0.7
|
144
|
+
version: '0.7'
|
145
145
|
- !ruby/object:Gem::Dependency
|
146
146
|
name: gpgme
|
147
147
|
requirement: !ruby/object:Gem::Requirement
|
148
148
|
requirements:
|
149
149
|
- - "~>"
|
150
150
|
- !ruby/object:Gem::Version
|
151
|
-
version: 2.0
|
151
|
+
version: '2.0'
|
152
152
|
type: :runtime
|
153
153
|
prerelease: false
|
154
154
|
version_requirements: !ruby/object:Gem::Requirement
|
155
155
|
requirements:
|
156
156
|
- - "~>"
|
157
157
|
- !ruby/object:Gem::Version
|
158
|
-
version: 2.0
|
158
|
+
version: '2.0'
|
159
159
|
description: A cli framework for k8s based development and deployment.
|
160
160
|
email:
|
161
161
|
- peter.schrammel@gmx.de
|