vidar 1.3.0 → 1.3.1

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: 550fa5fad13e11baf5d526d4f0bc9ec1355d1dba83b08ad6cda0a48907b770f0
4
- data.tar.gz: e459ab46f1c3f0c68900af01d1a20f44506121b5da52d9305653748c458daa8e
3
+ metadata.gz: 7633bafc2ab4d38d9d5d72ed48c8ebce606744b9202b43ed92fcbda01772e738
4
+ data.tar.gz: 8e87868d5d692cbe0278caea8c75b7ba673c5e49c0ec7441412a9bbbafcbce2f
5
5
  SHA512:
6
- metadata.gz: 15b9365745e2993d24a8121649ae9e86000b7e5a30615805fbb3b526824c3d5aed5e09ff33cf2f11a6a40c947b8921e5bd9fc018bd52f0a320d624926391be17
7
- data.tar.gz: e559f868fb17e582f495796d9090ad770012f62e11006739732b464e0ecba94e544559397fa3d3651438b6f06639fdaf9feda1c50973baf3e39431ec15199c8e
6
+ metadata.gz: c0a3917ada81a599c03000313082b0579b63554eccae04011cdf80b9414369de69cf0a01805ab52ee3e5da4d142b1b8ce8d0f05db09cde4bdd6f990e974ac128
7
+ data.tar.gz: 98292c5c32dab51bfd5c07014e82aa4e24db90527a9e81db4181e85f5885f61005f0c14675a03fb11d4a273e6b634849a7f76dc9fe8f3d4d011ee99d39bd5255
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- vidar (1.3.0)
4
+ vidar (1.3.1)
5
5
  colorize
6
6
  faraday
7
7
  thor (~> 1.0)
@@ -19,7 +19,7 @@ GEM
19
19
  ruby2_keywords
20
20
  method_source (1.0.0)
21
21
  multipart-post (2.1.1)
22
- parallel (1.19.2)
22
+ parallel (1.20.0)
23
23
  parser (2.7.2.0)
24
24
  ast (~> 2.4.1)
25
25
  pry (0.13.1)
@@ -42,23 +42,23 @@ GEM
42
42
  diff-lcs (>= 1.2.0, < 2.0)
43
43
  rspec-support (~> 3.10.0)
44
44
  rspec-support (3.10.0)
45
- rubocop (0.93.1)
45
+ rubocop (1.2.0)
46
46
  parallel (~> 1.10)
47
47
  parser (>= 2.7.1.5)
48
48
  rainbow (>= 2.2.2, < 4.0)
49
49
  regexp_parser (>= 1.8)
50
50
  rexml
51
- rubocop-ast (>= 0.6.0)
51
+ rubocop-ast (>= 1.0.1)
52
52
  ruby-progressbar (~> 1.7)
53
53
  unicode-display_width (>= 1.4.0, < 2.0)
54
- rubocop-ast (1.1.0)
54
+ rubocop-ast (1.1.1)
55
55
  parser (>= 2.7.1.5)
56
56
  rubocop-performance (1.8.1)
57
57
  rubocop (>= 0.87.0)
58
58
  rubocop-ast (>= 0.4.0)
59
- rubocop-rspec (1.44.1)
60
- rubocop (~> 0.87)
61
- rubocop-ast (>= 0.7.1)
59
+ rubocop-rspec (2.0.0)
60
+ rubocop (~> 1.0)
61
+ rubocop-ast (>= 1.1.0)
62
62
  ruby-progressbar (1.10.1)
63
63
  ruby2_keywords (0.0.2)
64
64
  thor (1.0.1)
@@ -65,9 +65,11 @@ module Vidar
65
65
 
66
66
  desc "deploy", "Perform k8s deployment with deploy hook"
67
67
  method_option :revision, required: false
68
+ method_option :kubectl_context, required: false
68
69
  def deploy
69
70
  revision = options[:revision] || Config.get!(:revision)
70
- Log.info "Current kubectl context: #{Config.get!(:kubectl_context)}"
71
+ kubectl_context = options[:kubectl_context] || Config.get!(:kubectl_context)
72
+ Log.info "Current kubectl context: #{kubectl_context}"
71
73
 
72
74
  Log.info "Looking for deploy hook..."
73
75
  template_name, error, status = Open3.capture3 "kubectl get cronjob deploy-hook-template -n #{Config.get!(:namespace)} -o name --ignore-not-found=true"
@@ -1,3 +1,3 @@
1
1
  module Vidar
2
- VERSION = '1.3.0'.freeze
2
+ VERSION = '1.3.1'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vidar
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Krzysztof Knapik
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2020-11-02 00:00:00.000000000 Z
12
+ date: 2020-11-09 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: colorize