vidar 1.4.0 → 1.4.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/.bundler-version +1 -0
- data/.dependabot/config.yml +7 -2
- data/.github/PULL_REQUEST_TEMPLATE.md +3 -15
- data/.github/workflows/auto-merge.yml +1 -1
- data/.github/workflows/ci.yml +28 -0
- data/CHANGELOG.md +6 -0
- data/Gemfile.lock +52 -35
- data/Rakefile +1 -0
- data/lib/vidar/cli.rb +1 -1
- data/lib/vidar/interpolation.rb +1 -1
- data/lib/vidar/sentry_notification.rb +1 -1
- data/lib/vidar/slack_notification.rb +6 -6
- data/lib/vidar/version.rb +1 -1
- metadata +6 -4
- data/.travis.yml +0 -11
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c3d537f85d8832eee399a795a023d6d1ec8d7c755742028bfebdc284faf1a73a
|
|
4
|
+
data.tar.gz: 9b9402f61125844939c73fdf1106a8e3b7b06d98a2445627bcc73ce3bed419bc
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f52e9983f88d1158cf00e3f1343f1fe8b21947766dd81ad59d0853c5fc1393f2d8f849d0de66239a431ef58a799b323269706cb8f9af3887e630cd9fef21d4e5
|
|
7
|
+
data.tar.gz: ddc33975a9aebebc95b22096fda74a683faf3225517d27c1739a024d7eaa6f81fa77afceeba3b28c64b55aef285c38fda188c9b31bea256489ddaa1394405459
|
data/.bundler-version
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
2.2.27
|
data/.dependabot/config.yml
CHANGED
|
@@ -3,9 +3,14 @@ version: 1
|
|
|
3
3
|
update_configs:
|
|
4
4
|
- package_manager: "ruby:bundler"
|
|
5
5
|
directory: "/"
|
|
6
|
-
update_schedule: "
|
|
6
|
+
update_schedule: "daily"
|
|
7
7
|
commit_message:
|
|
8
8
|
prefix: "[dependabot]"
|
|
9
9
|
allowed_updates:
|
|
10
10
|
- match:
|
|
11
|
-
|
|
11
|
+
dependency_type: "all"
|
|
12
|
+
update_type: "security"
|
|
13
|
+
automerged_updates:
|
|
14
|
+
- match:
|
|
15
|
+
dependency_type: "all"
|
|
16
|
+
update_type: "security:patch"
|
|
@@ -1,18 +1,6 @@
|
|
|
1
|
-
## Description
|
|
1
|
+
## Description, motivation and context
|
|
2
2
|
<!--- Describe your changes in detail -->
|
|
3
|
-
|
|
4
|
-
## Related issue(s)
|
|
5
|
-
<!--- GH issue number -->
|
|
6
|
-
|
|
7
|
-
## Motivation and Context
|
|
8
3
|
<!--- Why is this change required? What problem does it solve? -->
|
|
9
|
-
<!--- If it fixes an open issue, please link to the issue here. -->
|
|
10
4
|
|
|
11
|
-
##
|
|
12
|
-
<!---
|
|
13
|
-
|
|
14
|
-
## Screenshots (if appropriate):
|
|
15
|
-
<!--- Please add any screenshots of the feature. -->
|
|
16
|
-
|
|
17
|
-
## Related PRs
|
|
18
|
-
<!--- Please add links to any related PRs (backend, component packages, etc). -->
|
|
5
|
+
## Related issue(s) or PR(s)
|
|
6
|
+
<!--- GH issue number -->
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
name: Ruby CI
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches: [ main ]
|
|
6
|
+
pull_request:
|
|
7
|
+
branches: [ main ]
|
|
8
|
+
|
|
9
|
+
jobs:
|
|
10
|
+
test:
|
|
11
|
+
runs-on: ubuntu-latest
|
|
12
|
+
strategy:
|
|
13
|
+
matrix:
|
|
14
|
+
ruby-version: ['2.7', '3.0']
|
|
15
|
+
|
|
16
|
+
steps:
|
|
17
|
+
- uses: actions/checkout@v2
|
|
18
|
+
- name: Set up Ruby
|
|
19
|
+
# To automatically get bug fixes and new Ruby versions for ruby/setup-ruby,
|
|
20
|
+
# change this to (see https://github.com/ruby/setup-ruby#versioning):
|
|
21
|
+
# uses: ruby/setup-ruby@v1
|
|
22
|
+
uses: ruby/setup-ruby@473e4d8fe5dd94ee328fdfca9f8c9c7afc9dae5e
|
|
23
|
+
with:
|
|
24
|
+
ruby-version: ${{ matrix.ruby-version }}
|
|
25
|
+
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
|
|
26
|
+
|
|
27
|
+
- name: Run tests
|
|
28
|
+
run: bundle exec rake ci
|
data/CHANGELOG.md
ADDED
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
vidar (1.4.
|
|
4
|
+
vidar (1.4.1)
|
|
5
5
|
colorize
|
|
6
6
|
faraday
|
|
7
7
|
thor (~> 1.0)
|
|
@@ -9,71 +9,88 @@ PATH
|
|
|
9
9
|
GEM
|
|
10
10
|
remote: https://rubygems.org/
|
|
11
11
|
specs:
|
|
12
|
-
addressable (2.
|
|
12
|
+
addressable (2.8.0)
|
|
13
13
|
public_suffix (>= 2.0.2, < 5.0)
|
|
14
|
-
ast (2.4.
|
|
15
|
-
awesome_print (1.
|
|
14
|
+
ast (2.4.2)
|
|
15
|
+
awesome_print (1.9.2)
|
|
16
16
|
coderay (1.1.3)
|
|
17
17
|
colorize (0.8.1)
|
|
18
|
-
crack (0.4.
|
|
18
|
+
crack (0.4.5)
|
|
19
|
+
rexml
|
|
19
20
|
diff-lcs (1.4.4)
|
|
20
|
-
faraday (1.
|
|
21
|
+
faraday (1.8.0)
|
|
22
|
+
faraday-em_http (~> 1.0)
|
|
23
|
+
faraday-em_synchrony (~> 1.0)
|
|
24
|
+
faraday-excon (~> 1.1)
|
|
25
|
+
faraday-httpclient (~> 1.0.1)
|
|
26
|
+
faraday-net_http (~> 1.0)
|
|
27
|
+
faraday-net_http_persistent (~> 1.1)
|
|
28
|
+
faraday-patron (~> 1.0)
|
|
29
|
+
faraday-rack (~> 1.0)
|
|
21
30
|
multipart-post (>= 1.2, < 3)
|
|
22
|
-
ruby2_keywords
|
|
31
|
+
ruby2_keywords (>= 0.0.4)
|
|
32
|
+
faraday-em_http (1.0.0)
|
|
33
|
+
faraday-em_synchrony (1.0.0)
|
|
34
|
+
faraday-excon (1.1.0)
|
|
35
|
+
faraday-httpclient (1.0.1)
|
|
36
|
+
faraday-net_http (1.0.1)
|
|
37
|
+
faraday-net_http_persistent (1.2.0)
|
|
38
|
+
faraday-patron (1.0.0)
|
|
39
|
+
faraday-rack (1.0.0)
|
|
23
40
|
hashdiff (1.0.1)
|
|
24
41
|
method_source (1.0.0)
|
|
25
42
|
multipart-post (2.1.1)
|
|
26
|
-
parallel (1.
|
|
27
|
-
parser (
|
|
43
|
+
parallel (1.21.0)
|
|
44
|
+
parser (3.0.2.0)
|
|
28
45
|
ast (~> 2.4.1)
|
|
29
|
-
pry (0.
|
|
46
|
+
pry (0.14.1)
|
|
30
47
|
coderay (~> 1.1)
|
|
31
48
|
method_source (~> 1.0)
|
|
32
49
|
public_suffix (4.0.6)
|
|
33
50
|
rainbow (3.0.0)
|
|
34
|
-
rake (13.0.
|
|
35
|
-
regexp_parser (2.
|
|
36
|
-
rexml (3.2.
|
|
51
|
+
rake (13.0.6)
|
|
52
|
+
regexp_parser (2.1.1)
|
|
53
|
+
rexml (3.2.5)
|
|
37
54
|
rspec (3.10.0)
|
|
38
55
|
rspec-core (~> 3.10.0)
|
|
39
56
|
rspec-expectations (~> 3.10.0)
|
|
40
57
|
rspec-mocks (~> 3.10.0)
|
|
41
|
-
rspec-core (3.10.
|
|
58
|
+
rspec-core (3.10.1)
|
|
42
59
|
rspec-support (~> 3.10.0)
|
|
43
|
-
rspec-expectations (3.10.
|
|
60
|
+
rspec-expectations (3.10.1)
|
|
44
61
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
45
62
|
rspec-support (~> 3.10.0)
|
|
46
|
-
rspec-mocks (3.10.
|
|
63
|
+
rspec-mocks (3.10.2)
|
|
47
64
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
48
65
|
rspec-support (~> 3.10.0)
|
|
49
|
-
rspec-support (3.10.
|
|
50
|
-
rubocop (1.
|
|
66
|
+
rspec-support (3.10.2)
|
|
67
|
+
rubocop (1.22.0)
|
|
51
68
|
parallel (~> 1.10)
|
|
52
|
-
parser (>=
|
|
69
|
+
parser (>= 3.0.0.0)
|
|
53
70
|
rainbow (>= 2.2.2, < 4.0)
|
|
54
71
|
regexp_parser (>= 1.8, < 3.0)
|
|
55
72
|
rexml
|
|
56
|
-
rubocop-ast (>= 1.
|
|
73
|
+
rubocop-ast (>= 1.12.0, < 2.0)
|
|
57
74
|
ruby-progressbar (~> 1.7)
|
|
58
|
-
unicode-display_width (>= 1.4.0, <
|
|
59
|
-
rubocop-ast (1.
|
|
60
|
-
parser (>=
|
|
61
|
-
rubocop-rake (0.
|
|
62
|
-
rubocop
|
|
63
|
-
rubocop-rspec (2.0.1)
|
|
75
|
+
unicode-display_width (>= 1.4.0, < 3.0)
|
|
76
|
+
rubocop-ast (1.12.0)
|
|
77
|
+
parser (>= 3.0.1.1)
|
|
78
|
+
rubocop-rake (0.6.0)
|
|
64
79
|
rubocop (~> 1.0)
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
80
|
+
rubocop-rspec (2.5.0)
|
|
81
|
+
rubocop (~> 1.19)
|
|
82
|
+
ruby-progressbar (1.11.0)
|
|
83
|
+
ruby2_keywords (0.0.5)
|
|
84
|
+
thor (1.1.0)
|
|
85
|
+
unicode-display_width (2.1.0)
|
|
86
|
+
webmock (3.14.0)
|
|
87
|
+
addressable (>= 2.8.0)
|
|
72
88
|
crack (>= 0.3.2)
|
|
73
89
|
hashdiff (>= 0.4.0, < 2.0.0)
|
|
74
90
|
|
|
75
91
|
PLATFORMS
|
|
76
|
-
|
|
92
|
+
x86_64-darwin-20
|
|
93
|
+
x86_64-linux
|
|
77
94
|
|
|
78
95
|
DEPENDENCIES
|
|
79
96
|
awesome_print
|
|
@@ -88,4 +105,4 @@ DEPENDENCIES
|
|
|
88
105
|
webmock
|
|
89
106
|
|
|
90
107
|
BUNDLED WITH
|
|
91
|
-
2.
|
|
108
|
+
2.2.28
|
data/Rakefile
CHANGED
data/lib/vidar/cli.rb
CHANGED
|
@@ -158,7 +158,7 @@ module Vidar
|
|
|
158
158
|
else
|
|
159
159
|
Log.info "Available containers:"
|
|
160
160
|
containers.each(&:print)
|
|
161
|
-
container = containers.
|
|
161
|
+
container = containers.detect { c.name == 'console' } || containers.last
|
|
162
162
|
|
|
163
163
|
Log.info "Running #{options[:command]} in #{container.pod_name}"
|
|
164
164
|
Run.kubectl("exec -it #{container.pod_name} -- #{options[:command]}")
|
data/lib/vidar/interpolation.rb
CHANGED
|
@@ -57,13 +57,13 @@ module Vidar
|
|
|
57
57
|
def data(message:, color:)
|
|
58
58
|
text = [message].flatten.compact.join("\n")
|
|
59
59
|
{
|
|
60
|
-
|
|
60
|
+
attachments: [
|
|
61
61
|
{
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
62
|
+
title: github,
|
|
63
|
+
title_link: github_url,
|
|
64
|
+
color: color,
|
|
65
|
+
text: text,
|
|
66
|
+
fallback: text,
|
|
67
67
|
}
|
|
68
68
|
]
|
|
69
69
|
}
|
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.4.
|
|
4
|
+
version: 1.4.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:
|
|
12
|
+
date: 2021-09-30 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: colorize
|
|
@@ -188,6 +188,7 @@ executables:
|
|
|
188
188
|
extensions: []
|
|
189
189
|
extra_rdoc_files: []
|
|
190
190
|
files:
|
|
191
|
+
- ".bundler-version"
|
|
191
192
|
- ".dependabot/config.yml"
|
|
192
193
|
- ".github/ISSUE_TEMPLATE/bug_report.md"
|
|
193
194
|
- ".github/ISSUE_TEMPLATE/config.yml"
|
|
@@ -195,9 +196,10 @@ files:
|
|
|
195
196
|
- ".github/PULL_REQUEST_TEMPLATE.md"
|
|
196
197
|
- ".github/workflows/auto-approve.yml"
|
|
197
198
|
- ".github/workflows/auto-merge.yml"
|
|
199
|
+
- ".github/workflows/ci.yml"
|
|
198
200
|
- ".gitignore"
|
|
199
201
|
- ".rspec"
|
|
200
|
-
-
|
|
202
|
+
- CHANGELOG.md
|
|
201
203
|
- Gemfile
|
|
202
204
|
- Gemfile.lock
|
|
203
205
|
- LICENSE
|
|
@@ -240,7 +242,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
240
242
|
- !ruby/object:Gem::Version
|
|
241
243
|
version: '0'
|
|
242
244
|
requirements: []
|
|
243
|
-
rubygems_version: 3.
|
|
245
|
+
rubygems_version: 3.2.23
|
|
244
246
|
signing_key:
|
|
245
247
|
specification_version: 4
|
|
246
248
|
summary: K8s deployment tools based on thor
|