vidar 1.9.3 → 1.9.4

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1c7daa1e068c23277c471c47d2876c9557b00baef603235d893564ed43f1d7f9
4
- data.tar.gz: 3b08484e8f10902153ece3615660c5c5c1edfe25452a4cdaaaf72db5f0145191
3
+ metadata.gz: a008fa69e9dc79f622917c0dbaea1f0cc9410336fc3ae6f3937eb429b68cc988
4
+ data.tar.gz: 9d60da37c1f0eb892e71da46bede7df39b116dacf23b8ea1e4d4652abf6faa0b
5
5
  SHA512:
6
- metadata.gz: a51ce45925f510602e9b23f9192cc269f4ab7064bc8afc2d6de92d3c5d9162a19b5dec35eaefecff1309738ad6600ce9945dbdfa096306fb4df9444446ef1934
7
- data.tar.gz: e53d39ba5bf7f473438123fa3147dd00d8b1c9711dd125fbbe1d2c17f9da7a5a5ef6ecf8152618f6355a101d9ccde6f7f37cd7b3afb57b205c8ef19db3e524ee
6
+ metadata.gz: a25b390d4357c8aaff38f5491847a0da4b58a7ff3f304faa05ed7a922eef0742f0029b44d3d08e840b0d380cd78a093d83e566923b840084a2fd9bf910b660e7
7
+ data.tar.gz: 695029b248e10a4d55346ad6e8ab5da7263f5ad1ec9e3528ba62e27190491a5b44757106058c51016b0fab6b37257e32e07a04fcfa493748949664f8b43f2c92
data/.bundler-version CHANGED
@@ -1 +1 @@
1
- 2.4.21
1
+ 2.5.5
@@ -1,19 +1,15 @@
1
- version: 1
1
+ version: 2
2
2
 
3
- update_configs:
4
- - package_manager: "ruby:bundler"
3
+ updates:
4
+ - package-ecosystem: "bundler"
5
5
  directory: "/"
6
- update_schedule: "daily"
7
- commit_message:
6
+ schedule:
7
+ interval: "weekly"
8
+ day: "monday"
9
+ time: "08:00"
10
+ timezone: "UTC"
11
+ commit-message:
8
12
  prefix: "[dependabot]"
9
- allowed_updates:
10
- - match:
11
- dependency_type: "all"
12
- update_type: "security"
13
- automerged_updates:
14
- - match:
15
- dependency_type: "all"
16
- update_type: "security:patch"
17
13
  labels:
18
14
  - "automerge"
19
15
  - "dependencies"
@@ -8,6 +8,6 @@ jobs:
8
8
  runs-on: ubuntu-latest
9
9
  steps:
10
10
  - uses: hmarr/auto-approve-action@v3
11
- if: github.actor == 'dependabot[bot]' || github.actor == 'dependabot-preview[bot]' || github.actor == 'renofidev' || contains(toJson(github), 'HOTFIX-AUTO-APPROVE')
11
+ if: github.actor == 'dependabot[bot]' || github.actor == 'dependabot-preview[bot]' || github.actor == 'renofidev' || contains(github.event.pull_request.labels.*.name, 'HOTFIX-AUTO-APPROVE') || contains(github.event.pull_request.labels.*.name, 'dependencies')
12
12
  with:
13
13
  github-token: "${{ secrets.GITHUB_TOKEN }}"
@@ -15,10 +15,10 @@ jobs:
15
15
  runs-on: ubuntu-latest
16
16
  steps:
17
17
  - name: automerge-dependencies
18
- uses: pascalgn/automerge-action@v0.15.6
18
+ uses: pascalgn/automerge-action@v0.16.2
19
19
  env:
20
20
  GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
21
21
  MERGE_METHOD: squash
22
22
  MERGE_DELETE_BRANCH: true
23
- MERGE_LABELS: dependencies
23
+ MERGE_LABELS: "dependencies,!automerge blocked"
24
24
  MERGE_REMOVE_LABELS: ""
@@ -15,7 +15,7 @@ jobs:
15
15
  runs-on: ubuntu-latest
16
16
  steps:
17
17
  - name: automerge
18
- uses: pascalgn/automerge-action@v0.15.6
18
+ uses: pascalgn/automerge-action@v0.16.2
19
19
  env:
20
20
  GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
21
21
  MERGE_METHOD: squash
@@ -7,7 +7,7 @@ on:
7
7
  branches: [ main ]
8
8
 
9
9
  jobs:
10
- test:
10
+ ci_tests_ruby:
11
11
  runs-on: ubuntu-latest
12
12
  strategy:
13
13
  matrix:
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- vidar (1.9.3)
4
+ vidar (1.9.4)
5
5
  colorize
6
6
  faraday
7
7
  thor (~> 1.0)
@@ -13,23 +13,25 @@ GEM
13
13
  public_suffix (>= 2.0.2, < 6.0)
14
14
  ast (2.4.2)
15
15
  awesome_print (1.9.2)
16
- base64 (0.2.0)
16
+ bigdecimal (3.1.6)
17
17
  coderay (1.1.3)
18
18
  colorize (1.1.0)
19
- crack (0.4.5)
19
+ crack (0.4.6)
20
+ bigdecimal
20
21
  rexml
21
- diff-lcs (1.5.0)
22
- faraday (2.7.12)
23
- base64
24
- faraday-net_http (>= 2.0, < 3.1)
25
- ruby2_keywords (>= 0.0.4)
26
- faraday-net_http (3.0.2)
27
- hashdiff (1.0.1)
22
+ diff-lcs (1.5.1)
23
+ faraday (2.9.0)
24
+ faraday-net_http (>= 2.0, < 3.2)
25
+ faraday-net_http (3.1.0)
26
+ net-http
27
+ hashdiff (1.1.0)
28
28
  json (2.7.1)
29
29
  language_server-protocol (3.17.0.3)
30
30
  method_source (1.0.0)
31
- parallel (1.23.0)
32
- parser (3.2.2.4)
31
+ net-http (0.4.1)
32
+ uri
33
+ parallel (1.24.0)
34
+ parser (3.3.0.5)
33
35
  ast (~> 2.4.1)
34
36
  racc
35
37
  pry (0.14.2)
@@ -39,26 +41,26 @@ GEM
39
41
  racc (1.7.3)
40
42
  rainbow (3.1.1)
41
43
  rake (13.1.0)
42
- regexp_parser (2.8.3)
44
+ regexp_parser (2.9.0)
43
45
  rexml (3.2.6)
44
- rspec (3.12.0)
45
- rspec-core (~> 3.12.0)
46
- rspec-expectations (~> 3.12.0)
47
- rspec-mocks (~> 3.12.0)
48
- rspec-core (3.12.2)
49
- rspec-support (~> 3.12.0)
50
- rspec-expectations (3.12.3)
46
+ rspec (3.13.0)
47
+ rspec-core (~> 3.13.0)
48
+ rspec-expectations (~> 3.13.0)
49
+ rspec-mocks (~> 3.13.0)
50
+ rspec-core (3.13.0)
51
+ rspec-support (~> 3.13.0)
52
+ rspec-expectations (3.13.0)
51
53
  diff-lcs (>= 1.2.0, < 2.0)
52
- rspec-support (~> 3.12.0)
53
- rspec-mocks (3.12.6)
54
+ rspec-support (~> 3.13.0)
55
+ rspec-mocks (3.13.0)
54
56
  diff-lcs (>= 1.2.0, < 2.0)
55
- rspec-support (~> 3.12.0)
56
- rspec-support (3.12.1)
57
- rubocop (1.59.0)
57
+ rspec-support (~> 3.13.0)
58
+ rspec-support (3.13.0)
59
+ rubocop (1.60.2)
58
60
  json (~> 2.3)
59
61
  language_server-protocol (>= 3.17.0)
60
62
  parallel (~> 1.10)
61
- parser (>= 3.2.2.4)
63
+ parser (>= 3.3.0.2)
62
64
  rainbow (>= 2.2.2, < 4.0)
63
65
  regexp_parser (>= 1.8, < 3.0)
64
66
  rexml (>= 3.2.5, < 4.0)
@@ -67,20 +69,20 @@ GEM
67
69
  unicode-display_width (>= 2.4.0, < 3.0)
68
70
  rubocop-ast (1.30.0)
69
71
  parser (>= 3.2.1.0)
70
- rubocop-capybara (2.19.0)
72
+ rubocop-capybara (2.20.0)
73
+ rubocop (~> 1.41)
74
+ rubocop-factory_bot (2.25.1)
71
75
  rubocop (~> 1.41)
72
- rubocop-factory_bot (2.24.0)
73
- rubocop (~> 1.33)
74
76
  rubocop-rake (0.6.0)
75
77
  rubocop (~> 1.0)
76
- rubocop-rspec (2.25.0)
78
+ rubocop-rspec (2.26.1)
77
79
  rubocop (~> 1.40)
78
80
  rubocop-capybara (~> 2.17)
79
81
  rubocop-factory_bot (~> 2.22)
80
82
  ruby-progressbar (1.13.0)
81
- ruby2_keywords (0.0.5)
82
83
  thor (1.3.0)
83
84
  unicode-display_width (2.5.0)
85
+ uri (0.13.0)
84
86
  webmock (3.19.1)
85
87
  addressable (>= 2.8.0)
86
88
  crack (>= 0.3.2)
data/lib/vidar/cli.rb CHANGED
@@ -42,12 +42,18 @@ module Vidar
42
42
  end
43
43
 
44
44
  desc "build", "Build docker stages"
45
+ option :target, required: false
45
46
  def build
46
- Log.info "Building #{Config.get!(:base_stage_name)} image"
47
- Run.docker_compose "build #{Config.get!(:base_stage_name)}"
47
+ if options[:target]
48
+ Log.info "Building #{options[:target]} image"
49
+ Run.docker_compose "build #{options[:target]}"
50
+ else
51
+ Log.info "Building #{Config.get!(:base_stage_name)} image"
52
+ Run.docker_compose "build #{Config.get!(:base_stage_name)}"
48
53
 
49
- Log.info "Building #{Config.get!(:release_stage_name)} image"
50
- Run.docker_compose "build #{Config.get!(:release_stage_name)}"
54
+ Log.info "Building #{Config.get!(:release_stage_name)} image"
55
+ Run.docker_compose "build #{Config.get!(:release_stage_name)}"
56
+ end
51
57
  end
52
58
 
53
59
  desc "cache", "Caches intermediate docker stages"
data/lib/vidar/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Vidar
2
- VERSION = '1.9.3'.freeze
2
+ VERSION = '1.9.4'.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.9.3
4
+ version: 1.9.4
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: 2023-12-11 00:00:00.000000000 Z
12
+ date: 2024-02-05 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.4.22
122
+ rubygems_version: 3.5.5
123
123
  signing_key:
124
124
  specification_version: 4
125
125
  summary: K8s deployment tools based on thor