vidar 1.13.1 → 1.13.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: f964bc107c9bed7c2324a04cab2fa114bca4d9daac6f1cc1dc30fbff45ad40cc
4
- data.tar.gz: d90e034359bf4081f8d9b452ef09bcfce3a48402c05269df43c406dd5327582a
3
+ metadata.gz: 1a7d8910395a160c21a621c94f84d423c6dfb3f07e1d1e55e9090560227c975e
4
+ data.tar.gz: 8a2d04f5b4e54d233d409c0ec3a1dfce9a9defc359adf7e6a245e011da6a80ff
5
5
  SHA512:
6
- metadata.gz: 279749ca74b69ede488090f17a95b2c7a063e8822691b5cd33a3584a398b688dcdaca01228dce6bb7fc9c6f5baecb85092cdb02ff003626ef93a3fb84a9933ab
7
- data.tar.gz: d9f88a89a90794f927a95c76b4447a2b97d8c60532d083b7cd04c247c393d59b4c192dd0bb5cfdea1ac438b2e07c1cc249bde7ecb0f1b2c52a7f8e0c63296a7a
6
+ metadata.gz: 0446c72a4fe47092ee10a5702f61f96b5a20c6c388a78485e2973d23cfd824846475c7bf61f56a656d37dab82c1899be04242414a0843f6ab60c08deba2314b8
7
+ data.tar.gz: 52b388455b4bc91ab972fe94fbe00a516de48b305236f4a23d7e6d17b7eb46dd5af09da0976101606d27059210cb5de58e190c40c8ef2dc0aa672d0d7e4f708b
data/.bundler-version CHANGED
@@ -1 +1 @@
1
- 2.5.16
1
+ 2.5.17
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- vidar (1.13.1)
4
+ vidar (1.13.3)
5
5
  colorize
6
6
  faraday
7
7
  thor (~> 1.0)
@@ -20,10 +20,10 @@ GEM
20
20
  bigdecimal
21
21
  rexml
22
22
  diff-lcs (1.5.1)
23
- faraday (2.10.0)
23
+ faraday (2.10.1)
24
24
  faraday-net_http (>= 2.0, < 3.2)
25
25
  logger
26
- faraday-net_http (3.1.0)
26
+ faraday-net_http (3.1.1)
27
27
  net-http
28
28
  hashdiff (1.1.0)
29
29
  json (2.7.2)
@@ -40,11 +40,11 @@ GEM
40
40
  coderay (~> 1.1)
41
41
  method_source (~> 1.0)
42
42
  public_suffix (6.0.1)
43
- racc (1.8.0)
43
+ racc (1.8.1)
44
44
  rainbow (3.1.1)
45
45
  rake (13.2.1)
46
46
  regexp_parser (2.9.2)
47
- rexml (3.3.2)
47
+ rexml (3.3.4)
48
48
  strscan
49
49
  rspec (3.13.0)
50
50
  rspec-core (~> 3.13.0)
@@ -59,7 +59,7 @@ GEM
59
59
  diff-lcs (>= 1.2.0, < 2.0)
60
60
  rspec-support (~> 3.13.0)
61
61
  rspec-support (3.13.1)
62
- rubocop (1.65.0)
62
+ rubocop (1.65.1)
63
63
  json (~> 2.3)
64
64
  language_server-protocol (>= 3.17.0)
65
65
  parallel (~> 1.10)
data/lib/vidar/cli.rb CHANGED
@@ -22,10 +22,8 @@ module Vidar
22
22
  desc "pull", "Pull existing docker images to leverage docker caching"
23
23
  def pull
24
24
  Log.info "Pulling #{Config.get!(:image)} tags"
25
- if Config.default_branch?
26
- Run.docker "pull #{Config.get!(:image)}:#{Config.get!(:base_stage_name)}} 2> /dev/null || true"
27
- Run.docker "pull #{Config.get!(:image)}:#{Config.get!(:base_stage_name)}-#{Config.get!(:default_branch)} 2> /dev/null || true"
28
- else
25
+ Run.docker "pull #{Config.get!(:image)}:#{Config.get!(:base_stage_name)}-#{Config.get!(:default_branch)} 2> /dev/null || true"
26
+ unless Config.default_branch?
29
27
  Run.docker "pull #{Config.get!(:image)}:#{Config.get!(:base_stage_name)}-#{Config.get!(:current_branch)} 2> /dev/null || true"
30
28
  end
31
29
  Log.info "Docker images:"
@@ -30,9 +30,8 @@ module Vidar
30
30
 
31
31
  def failure
32
32
  message = [
33
- "Failed deploy of #{github_link} to #{deploy_link}.",
34
- ":fire: <!channel>",
35
- build_link
33
+ "<!channel> Failed deploy of #{github_link} to #{deploy_link}.",
34
+ build_link,
36
35
  ]
37
36
  perform_with data(message:, color: failure_color)
38
37
  end
@@ -40,7 +39,7 @@ module Vidar
40
39
  def success
41
40
  message = [
42
41
  "Successful deploy of #{github_link} to #{deploy_link}.",
43
- build_link
42
+ build_link,
44
43
  ]
45
44
  perform_with data(message:, color: success_color)
46
45
  end
data/lib/vidar/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Vidar
2
- VERSION = '1.13.1'.freeze
2
+ VERSION = '1.13.3'.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.13.1
4
+ version: 1.13.3
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-29 00:00:00.000000000 Z
12
+ date: 2024-08-02 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: colorize
@@ -119,7 +119,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
119
119
  - !ruby/object:Gem::Version
120
120
  version: '0'
121
121
  requirements: []
122
- rubygems_version: 3.5.11
122
+ rubygems_version: 3.5.17
123
123
  signing_key:
124
124
  specification_version: 4
125
125
  summary: K8s deployment tools based on thor