vidar 1.3.0 → 1.3.1
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 +4 -4
- data/Gemfile.lock +8 -8
- data/lib/vidar/cli.rb +3 -1
- data/lib/vidar/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7633bafc2ab4d38d9d5d72ed48c8ebce606744b9202b43ed92fcbda01772e738
|
|
4
|
+
data.tar.gz: 8e87868d5d692cbe0278caea8c75b7ba673c5e49c0ec7441412a9bbbafcbce2f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c0a3917ada81a599c03000313082b0579b63554eccae04011cdf80b9414369de69cf0a01805ab52ee3e5da4d142b1b8ce8d0f05db09cde4bdd6f990e974ac128
|
|
7
|
+
data.tar.gz: 98292c5c32dab51bfd5c07014e82aa4e24db90527a9e81db4181e85f5885f61005f0c14675a03fb11d4a273e6b634849a7f76dc9fe8f3d4d011ee99d39bd5255
|
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
vidar (1.3.
|
|
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.
|
|
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 (
|
|
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.
|
|
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.
|
|
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 (
|
|
60
|
-
rubocop (~> 0
|
|
61
|
-
rubocop-ast (>=
|
|
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)
|
data/lib/vidar/cli.rb
CHANGED
|
@@ -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
|
-
|
|
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"
|
data/lib/vidar/version.rb
CHANGED
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.
|
|
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-
|
|
12
|
+
date: 2020-11-09 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: colorize
|