vidar 1.13.0 → 1.13.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +2 -2
- data/lib/vidar/cli.rb +1 -1
- data/lib/vidar/run.rb +4 -0
- 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: f964bc107c9bed7c2324a04cab2fa114bca4d9daac6f1cc1dc30fbff45ad40cc
|
4
|
+
data.tar.gz: d90e034359bf4081f8d9b452ef09bcfce3a48402c05269df43c406dd5327582a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 279749ca74b69ede488090f17a95b2c7a063e8822691b5cd33a3584a398b688dcdaca01228dce6bb7fc9c6f5baecb85092cdb02ff003626ef93a3fb84a9933ab
|
7
|
+
data.tar.gz: d9f88a89a90794f927a95c76b4447a2b97d8c60532d083b7cd04c247c393d59b4c192dd0bb5cfdea1ac438b2e07c1cc249bde7ecb0f1b2c52a7f8e0c63296a7a
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
vidar (1.13.
|
4
|
+
vidar (1.13.1)
|
5
5
|
colorize
|
6
6
|
faraday
|
7
7
|
thor (~> 1.0)
|
@@ -39,7 +39,7 @@ GEM
|
|
39
39
|
pry (0.14.2)
|
40
40
|
coderay (~> 1.1)
|
41
41
|
method_source (~> 1.0)
|
42
|
-
public_suffix (6.0.
|
42
|
+
public_suffix (6.0.1)
|
43
43
|
racc (1.8.0)
|
44
44
|
rainbow (3.1.1)
|
45
45
|
rake (13.2.1)
|
data/lib/vidar/cli.rb
CHANGED
@@ -97,7 +97,7 @@ module Vidar
|
|
97
97
|
Log.info "Current kubectl context: #{kubectl_context}"
|
98
98
|
|
99
99
|
Log.info "Looking for deploy hook..."
|
100
|
-
template_name, error, status =
|
100
|
+
template_name, error, status = Run.kubectl_capture3("get cronjob deploy-hook-template -o name --ignore-not-found=true")
|
101
101
|
|
102
102
|
slack_notification = SlackNotification.get
|
103
103
|
honeycomb_notification = HoneycombNotification.get
|
data/lib/vidar/run.rb
CHANGED
@@ -14,6 +14,10 @@ module Vidar
|
|
14
14
|
system("#{kubectl_envs_string}kubectl --namespace=#{namespace} #{command}") || exit(1)
|
15
15
|
end
|
16
16
|
|
17
|
+
def kubectl_capture3(command, namespace: Config.get!(:namespace))
|
18
|
+
Open3.capture3("#{kubectl_envs_string}kubectl #{command} --namespace=#{namespace}") || exit(1)
|
19
|
+
end
|
20
|
+
|
17
21
|
def kubectl_envs_string
|
18
22
|
https_proxy = Config.deploy_config.https_proxy
|
19
23
|
"HTTPS_PROXY=#{https_proxy} " if https_proxy
|
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.13.
|
4
|
+
version: 1.13.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: 2024-07-
|
12
|
+
date: 2024-07-29 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: colorize
|