beaker-hostgenerator 3.5.0 → 3.7.0

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: 3d684b7c52b23c91818f1c412732a5804a971086dc4ea96e3bc17291a6af736e
4
- data.tar.gz: 367d300c983a2c19ac39363c0ee03ec18c69c12e6322dff265b876f396a9b65a
3
+ metadata.gz: c5a387864e324209b4f452237f52b7cd991129c3368a75c754abc0039cae7aae
4
+ data.tar.gz: e20f04456f7e482fa9ba4a0c06c0ce699fab1a8b2215aa7e6171b5feceeec4f7
5
5
  SHA512:
6
- metadata.gz: 1f89e7e60e9ffa3b538698f7fcce73b87fab82be0f723f6a8da3a2344ec1ed6cc87c553ef6dd3d8b7ddc48840f5161098b4b019d74fdfa4ad6ea41dfc55469ed
7
- data.tar.gz: 35d714392a9e7f9a2fa56643d1fd3755b986bd48024c3b156b6c96c7055d167173876cdad75d755807835e1b5e05d675e7b514bf7104bcd2faae8cce2cb3d0bc
6
+ metadata.gz: bf196f166653e05dea136dffb4cf52bfffe807830a786d7d9197a96d58eb3cab637615fd900f432cca58b405319e0b92a55cba29e823f5c7487ee0adaf131e38
7
+ data.tar.gz: '099b26b6252aeb7ee3e413526a6e8f0adf7247fc2bc70a4ad3d4f29f47a3473ccceaa6a99cf2b0a5e2cd2057c3a8b2503768e1494e11ae9ec4013bf0253afc78'
@@ -15,16 +15,16 @@ jobs:
15
15
  name: Build the gem
16
16
  runs-on: ubuntu-24.04
17
17
  steps:
18
- - uses: actions/checkout@v6
18
+ - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
19
19
  - name: Install Ruby
20
- uses: ruby/setup-ruby@v1
20
+ uses: ruby/setup-ruby@d45b1a4e94b71acab930e56e79c6aa188764e7f9 # v1.316.0
21
21
  with:
22
22
  ruby-version: 'ruby'
23
23
  - name: Build gem
24
24
  shell: bash
25
25
  run: gem build --verbose *.gemspec
26
26
  - name: Upload gem to GitHub cache
27
- uses: actions/upload-artifact@v7
27
+ uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
28
28
  with:
29
29
  name: gem-artifact
30
30
  path: '*.gem'
@@ -39,7 +39,7 @@ jobs:
39
39
  contents: write # clone repo and create release
40
40
  steps:
41
41
  - name: Download gem from GitHub cache
42
- uses: actions/download-artifact@v8
42
+ uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
43
43
  with:
44
44
  name: gem-artifact
45
45
  - name: Create Release
@@ -56,7 +56,7 @@ jobs:
56
56
  packages: write # publish to rubygems.pkg.github.com
57
57
  steps:
58
58
  - name: Download gem from GitHub cache
59
- uses: actions/download-artifact@v8
59
+ uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
60
60
  with:
61
61
  name: gem-artifact
62
62
  - name: Publish gem to GitHub packages
@@ -73,10 +73,10 @@ jobs:
73
73
  id-token: write # rubygems.org authentication
74
74
  steps:
75
75
  - name: Download gem from GitHub cache
76
- uses: actions/download-artifact@v8
76
+ uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
77
77
  with:
78
78
  name: gem-artifact
79
- - uses: rubygems/configure-rubygems-credentials@v1.0.0
79
+ - uses: rubygems/configure-rubygems-credentials@dc5a8d8553e6ee01fc26761a49e99e733d17954a # v2.1.0
80
80
  - name: Publish gem to rubygems.org
81
81
  shell: bash
82
82
  run: gem push *.gem
@@ -92,11 +92,11 @@ jobs:
92
92
  - release-to-rubygems
93
93
  steps:
94
94
  - name: Download gem from GitHub cache
95
- uses: actions/download-artifact@v8
95
+ uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
96
96
  with:
97
97
  name: gem-artifact
98
98
  - name: Install Ruby
99
- uses: ruby/setup-ruby@v1
99
+ uses: ruby/setup-ruby@d45b1a4e94b71acab930e56e79c6aa188764e7f9 # v1.316.0
100
100
  with:
101
101
  ruby-version: 'ruby'
102
102
  - name: Wait for release to propagate
@@ -15,16 +15,16 @@ jobs:
15
15
  outputs:
16
16
  ruby: ${{ steps.ruby.outputs.versions }}
17
17
  steps:
18
- - uses: actions/checkout@v6
18
+ - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
19
19
  - name: Install Ruby 4.0
20
- uses: ruby/setup-ruby@v1
20
+ uses: ruby/setup-ruby@d45b1a4e94b71acab930e56e79c6aa188764e7f9 # v1.316.0
21
21
  with:
22
22
  ruby-version: '4.0'
23
23
  bundler-cache: true
24
24
  - name: Run RuboCop
25
25
  run: bundle exec rake rubocop
26
26
  - id: ruby
27
- uses: voxpupuli/ruby-version@v2
27
+ uses: voxpupuli/ruby-version@656370e339050da63b86b1c631f5f88a3f4c0803 # 1.0.1
28
28
 
29
29
  test:
30
30
  name: "Ruby ${{ matrix.ruby }}"
@@ -35,9 +35,9 @@ jobs:
35
35
  matrix:
36
36
  ruby: ${{ fromJSON(needs.rubocop_and_matrix.outputs.ruby) }}
37
37
  steps:
38
- - uses: actions/checkout@v6
38
+ - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
39
39
  - name: Setup ruby
40
- uses: ruby/setup-ruby@v1
40
+ uses: ruby/setup-ruby@d45b1a4e94b71acab930e56e79c6aa188764e7f9 # v1.316.0
41
41
  with:
42
42
  ruby-version: ${{ matrix.ruby }}
43
43
  bundler-cache: true
data/CHANGELOG.md CHANGED
@@ -2,6 +2,28 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file.
4
4
 
5
+ ## [3.7.0](https://github.com/voxpupuli/beaker-hostgenerator/tree/3.7.0) (2026-07-09)
6
+
7
+ [Full Changelog](https://github.com/voxpupuli/beaker-hostgenerator/compare/3.6.0...3.7.0)
8
+
9
+ **Implemented enhancements:**
10
+
11
+ - Add Oracle 10 Support [\#468](https://github.com/voxpupuli/beaker-hostgenerator/pull/468) ([smahima27](https://github.com/smahima27))
12
+
13
+ **Fixed bugs:**
14
+
15
+ - EL8 & newer: Install gnupg2 [\#462](https://github.com/voxpupuli/beaker-hostgenerator/pull/462) ([bastelfreak](https://github.com/bastelfreak))
16
+
17
+ ## [3.6.0](https://github.com/voxpupuli/beaker-hostgenerator/tree/3.6.0) (2026-04-27)
18
+
19
+ [Full Changelog](https://github.com/voxpupuli/beaker-hostgenerator/compare/3.5.0...3.6.0)
20
+
21
+ **Implemented enhancements:**
22
+
23
+ - Add Ubuntu 26.04 support [\#463](https://github.com/voxpupuli/beaker-hostgenerator/pull/463) ([bastelfreak](https://github.com/bastelfreak))
24
+ - Add redhat support to docker hypervisor [\#459](https://github.com/voxpupuli/beaker-hostgenerator/pull/459) ([melck](https://github.com/melck))
25
+ - Add Debian 13 \(Trixie\) support for Vagrant hypervisor [\#458](https://github.com/voxpupuli/beaker-hostgenerator/pull/458) ([melck](https://github.com/melck))
26
+
5
27
  ## [3.5.0](https://github.com/voxpupuli/beaker-hostgenerator/tree/3.5.0) (2026-03-18)
6
28
 
7
29
  [Full Changelog](https://github.com/voxpupuli/beaker-hostgenerator/compare/3.4.0...3.5.0)
@@ -203,10 +225,6 @@ All notable changes to this project will be documented in this file.
203
225
 
204
226
  - Add Amazon 2 [\#372](https://github.com/voxpupuli/beaker-hostgenerator/pull/372) ([joshcooper](https://github.com/joshcooper))
205
227
 
206
- **Fixed bugs:**
207
-
208
- - Don't prepend amd64/ for opensuse images [\#371](https://github.com/voxpupuli/beaker-hostgenerator/pull/371) ([h-haaks](https://github.com/h-haaks))
209
-
210
228
  ## [2.12.2](https://github.com/voxpupuli/beaker-hostgenerator/tree/2.12.2) (2024-05-22)
211
229
 
212
230
  [Full Changelog](https://github.com/voxpupuli/beaker-hostgenerator/compare/2.12.1...2.12.2)
@@ -754,7 +754,7 @@ module BeakerHostGenerator
754
754
  end
755
755
 
756
756
  # Oracle
757
- (7..10).each do |release|
757
+ (7..11).each do |release|
758
758
  yield ["oracle#{release}-64", "el-#{release}-x86_64"]
759
759
  yield ["oracle#{release}-AARCH64", "el-#{release}-aarch64"] if release == 9
760
760
  end
@@ -779,7 +779,7 @@ module BeakerHostGenerator
779
779
  # Ubuntu
780
780
  #
781
781
  # Generate LTS platforms
782
- (18..24).select(&:even?).each do |release|
782
+ (18..26).select(&:even?).each do |release|
783
783
  yield ["ubuntu#{release}04-64", "ubuntu-#{release}.04-amd64"]
784
784
 
785
785
  yield ["ubuntu#{release}04-POWER", "ubuntu-#{release}.04-ppc64el"]
@@ -20,7 +20,8 @@ module BeakerHostGenerator
20
20
  base_config['image'].prepend('amd64/') if
21
21
  node_info['bits'] == '64' &&
22
22
  !base_config['image'].start_with?('quay.io/') &&
23
- !base_config['image'].start_with?('opensuse/')
23
+ !base_config['image'].start_with?('opensuse/') &&
24
+ !ostype.start_with?('redhat')
24
25
 
25
26
  base_generate_node(node_info, base_config, bhg_version, :docker)
26
27
  end
@@ -31,6 +32,9 @@ module BeakerHostGenerator
31
32
  image = ostype.sub(/(\d)/, ':\1')
32
33
 
33
34
  case ostype
35
+ when /^redhat/
36
+ version = ostype.delete_prefix('redhat')
37
+ image = "redhat/ubi#{version}-init:latest"
34
38
  when /^centos/
35
39
  version = ostype.delete_prefix('centos')
36
40
  tag = (version.to_i >= 8) ? "stream#{version}" : "centos#{version}"
@@ -81,7 +85,7 @@ module BeakerHostGenerator
81
85
 
82
86
  def el_package_install_command(version)
83
87
  if version >= 8
84
- 'dnf install -y cronie crontabs initscripts iproute openssl wget which glibc-langpack-en hostname'
88
+ 'dnf install -y cronie crontabs initscripts iproute openssl wget which glibc-langpack-en hostname gnupg2'
85
89
  else
86
90
  'yum install -y crontabs initscripts iproute openssl wget which sysvinit-tools tar ss'
87
91
  end
@@ -10,6 +10,7 @@ module BeakerHostGenerator
10
10
  DEBIAN_VERSION_CODES = {
11
11
  # No newer releases available
12
12
  # https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1104105
13
+ '13' => 'trixie',
13
14
  '12' => 'bookworm',
14
15
  '11' => 'bullseye',
15
16
  '10' => 'buster',
@@ -1,5 +1,5 @@
1
1
  module BeakerHostGenerator
2
2
  module Version
3
- STRING = '3.5.0'
3
+ STRING = '3.7.0'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: beaker-hostgenerator
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.5.0
4
+ version: 3.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Branan Purvine-Riley
@@ -207,7 +207,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
207
207
  - !ruby/object:Gem::Version
208
208
  version: '0'
209
209
  requirements: []
210
- rubygems_version: 4.0.6
210
+ rubygems_version: 4.0.10
211
211
  specification_version: 4
212
212
  summary: Beaker Host Generator Utility
213
213
  test_files: []