beaker-hostgenerator 2.23.0 → 3.0.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 +4 -4
- data/.github/workflows/release.yml +86 -17
- data/.rubocop.yml +3 -0
- data/.rubocop_todo.yml +14 -89
- data/CHANGELOG.md +26 -0
- data/Rakefile +3 -1
- data/beaker-hostgenerator.gemspec +2 -2
- data/bin/beaker-hostgenerator +1 -1
- data/lib/beaker-hostgenerator/data.rb +27 -36
- data/lib/beaker-hostgenerator/parser.rb +1 -1
- data/lib/beaker-hostgenerator/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f276dad6906ee76b4cc7cffb911691a5d94232510dc6da471d62ddb7382a3ab9
|
4
|
+
data.tar.gz: 83e51abc94ec84aebb7c190772c8519418256497f36998b12824f437fd599433
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: daf745a1e9df53f70541309a87d2f671b6454f7772292bec38333a3d93353f74e981f81a005ff16ff469b9892e4bcf5560b94f58e65020400208f209a6b7ddad
|
7
|
+
data.tar.gz: 10ec395ae998aaa58807432142e788d69a39e99b82459c2f1995ede532888044b280517ef416c108414eac8a02c6d5a7dad2d3011c5d8fed7fe34a271296f728
|
@@ -1,35 +1,104 @@
|
|
1
|
-
|
1
|
+
---
|
2
|
+
name: Gem Release
|
2
3
|
|
3
4
|
on:
|
4
5
|
push:
|
5
6
|
tags:
|
6
7
|
- '*'
|
7
8
|
|
9
|
+
permissions: {}
|
10
|
+
|
8
11
|
jobs:
|
9
|
-
release:
|
10
|
-
|
12
|
+
build-release:
|
13
|
+
# Prevent releases from forked repositories
|
11
14
|
if: github.repository_owner == 'voxpupuli'
|
15
|
+
name: Build the gem
|
16
|
+
runs-on: ubuntu-24.04
|
12
17
|
steps:
|
13
18
|
- uses: actions/checkout@v4
|
14
|
-
- name: Install Ruby
|
19
|
+
- name: Install Ruby
|
15
20
|
uses: ruby/setup-ruby@v1
|
16
21
|
with:
|
17
|
-
ruby-version: '
|
18
|
-
env:
|
19
|
-
BUNDLE_WITHOUT: release
|
22
|
+
ruby-version: 'ruby'
|
20
23
|
- name: Build gem
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
+
shell: bash
|
25
|
+
run: gem build --verbose *.gemspec
|
26
|
+
- name: Upload gem to GitHub cache
|
27
|
+
uses: actions/upload-artifact@v4
|
28
|
+
with:
|
29
|
+
name: gem-artifact
|
30
|
+
path: '*.gem'
|
31
|
+
retention-days: 1
|
32
|
+
compression-level: 0
|
33
|
+
|
34
|
+
create-github-release:
|
35
|
+
needs: build-release
|
36
|
+
name: Create GitHub release
|
37
|
+
runs-on: ubuntu-24.04
|
38
|
+
permissions:
|
39
|
+
contents: write # clone repo and create release
|
40
|
+
steps:
|
41
|
+
- name: Download gem from GitHub cache
|
42
|
+
uses: actions/download-artifact@v4
|
43
|
+
with:
|
44
|
+
name: gem-artifact
|
45
|
+
- name: Create Release
|
46
|
+
shell: bash
|
24
47
|
env:
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
48
|
+
GH_TOKEN: ${{ github.token }}
|
49
|
+
run: gh release create --repo ${{ github.repository }} ${{ github.ref_name }} --generate-notes *.gem
|
50
|
+
|
51
|
+
release-to-github:
|
52
|
+
needs: build-release
|
53
|
+
name: Release to GitHub
|
54
|
+
runs-on: ubuntu-24.04
|
55
|
+
permissions:
|
56
|
+
packages: write # publish to rubygems.pkg.github.com
|
57
|
+
steps:
|
58
|
+
- name: Download gem from GitHub cache
|
59
|
+
uses: actions/download-artifact@v4
|
60
|
+
with:
|
61
|
+
name: gem-artifact
|
31
62
|
- name: Publish gem to GitHub packages
|
32
|
-
run: gem push --
|
63
|
+
run: gem push --host https://rubygems.pkg.github.com/${{ github.repository_owner }} *.gem
|
64
|
+
env:
|
65
|
+
GEM_HOST_API_KEY: ${{ secrets.GITHUB_TOKEN }}
|
66
|
+
|
67
|
+
release-to-rubygems:
|
68
|
+
needs: build-release
|
69
|
+
name: Release gem to rubygems.org
|
70
|
+
runs-on: ubuntu-24.04
|
71
|
+
environment: release # recommended by rubygems.org
|
72
|
+
permissions:
|
73
|
+
id-token: write # rubygems.org authentication
|
74
|
+
steps:
|
75
|
+
- name: Download gem from GitHub cache
|
76
|
+
uses: actions/download-artifact@v4
|
77
|
+
with:
|
78
|
+
name: gem-artifact
|
79
|
+
- uses: rubygems/configure-rubygems-credentials@v1.0.0
|
80
|
+
- name: Publish gem to rubygems.org
|
81
|
+
shell: bash
|
82
|
+
run: gem push *.gem
|
83
|
+
|
84
|
+
release-verification:
|
85
|
+
name: Check that all releases are done
|
86
|
+
runs-on: ubuntu-24.04
|
87
|
+
permissions:
|
88
|
+
contents: read # minimal permissions that we have to grant
|
89
|
+
needs:
|
90
|
+
- create-github-release
|
91
|
+
- release-to-github
|
92
|
+
- release-to-rubygems
|
93
|
+
steps:
|
94
|
+
- name: Download gem from GitHub cache
|
95
|
+
uses: actions/download-artifact@v4
|
96
|
+
with:
|
97
|
+
name: gem-artifact
|
98
|
+
- name: Install Ruby
|
99
|
+
uses: ruby/setup-ruby@v1
|
100
|
+
with:
|
101
|
+
ruby-version: 'ruby'
|
33
102
|
- name: Wait for release to propagate
|
34
103
|
shell: bash
|
35
104
|
run: |
|
data/.rubocop.yml
CHANGED
data/.rubocop_todo.yml
CHANGED
@@ -1,19 +1,11 @@
|
|
1
1
|
# This configuration was generated by
|
2
|
-
# `rubocop --auto-gen-config`
|
3
|
-
#
|
2
|
+
# `rubocop --auto-gen-config --no-auto-gen-timestamp`
|
3
|
+
# using RuboCop version 1.75.8.
|
4
4
|
# The point is for the user to remove these configuration records
|
5
5
|
# one by one as the offenses are removed from the code base.
|
6
6
|
# Note that changes in the inspected code, or installation of new
|
7
7
|
# versions of RuboCop, may require this file to be generated again.
|
8
8
|
|
9
|
-
# Offense count: 4
|
10
|
-
# Configuration parameters: EnforcedStyle, AllowedGems, Include.
|
11
|
-
# SupportedStyles: Gemfile, gems.rb, gemspec
|
12
|
-
# Include: **/*.gemspec, **/Gemfile, **/gems.rb
|
13
|
-
Gemspec/DevelopmentDependencies:
|
14
|
-
Exclude:
|
15
|
-
- 'beaker-hostgenerator.gemspec'
|
16
|
-
|
17
9
|
# Offense count: 1
|
18
10
|
Lint/MixedRegexpCaptureTypes:
|
19
11
|
Exclude:
|
@@ -31,42 +23,6 @@ Lint/SuppressedException:
|
|
31
23
|
- 'Rakefile'
|
32
24
|
- 'bin/beaker-hostgenerator'
|
33
25
|
|
34
|
-
# Offense count: 10
|
35
|
-
# Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes.
|
36
|
-
Metrics/AbcSize:
|
37
|
-
Max: 78
|
38
|
-
|
39
|
-
# Offense count: 3
|
40
|
-
# Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns, inherit_mode.
|
41
|
-
# AllowedMethods: refine
|
42
|
-
Metrics/BlockLength:
|
43
|
-
Max: 98
|
44
|
-
|
45
|
-
# Offense count: 1
|
46
|
-
# Configuration parameters: CountComments, CountAsOne.
|
47
|
-
Metrics/ClassLength:
|
48
|
-
Max: 161
|
49
|
-
|
50
|
-
# Offense count: 7
|
51
|
-
# Configuration parameters: AllowedMethods, AllowedPatterns.
|
52
|
-
Metrics/CyclomaticComplexity:
|
53
|
-
Max: 23
|
54
|
-
|
55
|
-
# Offense count: 20
|
56
|
-
# Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns.
|
57
|
-
Metrics/MethodLength:
|
58
|
-
Max: 1121
|
59
|
-
|
60
|
-
# Offense count: 4
|
61
|
-
# Configuration parameters: CountComments, CountAsOne.
|
62
|
-
Metrics/ModuleLength:
|
63
|
-
Max: 1199
|
64
|
-
|
65
|
-
# Offense count: 3
|
66
|
-
# Configuration parameters: AllowedMethods, AllowedPatterns.
|
67
|
-
Metrics/PerceivedComplexity:
|
68
|
-
Max: 25
|
69
|
-
|
70
26
|
# Offense count: 1
|
71
27
|
Naming/AccessorMethodName:
|
72
28
|
Exclude:
|
@@ -78,6 +34,7 @@ Naming/AccessorMethodName:
|
|
78
34
|
# AllowedAcronyms: CLI, DSL, ACL, API, ASCII, CPU, CSS, DNS, EOF, GUID, HTML, HTTP, HTTPS, ID, IP, JSON, LHS, QPS, RAM, RHS, RPC, SLA, SMTP, SQL, SSH, TCP, TLS, TTL, UDP, UI, UID, UUID, URI, URL, UTF8, VM, XML, XMPP, XSRF, XSS
|
79
35
|
Naming/FileName:
|
80
36
|
Exclude:
|
37
|
+
- 'Rakefile.rb'
|
81
38
|
- 'lib/beaker-hostgenerator.rb'
|
82
39
|
|
83
40
|
# Offense count: 2
|
@@ -98,9 +55,9 @@ Naming/HeredocDelimiterNaming:
|
|
98
55
|
- 'lib/beaker-hostgenerator/cli.rb'
|
99
56
|
|
100
57
|
# Offense count: 1
|
101
|
-
# Configuration parameters: NamePrefix, ForbiddenPrefixes, AllowedMethods, MethodDefinitionMacros.
|
102
|
-
# NamePrefix: is_, has_, have_
|
103
|
-
# ForbiddenPrefixes: is_, has_, have_
|
58
|
+
# Configuration parameters: NamePrefix, ForbiddenPrefixes, AllowedMethods, MethodDefinitionMacros, UseSorbetSigs.
|
59
|
+
# NamePrefix: is_, has_, have_, does_
|
60
|
+
# ForbiddenPrefixes: is_, has_, have_, does_
|
104
61
|
# AllowedMethods: is_a?
|
105
62
|
# MethodDefinitionMacros: define_method, define_singleton_method
|
106
63
|
Naming/PredicateName:
|
@@ -114,13 +71,6 @@ Performance/CollectionLiteralInLoop:
|
|
114
71
|
Exclude:
|
115
72
|
- 'lib/beaker-hostgenerator/parser.rb'
|
116
73
|
|
117
|
-
# Offense count: 3
|
118
|
-
# This cop supports safe autocorrection (--autocorrect).
|
119
|
-
Performance/RegexpMatch:
|
120
|
-
Exclude:
|
121
|
-
- 'Rakefile'
|
122
|
-
- 'lib/beaker-hostgenerator/hypervisor/vagrant.rb'
|
123
|
-
|
124
74
|
# Offense count: 2
|
125
75
|
# This cop supports unsafe autocorrection (--autocorrect-all).
|
126
76
|
Performance/StringInclude:
|
@@ -128,12 +78,6 @@ Performance/StringInclude:
|
|
128
78
|
- 'Rakefile'
|
129
79
|
- 'lib/beaker-hostgenerator/generator.rb'
|
130
80
|
|
131
|
-
# Offense count: 1
|
132
|
-
# This cop supports safe autocorrection (--autocorrect).
|
133
|
-
Performance/StringReplacement:
|
134
|
-
Exclude:
|
135
|
-
- 'lib/beaker-hostgenerator/parser.rb'
|
136
|
-
|
137
81
|
# Offense count: 7
|
138
82
|
# Configuration parameters: Prefixes, AllowedPatterns.
|
139
83
|
# Prefixes: when, with, without
|
@@ -144,7 +88,7 @@ RSpec/ContextWording:
|
|
144
88
|
|
145
89
|
# Offense count: 2
|
146
90
|
# This cop supports unsafe autocorrection (--autocorrect-all).
|
147
|
-
# Configuration parameters: SkipBlocks, EnforcedStyle.
|
91
|
+
# Configuration parameters: SkipBlocks, EnforcedStyle, OnlyStaticConstants.
|
148
92
|
# SupportedStyles: described_class, explicit
|
149
93
|
RSpec/DescribedClass:
|
150
94
|
Exclude:
|
@@ -156,14 +100,6 @@ RSpec/DescribedClass:
|
|
156
100
|
RSpec/ExampleLength:
|
157
101
|
Max: 35
|
158
102
|
|
159
|
-
# Offense count: 1
|
160
|
-
# This cop supports safe autocorrection (--autocorrect).
|
161
|
-
# Configuration parameters: CustomTransform, IgnoredWords, DisallowedExamples.
|
162
|
-
# DisallowedExamples: works
|
163
|
-
RSpec/ExampleWording:
|
164
|
-
Exclude:
|
165
|
-
- 'spec/beaker-hostgenerator/parser_spec.rb'
|
166
|
-
|
167
103
|
# Offense count: 7
|
168
104
|
RSpec/MultipleExpectations:
|
169
105
|
Max: 4
|
@@ -179,12 +115,6 @@ RSpec/VerifiedDoubles:
|
|
179
115
|
Exclude:
|
180
116
|
- 'spec/helpers.rb'
|
181
117
|
|
182
|
-
# Offense count: 2
|
183
|
-
# This cop supports safe autocorrection (--autocorrect).
|
184
|
-
Rake/Desc:
|
185
|
-
Exclude:
|
186
|
-
- 'Rakefile'
|
187
|
-
|
188
118
|
# Offense count: 1
|
189
119
|
Security/Eval:
|
190
120
|
Exclude:
|
@@ -196,13 +126,6 @@ Security/JSONLoad:
|
|
196
126
|
Exclude:
|
197
127
|
- 'spec/beaker-hostgenerator/abs_support_spec.rb'
|
198
128
|
|
199
|
-
# Offense count: 2
|
200
|
-
# This cop supports unsafe autocorrection (--autocorrect-all).
|
201
|
-
Security/YAMLLoad:
|
202
|
-
Exclude:
|
203
|
-
- 'spec/beaker-hostgenerator/generator_spec.rb'
|
204
|
-
- 'test/util/generator_helpers.rb'
|
205
|
-
|
206
129
|
# Offense count: 1
|
207
130
|
# This cop supports unsafe autocorrection (--autocorrect-all).
|
208
131
|
# Configuration parameters: EnforcedStyle.
|
@@ -220,14 +143,17 @@ Style/CaseLikeIf:
|
|
220
143
|
|
221
144
|
# Offense count: 1
|
222
145
|
# This cop supports unsafe autocorrection (--autocorrect-all).
|
223
|
-
# Configuration parameters: EnforcedStyle.
|
146
|
+
# Configuration parameters: EnforcedStyle, EnforcedStyleForClasses, EnforcedStyleForModules.
|
224
147
|
# SupportedStyles: nested, compact
|
148
|
+
# SupportedStylesForClasses: ~, nested, compact
|
149
|
+
# SupportedStylesForModules: ~, nested, compact
|
225
150
|
Style/ClassAndModuleChildren:
|
226
151
|
Exclude:
|
227
152
|
- 'lib/beaker-hostgenerator/hypervisor/unknown.rb'
|
228
153
|
|
229
154
|
# Offense count: 1
|
230
155
|
# This cop supports unsafe autocorrection (--autocorrect-all).
|
156
|
+
# Configuration parameters: AllowedReceivers.
|
231
157
|
Style/CollectionCompact:
|
232
158
|
Exclude:
|
233
159
|
- 'lib/beaker-hostgenerator/data.rb'
|
@@ -250,7 +176,7 @@ Style/Documentation:
|
|
250
176
|
- 'lib/beaker-hostgenerator/roles.rb'
|
251
177
|
- 'lib/beaker-hostgenerator/util.rb'
|
252
178
|
|
253
|
-
# Offense count:
|
179
|
+
# Offense count: 29
|
254
180
|
# This cop supports unsafe autocorrection (--autocorrect-all).
|
255
181
|
# Configuration parameters: EnforcedStyle.
|
256
182
|
# SupportedStyles: always, always_true, never
|
@@ -263,14 +189,13 @@ Style/LineEndConcatenation:
|
|
263
189
|
Exclude:
|
264
190
|
- 'lib/beaker-hostgenerator/cli.rb'
|
265
191
|
|
266
|
-
# Offense count:
|
192
|
+
# Offense count: 14
|
267
193
|
# This cop supports unsafe autocorrection (--autocorrect-all).
|
268
194
|
# Configuration parameters: EnforcedStyle.
|
269
195
|
# SupportedStyles: literals, strict
|
270
196
|
Style/MutableConstant:
|
271
197
|
Exclude:
|
272
198
|
- 'lib/beaker-hostgenerator/data.rb'
|
273
|
-
- 'lib/beaker-hostgenerator/parser.rb'
|
274
199
|
- 'lib/beaker-hostgenerator/roles.rb'
|
275
200
|
- 'lib/beaker-hostgenerator/version.rb'
|
276
201
|
- 'spec/helpers.rb'
|
@@ -307,7 +232,7 @@ Style/StringConcatenation:
|
|
307
232
|
|
308
233
|
# Offense count: 2
|
309
234
|
# This cop supports safe autocorrection (--autocorrect).
|
310
|
-
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns.
|
235
|
+
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns, SplitStrings.
|
311
236
|
# URISchemes: http, https
|
312
237
|
Layout/LineLength:
|
313
238
|
Max: 168
|
data/CHANGELOG.md
CHANGED
@@ -2,6 +2,32 @@
|
|
2
2
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
4
4
|
|
5
|
+
## [3.0.0](https://github.com/voxpupuli/beaker-hostgenerator/tree/3.0.0) (2025-08-03)
|
6
|
+
|
7
|
+
[Full Changelog](https://github.com/voxpupuli/beaker-hostgenerator/compare/2.24.0...3.0.0)
|
8
|
+
|
9
|
+
**Breaking changes:**
|
10
|
+
|
11
|
+
- Require Ruby 3.2 or newer [\#416](https://github.com/voxpupuli/beaker-hostgenerator/pull/416) ([bastelfreak](https://github.com/bastelfreak))
|
12
|
+
- Drop legacy EL6 data [\#322](https://github.com/voxpupuli/beaker-hostgenerator/pull/322) ([bastelfreak](https://github.com/bastelfreak))
|
13
|
+
|
14
|
+
**Implemented enhancements:**
|
15
|
+
|
16
|
+
- Add Redhat 10 AARCH [\#415](https://github.com/voxpupuli/beaker-hostgenerator/pull/415) ([smahima27](https://github.com/smahima27))
|
17
|
+
|
18
|
+
## [2.24.0](https://github.com/voxpupuli/beaker-hostgenerator/tree/2.24.0) (2025-05-24)
|
19
|
+
|
20
|
+
[Full Changelog](https://github.com/voxpupuli/beaker-hostgenerator/compare/2.23.0...2.24.0)
|
21
|
+
|
22
|
+
**Implemented enhancements:**
|
23
|
+
|
24
|
+
- add CentOS Stream 10 to the BHG data source [\#408](https://github.com/voxpupuli/beaker-hostgenerator/pull/408) ([duritong](https://github.com/duritong))
|
25
|
+
- Add Azure linux 3 [\#407](https://github.com/voxpupuli/beaker-hostgenerator/pull/407) ([smahima27](https://github.com/smahima27))
|
26
|
+
|
27
|
+
**Fixed bugs:**
|
28
|
+
|
29
|
+
- \(PA-7442\) Fix Windows Server 2025 platform entry in beaker-hostgenerator [\#410](https://github.com/voxpupuli/beaker-hostgenerator/pull/410) ([imaqsood](https://github.com/imaqsood))
|
30
|
+
|
5
31
|
## [2.23.0](https://github.com/voxpupuli/beaker-hostgenerator/tree/2.23.0) (2025-04-11)
|
6
32
|
|
7
33
|
[Full Changelog](https://github.com/voxpupuli/beaker-hostgenerator/compare/2.22.0...2.23.0)
|
data/Rakefile
CHANGED
@@ -3,6 +3,7 @@ require 'rake/testtask'
|
|
3
3
|
|
4
4
|
namespace :test do
|
5
5
|
namespace :spec do
|
6
|
+
desc 'run minitest tests'
|
6
7
|
task :minitest do
|
7
8
|
desc 'Run minitest tests'
|
8
9
|
Rake::TestTask.new do |task|
|
@@ -42,6 +43,7 @@ end
|
|
42
43
|
task 'test:spec' => ['test:spec:run', 'test:spec:minitest']
|
43
44
|
|
44
45
|
# global defaults
|
46
|
+
desc 'run all unit tests'
|
45
47
|
task test: 'test:spec'
|
46
48
|
task default: :test
|
47
49
|
|
@@ -57,7 +59,7 @@ begin
|
|
57
59
|
|
58
60
|
# Workaround for https://github.com/github-changelog-generator/github-changelog-generator/issues/715
|
59
61
|
require 'rbconfig'
|
60
|
-
if RbConfig::CONFIG['host_os']
|
62
|
+
if /linux/.match?(RbConfig::CONFIG['host_os'])
|
61
63
|
task :changelog do
|
62
64
|
puts 'Fixing line endings...'
|
63
65
|
changelog_file = File.join(__dir__, 'CHANGELOG.md')
|
@@ -19,7 +19,7 @@ Gem::Specification.new do |s|
|
|
19
19
|
s.executables = `git ls-files -- bin/*`.split("\n").map { |f| File.basename(f) }
|
20
20
|
s.require_paths = ['lib']
|
21
21
|
|
22
|
-
s.required_ruby_version = Gem::Requirement.new('>= 2
|
22
|
+
s.required_ruby_version = Gem::Requirement.new('>= 3.2')
|
23
23
|
|
24
24
|
# Testing dependencies
|
25
25
|
s.add_development_dependency 'fakefs', '>= 0.6', '< 4.0'
|
@@ -28,7 +28,7 @@ Gem::Specification.new do |s|
|
|
28
28
|
s.add_development_dependency 'rake', '~> 13.0'
|
29
29
|
s.add_development_dependency 'rspec', '~> 3.0'
|
30
30
|
s.add_development_dependency 'rspec-its', '>= 1.3.1', '< 3'
|
31
|
-
s.add_development_dependency 'voxpupuli-rubocop', '~>
|
31
|
+
s.add_development_dependency 'voxpupuli-rubocop', '~> 4.1.0'
|
32
32
|
|
33
33
|
# Run time dependencies
|
34
34
|
s.add_dependency 'deep_merge', '~> 1.0'
|
data/bin/beaker-hostgenerator
CHANGED
@@ -50,7 +50,7 @@ module BeakerHostGenerator
|
|
50
50
|
'main'
|
51
51
|
end
|
52
52
|
|
53
|
-
format(source,
|
53
|
+
format(source, "#{pe_branch}" || '')
|
54
54
|
end
|
55
55
|
|
56
56
|
PE_USE_WIN32 = ENV.fetch('pe_use_win32', nil)
|
@@ -106,14 +106,6 @@ module BeakerHostGenerator
|
|
106
106
|
'template' => 'aix-7.2-power',
|
107
107
|
},
|
108
108
|
},
|
109
|
-
'amazon6-64' => {
|
110
|
-
general: {
|
111
|
-
'platform' => 'el-6-x86_64',
|
112
|
-
},
|
113
|
-
abs: {
|
114
|
-
'template' => 'amazon-6-x86_64',
|
115
|
-
},
|
116
|
-
},
|
117
109
|
'amazon7-64' => {
|
118
110
|
general: {
|
119
111
|
'platform' => 'el-7-x86_64',
|
@@ -164,6 +156,15 @@ module BeakerHostGenerator
|
|
164
156
|
'box_url' => 'https://cloud.centos.org/centos/9-stream/x86_64/images/CentOS-Stream-Vagrant-9-latest.x86_64.vagrant-libvirt.box',
|
165
157
|
},
|
166
158
|
},
|
159
|
+
'centos10-64' => {
|
160
|
+
general: {
|
161
|
+
'platform' => 'el-10-x86_64',
|
162
|
+
},
|
163
|
+
vagrant: {
|
164
|
+
'box' => 'centos/stream10',
|
165
|
+
'box_url' => 'https://cloud.centos.org/centos/10-stream/x86_64/images/CentOS-Stream-Vagrant-10-latest.x86_64.vagrant-libvirt.box',
|
166
|
+
},
|
167
|
+
},
|
167
168
|
'debian10-64' => {
|
168
169
|
general: {
|
169
170
|
'platform' => 'debian-10-amd64',
|
@@ -274,27 +275,6 @@ module BeakerHostGenerator
|
|
274
275
|
'template' => 'macos-13-arm64',
|
275
276
|
},
|
276
277
|
},
|
277
|
-
'redhat6-32' => {
|
278
|
-
general: {
|
279
|
-
'platform' => 'el-6-i386',
|
280
|
-
},
|
281
|
-
vmpooler: {
|
282
|
-
'template' => 'redhat-6-i386',
|
283
|
-
},
|
284
|
-
},
|
285
|
-
'redhat6-64' => {
|
286
|
-
general: {
|
287
|
-
'platform' => 'el-6-x86_64',
|
288
|
-
},
|
289
|
-
vmpooler: {
|
290
|
-
'template' => 'redhat-6-x86_64',
|
291
|
-
},
|
292
|
-
},
|
293
|
-
'redhat6-S390X' => {
|
294
|
-
general: {
|
295
|
-
'platform' => 'el-6-s390x',
|
296
|
-
},
|
297
|
-
},
|
298
278
|
'redhat7-64' => {
|
299
279
|
general: {
|
300
280
|
'platform' => 'el-7-x86_64',
|
@@ -396,6 +376,17 @@ module BeakerHostGenerator
|
|
396
376
|
'platform' => 'el-10-x86_64',
|
397
377
|
},
|
398
378
|
},
|
379
|
+
'redhat10-AARCH64' => {
|
380
|
+
general: {
|
381
|
+
'platform' => 'el-10-aarch64',
|
382
|
+
},
|
383
|
+
abs: {
|
384
|
+
'template' => 'redhat-10-arm64',
|
385
|
+
},
|
386
|
+
vmpooler: {
|
387
|
+
'template' => 'redhat-10-arm64',
|
388
|
+
},
|
389
|
+
},
|
399
390
|
'rocky8-64' => {
|
400
391
|
general: {
|
401
392
|
'platform' => 'el-8-x86_64',
|
@@ -977,14 +968,14 @@ module BeakerHostGenerator
|
|
977
968
|
'template' => 'win-2019-core-x86_64',
|
978
969
|
},
|
979
970
|
},
|
980
|
-
'
|
971
|
+
'windows2025-64' => {
|
981
972
|
general: {
|
982
973
|
'platform' => 'windows-2025-64',
|
983
|
-
'packaging_platform' => 'windows-
|
974
|
+
'packaging_platform' => 'windows-2012-x64',
|
984
975
|
'ruby_arch' => 'x64',
|
985
976
|
},
|
986
977
|
vmpooler: {
|
987
|
-
'template' => 'win-2025-
|
978
|
+
'template' => 'win-2025-x64',
|
988
979
|
},
|
989
980
|
},
|
990
981
|
'windows2022-64' => {
|
@@ -1213,10 +1204,10 @@ module BeakerHostGenerator
|
|
1213
1204
|
yield %w[amazon2023-64 amazon-2023-x86_64]
|
1214
1205
|
yield %w[amazon2023-AARCH64 amazon-2023-aarch64]
|
1215
1206
|
yield %w[amazonfips2023-64 amazonfips-2023-x86_64]
|
1216
|
-
|
1207
|
+
# Azure Linux
|
1208
|
+
yield %w[azure3-64 azure-3-x86_64]
|
1217
1209
|
# Oracle / OracleLinux
|
1218
|
-
|
1219
|
-
(6..9).each do |release|
|
1210
|
+
(7..9).each do |release|
|
1220
1211
|
yield ["oracle#{release}-64", "el-#{release}-x86_64"]
|
1221
1212
|
end
|
1222
1213
|
|
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:
|
4
|
+
version: 3.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Branan Purvine-Riley
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
- Vox Pupuli
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date:
|
13
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: fakefs
|
@@ -114,14 +114,14 @@ dependencies:
|
|
114
114
|
requirements:
|
115
115
|
- - "~>"
|
116
116
|
- !ruby/object:Gem::Version
|
117
|
-
version:
|
117
|
+
version: 4.1.0
|
118
118
|
type: :development
|
119
119
|
prerelease: false
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
121
121
|
requirements:
|
122
122
|
- - "~>"
|
123
123
|
- !ruby/object:Gem::Version
|
124
|
-
version:
|
124
|
+
version: 4.1.0
|
125
125
|
- !ruby/object:Gem::Dependency
|
126
126
|
name: deep_merge
|
127
127
|
requirement: !ruby/object:Gem::Requirement
|
@@ -192,14 +192,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
192
192
|
requirements:
|
193
193
|
- - ">="
|
194
194
|
- !ruby/object:Gem::Version
|
195
|
-
version: '2
|
195
|
+
version: '3.2'
|
196
196
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
197
197
|
requirements:
|
198
198
|
- - ">="
|
199
199
|
- !ruby/object:Gem::Version
|
200
200
|
version: '0'
|
201
201
|
requirements: []
|
202
|
-
rubygems_version: 3.6.
|
202
|
+
rubygems_version: 3.6.9
|
203
203
|
specification_version: 4
|
204
204
|
summary: Beaker Host Generator Utility
|
205
205
|
test_files: []
|