kubernetes_template_rendering 0.2.0 → 0.2.1.pre.dc.1

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: faeb29036b624168016b45f8b3ec72e0d39328a8a9a82c256125873264a49796
4
- data.tar.gz: f5c5269ab942419534e0886cd5a8f015c77b5540b9ba2c8105c4bfa6ff6bb879
3
+ metadata.gz: a5eb9918b478b573e9b48710f3b9105f3eb8c9f553f2da71418398eb09128839
4
+ data.tar.gz: 66ede9a7aa42e4c046e54fd25929b4795c00606a98f06615039b57630ff506ad
5
5
  SHA512:
6
- metadata.gz: 6878a2582ffcf67e8466a260be80a1a6b29a52164bfe42d9737f15da07410245757ca7f232426c13b67bca27b420c26d800018bfe010f34887a76bd12c25a95d
7
- data.tar.gz: 8f1c70852a002f85c23636bf25d120e2e7ac4a37c933c620c6c52e2c5ce3b66bd001073c25f95a9a339b67c2d0fd4a4d0f4cd000336b9f90558570122673a16b
6
+ metadata.gz: 42f405173490ee26205f0de2c87dc5318d34305b09cfe6dee25c2637859719d69015d81f04e7a9edfd105bd95fd7b995c6e26c963a2a76634248a2f97510f11d
7
+ data.tar.gz: a79b3e0b07e476e3b7b80c411f55ae2f58727a3ef20a85d5af92749dd8ca1a79521ab67e5253dfaeb44ce627cf80d60e00ec4ea0c862af476cc1dfca83bdacf3
data/CHANGELOG.md CHANGED
@@ -4,6 +4,10 @@ Inspired by [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
4
4
 
5
5
  Note: this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
6
 
7
+ ## [0.2.1] - Unreleased
8
+ ### Fixed
9
+ - Fixed a bug allowing child process errors to be ignored while rendering.
10
+
7
11
  ## [0.2.0] - 2024-05-06
8
12
  ### Added
9
13
  - Added support for passing `--source-repo` flag into command line so that the rendered manifest comments can include a link to the source repository.
@@ -40,7 +40,7 @@ module KubernetesTemplateRendering
40
40
  else
41
41
  # this is the child
42
42
  render_set(args, resource_set)
43
- Kernel.exit! # skip at_exit handlers since parent will run those
43
+ Kernel.exit!(0) # skip at_exit handlers since parent will run those
44
44
  end
45
45
  else
46
46
  render_set(args, resource_set)
@@ -49,7 +49,11 @@ module KubernetesTemplateRendering
49
49
  end
50
50
 
51
51
  if args.fork?
52
- Process.waitall
52
+ process_statuses = Process.waitall
53
+
54
+ if (failed_processes = process_statuses.select { |_, status| !status.success? }).any?
55
+ raise "Child process completed with non-zero status: #{failed_processes.inspect}"
56
+ end
53
57
  end
54
58
  end
55
59
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module KubernetesTemplateRendering
4
- VERSION = "0.2.0"
4
+ VERSION = "0.2.1.pre.dc.1"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kubernetes_template_rendering
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1.pre.dc.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Octothorpe
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-05-06 00:00:00.000000000 Z
11
+ date: 2024-06-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -104,11 +104,11 @@ required_ruby_version: !ruby/object:Gem::Requirement
104
104
  version: 3.1.0
105
105
  required_rubygems_version: !ruby/object:Gem::Requirement
106
106
  requirements:
107
- - - ">="
107
+ - - ">"
108
108
  - !ruby/object:Gem::Version
109
- version: '0'
109
+ version: 1.3.1
110
110
  requirements: []
111
- rubygems_version: 3.4.21
111
+ rubygems_version: 3.3.26
112
112
  signing_key:
113
113
  specification_version: 4
114
114
  summary: Tool for rendering ERB and Jsonnet templates