vidar 1.17.1 → 1.17.2
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/CHANGELOG.md +4 -0
- data/Gemfile.lock +1 -1
- data/lib/vidar/config.rb +0 -7
- 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: 84cd07701d569a4f0e08d3aaf2e39571724485a2cc9c88dd1e62571fbdc0be53
|
|
4
|
+
data.tar.gz: 8c166224e63132ed4c0a41fd3854082d7c3de19f16874e15045aa30ab6b27d6a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2588ae743dfcc556ad9de59d0bf4152d7f798650659e5b7ad3b67e14b107718ab0d21003dfb900f4b19ac214cbbfd2e6c5ca9b6b3b8053449ea5623de23e7d53
|
|
7
|
+
data.tar.gz: 6a4c208e32b45a856584339907a03bdf084a9cbc41624a1e37c8b23505c98b485dc88cc0af59ebd719bc8952e7c97f83796752d66812d4d20a73fdc956c6a123
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# CHANGELOG
|
|
2
2
|
|
|
3
|
+
## 1.17.2 - 2026-05-21
|
|
4
|
+
|
|
5
|
+
- Remove required key validation from `vidar.yml` — config loads without requiring any top-level keys; deployments structure is still validated
|
|
6
|
+
|
|
3
7
|
## 1.17.1 - 2026-05-19
|
|
4
8
|
|
|
5
9
|
- Fix `monitor_deploy_status` failing the deploy promotion when `--max_tries` is passed: Thor's `invoke :notify_sentry` was forwarding the parent task's ARGV as positional args. Pass explicit empty args/options to scope the sub-invocation.
|
data/Gemfile.lock
CHANGED
data/lib/vidar/config.rb
CHANGED
|
@@ -4,8 +4,6 @@ module Vidar
|
|
|
4
4
|
class Config
|
|
5
5
|
DEFAULT_MANIFEST_FILE = "vidar.yml".freeze
|
|
6
6
|
DEFAULT_BRANCHES = %w[main master].freeze
|
|
7
|
-
REQUIRED_KEYS = %w[image namespace github].freeze
|
|
8
|
-
|
|
9
7
|
DEFAULT_OPTIONS = {
|
|
10
8
|
compose_file: -> { "docker-compose.ci.yml" },
|
|
11
9
|
compose_cmd: -> { "docker compose" },
|
|
@@ -26,10 +24,8 @@ module Vidar
|
|
|
26
24
|
attr_reader :data
|
|
27
25
|
attr_writer :manifest_file
|
|
28
26
|
|
|
29
|
-
# Loads the manifest file and validates required keys.
|
|
30
27
|
# @param file_path [String] path to vidar.yml
|
|
31
28
|
# @raise [MissingManifestFileError] if the file does not exist
|
|
32
|
-
# @raise [Error] if required keys are missing or schema is invalid
|
|
33
29
|
def load(file_path = manifest_file)
|
|
34
30
|
ensure_file_exist!(file_path)
|
|
35
31
|
|
|
@@ -122,9 +118,6 @@ module Vidar
|
|
|
122
118
|
private
|
|
123
119
|
|
|
124
120
|
def validate_schema!
|
|
125
|
-
missing = REQUIRED_KEYS.reject { |k| @data.key?(k) }
|
|
126
|
-
fail(Error, "vidar.yml is missing required keys: #{missing.join(", ")}") if missing.any?
|
|
127
|
-
|
|
128
121
|
deployments = @data["deployments"]
|
|
129
122
|
fail(Error, "vidar.yml: 'deployments' must be a Hash, got #{deployments.class}") if deployments && !deployments.is_a?(Hash)
|
|
130
123
|
|
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.17.
|
|
4
|
+
version: 1.17.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Krzysztof Knapik
|
|
@@ -123,7 +123,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
123
123
|
- !ruby/object:Gem::Version
|
|
124
124
|
version: '0'
|
|
125
125
|
requirements: []
|
|
126
|
-
rubygems_version: 4.0.
|
|
126
|
+
rubygems_version: 4.0.12
|
|
127
127
|
specification_version: 4
|
|
128
128
|
summary: K8s deployment tools based on thor
|
|
129
129
|
test_files: []
|