vidar 1.13.4 → 1.14.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.bundler-version +1 -1
- data/.github/workflows/auto-approve.yml +1 -1
- data/.github/workflows/auto-merge.yml +13 -1
- data/.github/workflows/ci.yml +1 -1
- data/CHANGELOG.md +4 -0
- data/Gemfile.lock +34 -34
- data/lib/vidar/cli.rb +5 -3
- data/lib/vidar/version.rb +1 -1
- data/vidar.gemspec +1 -1
- metadata +4 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2d0c42b82a92d063338917e37b4753df319ea1ace8151c371e44cd8841e5cb16
|
4
|
+
data.tar.gz: dc92d552487202142dc02c4d3c9a655e140e6af267d627ddfe0753e7aefe7915
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6b28a76a1d18c583d85725374c47bd90bfbf562ca96960d2886feab30eb14a99c92a6b4b00ddd1f65149608ee3f3c23a1e3e7593fe46e37c844e5e47ea70fc32
|
7
|
+
data.tar.gz: 0b62e5a6915e305b9acdfe6b40268c75fd6fd7fd213e5ffe62a331044611c6090e5bcf274c1a8939e80844e9ff7644edfe65f7e18a1afaeeacc7a048bf58872e
|
data/.bundler-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.
|
1
|
+
2.6.3
|
@@ -9,6 +9,6 @@ jobs:
|
|
9
9
|
runs-on: ubuntu-latest
|
10
10
|
steps:
|
11
11
|
- uses: hmarr/auto-approve-action@v3
|
12
|
-
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
|
+
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, 'self-approve') || contains(github.event.pull_request.labels.*.name, 'dependencies')
|
13
13
|
with:
|
14
14
|
github-token: "${{ secrets.GITHUB_TOKEN }}"
|
@@ -1,5 +1,8 @@
|
|
1
1
|
name: automerge
|
2
2
|
on:
|
3
|
+
pull_request_target:
|
4
|
+
types:
|
5
|
+
- labeled
|
3
6
|
pull_request_review:
|
4
7
|
types:
|
5
8
|
- submitted
|
@@ -12,8 +15,17 @@ jobs:
|
|
12
15
|
runs-on: ubuntu-latest
|
13
16
|
steps:
|
14
17
|
- name: automerge
|
15
|
-
uses: pascalgn/automerge-action@v0.16.
|
18
|
+
uses: pascalgn/automerge-action@v0.16.4
|
19
|
+
env:
|
20
|
+
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
|
21
|
+
MERGE_METHOD: squash
|
22
|
+
MERGE_DELETE_BRANCH: true
|
23
|
+
MERGE_LABELS: "automerge,!automerge blocked"
|
24
|
+
- name: automerge-dependencies
|
25
|
+
uses: pascalgn/automerge-action@v0.16.4
|
16
26
|
env:
|
17
27
|
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
|
18
28
|
MERGE_METHOD: squash
|
19
29
|
MERGE_DELETE_BRANCH: true
|
30
|
+
MERGE_LABELS: "dependencies,!automerge blocked"
|
31
|
+
MERGE_REMOVE_LABELS: ""
|
data/.github/workflows/ci.yml
CHANGED
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
vidar (1.
|
4
|
+
vidar (1.14.0)
|
5
5
|
colorize
|
6
6
|
faraday
|
7
7
|
thor (~> 1.0)
|
@@ -13,75 +13,75 @@ GEM
|
|
13
13
|
public_suffix (>= 2.0.2, < 7.0)
|
14
14
|
ast (2.4.2)
|
15
15
|
awesome_print (1.9.2)
|
16
|
-
bigdecimal (3.1.
|
16
|
+
bigdecimal (3.1.9)
|
17
17
|
coderay (1.1.3)
|
18
18
|
colorize (1.1.0)
|
19
19
|
crack (1.0.0)
|
20
20
|
bigdecimal
|
21
21
|
rexml
|
22
22
|
diff-lcs (1.5.1)
|
23
|
-
faraday (2.
|
24
|
-
faraday-net_http (>= 2.0, < 3.
|
23
|
+
faraday (2.12.2)
|
24
|
+
faraday-net_http (>= 2.0, < 3.5)
|
25
|
+
json
|
25
26
|
logger
|
26
|
-
faraday-net_http (3.
|
27
|
-
net-http
|
28
|
-
hashdiff (1.1.
|
29
|
-
json (2.
|
30
|
-
language_server-protocol (3.17.0.
|
31
|
-
logger (1.6.
|
27
|
+
faraday-net_http (3.4.0)
|
28
|
+
net-http (>= 0.5.0)
|
29
|
+
hashdiff (1.1.2)
|
30
|
+
json (2.9.1)
|
31
|
+
language_server-protocol (3.17.0.4)
|
32
|
+
logger (1.6.5)
|
32
33
|
method_source (1.1.0)
|
33
|
-
net-http (0.
|
34
|
+
net-http (0.6.0)
|
34
35
|
uri
|
35
|
-
parallel (1.
|
36
|
-
parser (3.3.
|
36
|
+
parallel (1.26.3)
|
37
|
+
parser (3.3.7.1)
|
37
38
|
ast (~> 2.4.1)
|
38
39
|
racc
|
39
|
-
pry (0.
|
40
|
+
pry (0.15.2)
|
40
41
|
coderay (~> 1.1)
|
41
42
|
method_source (~> 1.0)
|
42
43
|
public_suffix (6.0.1)
|
43
44
|
racc (1.8.1)
|
44
45
|
rainbow (3.1.1)
|
45
46
|
rake (13.2.1)
|
46
|
-
regexp_parser (2.
|
47
|
-
rexml (3.
|
48
|
-
strscan
|
47
|
+
regexp_parser (2.10.0)
|
48
|
+
rexml (3.4.0)
|
49
49
|
rspec (3.13.0)
|
50
50
|
rspec-core (~> 3.13.0)
|
51
51
|
rspec-expectations (~> 3.13.0)
|
52
52
|
rspec-mocks (~> 3.13.0)
|
53
|
-
rspec-core (3.13.
|
53
|
+
rspec-core (3.13.2)
|
54
54
|
rspec-support (~> 3.13.0)
|
55
|
-
rspec-expectations (3.13.
|
55
|
+
rspec-expectations (3.13.3)
|
56
56
|
diff-lcs (>= 1.2.0, < 2.0)
|
57
57
|
rspec-support (~> 3.13.0)
|
58
|
-
rspec-mocks (3.13.
|
58
|
+
rspec-mocks (3.13.2)
|
59
59
|
diff-lcs (>= 1.2.0, < 2.0)
|
60
60
|
rspec-support (~> 3.13.0)
|
61
|
-
rspec-support (3.13.
|
62
|
-
rubocop (1.
|
61
|
+
rspec-support (3.13.2)
|
62
|
+
rubocop (1.71.2)
|
63
63
|
json (~> 2.3)
|
64
64
|
language_server-protocol (>= 3.17.0)
|
65
65
|
parallel (~> 1.10)
|
66
66
|
parser (>= 3.3.0.2)
|
67
67
|
rainbow (>= 2.2.2, < 4.0)
|
68
|
-
regexp_parser (>= 2.
|
69
|
-
|
70
|
-
rubocop-ast (>= 1.31.1, < 2.0)
|
68
|
+
regexp_parser (>= 2.9.3, < 3.0)
|
69
|
+
rubocop-ast (>= 1.38.0, < 2.0)
|
71
70
|
ruby-progressbar (~> 1.7)
|
72
|
-
unicode-display_width (>= 2.4.0, <
|
73
|
-
rubocop-ast (1.
|
71
|
+
unicode-display_width (>= 2.4.0, < 4.0)
|
72
|
+
rubocop-ast (1.38.0)
|
74
73
|
parser (>= 3.3.1.0)
|
75
74
|
rubocop-rake (0.6.0)
|
76
75
|
rubocop (~> 1.0)
|
77
|
-
rubocop-rspec (3.0
|
76
|
+
rubocop-rspec (3.4.0)
|
78
77
|
rubocop (~> 1.61)
|
79
78
|
ruby-progressbar (1.13.0)
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
79
|
+
thor (1.3.2)
|
80
|
+
unicode-display_width (3.1.4)
|
81
|
+
unicode-emoji (~> 4.0, >= 4.0.4)
|
82
|
+
unicode-emoji (4.0.4)
|
83
|
+
uri (1.0.2)
|
84
|
+
webmock (3.24.0)
|
85
85
|
addressable (>= 2.8.0)
|
86
86
|
crack (>= 0.3.2)
|
87
87
|
hashdiff (>= 0.4.0, < 2.0.0)
|
@@ -102,4 +102,4 @@ DEPENDENCIES
|
|
102
102
|
webmock
|
103
103
|
|
104
104
|
BUNDLED WITH
|
105
|
-
2.
|
105
|
+
2.6.3
|
data/lib/vidar/cli.rb
CHANGED
@@ -24,12 +24,14 @@ module Vidar
|
|
24
24
|
Log.info "Pulling #{Config.get!(:image)} tags"
|
25
25
|
Run.docker "pull #{Config.get!(:image)}:#{Config.get!(:base_stage_name)}-#{Config.get!(:current_branch)} 2> /dev/null || true"
|
26
26
|
|
27
|
-
|
27
|
+
image_names = `docker images --format "{{.Repository}}:{{.Tag}}"`.split("\n")
|
28
28
|
base_image = "#{Config.get!(:image)}:#{Config.get!(:base_stage_name)}-#{Config.get!(:default_branch)}"
|
29
|
-
Run.docker "pull #{base_image} 2> /dev/null || true" unless
|
29
|
+
Run.docker "pull #{base_image} 2> /dev/null || true" unless image_names.include?(base_image)
|
30
30
|
|
31
31
|
Log.info "Docker images:"
|
32
|
-
|
32
|
+
image_names.each do |image_name|
|
33
|
+
puts image_name
|
34
|
+
end
|
33
35
|
end
|
34
36
|
|
35
37
|
desc "build_and_cache_base", "Build and caches base stage"
|
data/lib/vidar/version.rb
CHANGED
data/vidar.gemspec
CHANGED
@@ -17,7 +17,7 @@ Gem::Specification.new do |spec|
|
|
17
17
|
spec.metadata['changelog_uri'] = 'https://github.com/RenoFi/vidar/blob/master/CHANGELOG.md'
|
18
18
|
spec.metadata['rubygems_mfa_required'] = 'true'
|
19
19
|
|
20
|
-
spec.required_ruby_version = Gem::Requirement.new('>= 3.
|
20
|
+
spec.required_ruby_version = Gem::Requirement.new('>= 3.3.0')
|
21
21
|
|
22
22
|
spec.files = Dir.chdir(__dir__) do
|
23
23
|
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(bin/|spec/|\.rub)}) }
|
metadata
CHANGED
@@ -1,15 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vidar
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.14.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Krzysztof Knapik
|
8
8
|
- RenoFi Engineering Team
|
9
|
-
autorequire:
|
10
9
|
bindir: exe
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 2025-02-05 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: colorize
|
@@ -53,7 +52,6 @@ dependencies:
|
|
53
52
|
- - "~>"
|
54
53
|
- !ruby/object:Gem::Version
|
55
54
|
version: '1.0'
|
56
|
-
description:
|
57
55
|
email:
|
58
56
|
- knapo@knapo.net
|
59
57
|
- engineering@renofi.com
|
@@ -104,7 +102,6 @@ metadata:
|
|
104
102
|
source_code_uri: https://github.com/RenoFi/vidar
|
105
103
|
changelog_uri: https://github.com/RenoFi/vidar/blob/master/CHANGELOG.md
|
106
104
|
rubygems_mfa_required: 'true'
|
107
|
-
post_install_message:
|
108
105
|
rdoc_options: []
|
109
106
|
require_paths:
|
110
107
|
- lib
|
@@ -112,15 +109,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
112
109
|
requirements:
|
113
110
|
- - ">="
|
114
111
|
- !ruby/object:Gem::Version
|
115
|
-
version: 3.
|
112
|
+
version: 3.3.0
|
116
113
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
117
114
|
requirements:
|
118
115
|
- - ">="
|
119
116
|
- !ruby/object:Gem::Version
|
120
117
|
version: '0'
|
121
118
|
requirements: []
|
122
|
-
rubygems_version: 3.
|
123
|
-
signing_key:
|
119
|
+
rubygems_version: 3.6.3
|
124
120
|
specification_version: 4
|
125
121
|
summary: K8s deployment tools based on thor
|
126
122
|
test_files: []
|