minfra-cli 1.4.2 → 1.4.3

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: ae11901e8dc3283453dc5a0867a4d9089b4221477d18cd8ccc565c4e491de443
4
- data.tar.gz: 4f4ad1dfd75487819762ab0e8c7ec776d2195ceccb1137eb5b2ffcf410f2c527
3
+ metadata.gz: 2ee7403eb8f3f5f3c9e6dd04d9eeef32035c5d3cf18dde0021eda7212b202ef7
4
+ data.tar.gz: 692c872591218c5b4b1df9b34795eea7b92d91b916d376a360c81c21d3342b7e
5
5
  SHA512:
6
- metadata.gz: b8f2d8829b95d24368dbbec16cb771a102ea29b917aec7558adb528f8b279fb84570761b95f02aaecf70e8df9cc0d90233945e7701ae5b21d29f6939d5eb801d
7
- data.tar.gz: 645fbe4780eeafb201725dd3c71dd3ec45fff4c2e64e6843c4e7a0b0b8daf0b563f9c95101267ae10057c344bff3c42dbb72ed44edd6b08f74084c467b233f62
6
+ metadata.gz: d647f1d0c84d68c1f2148f7993ee84076a6a2fe73a3b4cd7dfd92c2bda772e4f737eb702c9970d3b9658dbf92faf6d53507b1c4c030f3291c415f02da6933981
7
+ data.tar.gz: e3cf8822eea02dc932b1308b8f08522a079e15bd648dd121c2724fd7da97db6a5df89345faed1df17bab60beab160a30a8330ba12473afa33df0be21ee932968
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ # 1.4.3
2
+ * fixing exec for kubectl wrapper
3
+ * more logger usage less puts
1
4
  # 1.4.2
2
5
  * removing byebug
3
6
  # 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)
@@ -1,5 +1,5 @@
1
1
  module Minfra
2
2
  module Cli
3
- VERSION = '1.4.2'.freeze
3
+ VERSION = '1.4.3'.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.3
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-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor