minfra-cli 1.4.2 → 1.4.4

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: ae11901e8dc3283453dc5a0867a4d9089b4221477d18cd8ccc565c4e491de443
4
- data.tar.gz: 4f4ad1dfd75487819762ab0e8c7ec776d2195ceccb1137eb5b2ffcf410f2c527
3
+ metadata.gz: 0431a193e4cb6b0fe022a8a1c2fb3b988b14ed3e2bca4cc7c2407e4b9bd76a86
4
+ data.tar.gz: e73b425bbd7bd64f17da06b6f38897cd8fdc014d3fbecaccd213c9a247cc596c
5
5
  SHA512:
6
- metadata.gz: b8f2d8829b95d24368dbbec16cb771a102ea29b917aec7558adb528f8b279fb84570761b95f02aaecf70e8df9cc0d90233945e7701ae5b21d29f6939d5eb801d
7
- data.tar.gz: 645fbe4780eeafb201725dd3c71dd3ec45fff4c2e64e6843c4e7a0b0b8daf0b563f9c95101267ae10057c344bff3c42dbb72ed44edd6b08f74084c467b233f62
6
+ metadata.gz: 358adc1077ebf830b16243631837fcd04d722ed92f45cb1bb6b3bfd2e905fa127f3f725f68500a96ee001b7bcf66aba796931fccbdc8f6a6bbb0941dff9d3bec
7
+ data.tar.gz: dee59c2f5f2da709352c09a7bfbc4094f91e5c4f6ee533ae04708ecb9618b55435a151b1518a6e921f85712c4278f4258b21853d0087b06098b19b90a009206d
data/CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
1
+ # 1.4.4
2
+ * fixing logging on fresh installs
3
+ # 1.4.3
4
+ * fixing exec for kubectl wrapper
5
+ * more logger usage less puts
1
6
  # 1.4.2
2
7
  * removing byebug
3
8
  # 1.4.1
@@ -226,7 +226,8 @@ module Minfra
226
226
 
227
227
  if subcommand == 'exec'
228
228
  subcommand = 'exec -ti'
229
- extra_args << '--' << 'bash'
229
+ extra_args.unshift('--')
230
+ extra_args << 'bash' if args.empty?
230
231
  end
231
232
 
232
233
  extra_args = extra_args.join(' ')
@@ -15,7 +15,7 @@ module Minfra
15
15
  @deployment = deployment.freeze
16
16
  @cluster = cluster.freeze || l!("cluster").id
17
17
  @result_path = config.status_path.join('stacks', @cluster, name)
18
- puts "Stack selection: #{@name}, #{@config_path}, #{@cluster}, #{@result_path}"
18
+ debug "Stack selection: #{@name}, #{@config_path}, #{@cluster}, #{@result_path}"
19
19
  end
20
20
 
21
21
  def cluster_name
@@ -10,7 +10,7 @@ module Minfra
10
10
  end
11
11
 
12
12
  def run_cmd(cmd, type = :non_system, silence: false)
13
- puts cmd unless silence
13
+ debug(cmd)
14
14
  case type
15
15
  when :exec
16
16
  Kernel.exec(cmd)
@@ -6,8 +6,6 @@ module Minfra
6
6
  module Cli
7
7
  # responsible the read the config file(s) and add a small abstraction layer on top of it
8
8
  class Config
9
- include Logging
10
-
11
9
  class ConfigNotFoundError < StandardError
12
10
  end
13
11
  class EnvironmentNotFoundError < StandardError
@@ -1,5 +1,5 @@
1
1
  module Minfra
2
2
  module Cli
3
- VERSION = '1.4.2'.freeze
3
+ VERSION = '1.4.4'.freeze
4
4
  end
5
5
  end
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: 1.4.2
4
+ version: 1.4.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Schrammel
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-11-07 00:00:00.000000000 Z
11
+ date: 2022-11-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor