beaker-hostgenerator 1.6.1 → 1.7.0

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: 7b2a6c099303930ab796b759e8a34d3e75533cad6836969f5044074cb0875af3
4
- data.tar.gz: 381973aaccc24b4d67e2f08f454b1aace9870eef4d9cf989a35d7b32f4b9e75f
3
+ metadata.gz: 132dc94d5189e4ca79255f915ed53ef895b607a82df75f01948ee1e3ae97d3d8
4
+ data.tar.gz: 75682b346b6d75f4a7bf457a0364919dc910698faa2ac7a318fdd1a2daae1824
5
5
  SHA512:
6
- metadata.gz: f75e1a1294c8a82a05a331a7b83bc60725dd2e7ee6cf0ab372cfc5bdaaaf365b33a07c8065a09264107f3b36008170d9313adb40534b92226d360d3338775a40
7
- data.tar.gz: 57ebb87964fabac1f6af16b213674b9141e163179aff18c3d706a18de64ea79ba6f9c4ffda9b6cc4f8b309c5c0cf7053d0e65f2801a1633e787fcce6867c1e9d
6
+ metadata.gz: 3a3ee4782860c88a2f5717f5f0a1eb8e65686ca9c0e1b165cadb9154cc24234261a0a86477bfea4b548aae4db6e68e07a9832ef0ece0a88ebc57e5a3252e9854
7
+ data.tar.gz: 18b20b4d3b7f9bdc007b60afebdf2609e3bc2f9212b26953fb9fada146793d083e1ec602778c359d85381447f0ce18bdce4788a72097860c770db3d0917b2b10
data/CHANGELOG.md CHANGED
@@ -2,6 +2,16 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file.
4
4
 
5
+ ## [1.7.0](https://github.com/voxpupuli/beaker-hostgenerator/tree/1.7.0) (2021-09-22)
6
+
7
+ [Full Changelog](https://github.com/voxpupuli/beaker-hostgenerator/compare/1.6.1...1.7.0)
8
+
9
+ **Implemented enhancements:**
10
+
11
+ - \(IMAGES-1302\) Add Alma and Rocky 8 support [\#226](https://github.com/voxpupuli/beaker-hostgenerator/pull/226) ([GabrielNagy](https://github.com/GabrielNagy))
12
+ - Add RedHat 8 FIPS platform definition [\#224](https://github.com/voxpupuli/beaker-hostgenerator/pull/224) ([GabrielNagy](https://github.com/GabrielNagy))
13
+ - Remove stringify-hash as a dependency [\#219](https://github.com/voxpupuli/beaker-hostgenerator/pull/219) ([ekohl](https://github.com/ekohl))
14
+
5
15
  ## [1.6.1](https://github.com/voxpupuli/beaker-hostgenerator/tree/1.6.1) (2021-08-26)
6
16
 
7
17
  [Full Changelog](https://github.com/voxpupuli/beaker-hostgenerator/compare/1.6.0...1.6.1)
@@ -34,7 +34,4 @@ eos
34
34
 
35
35
  # Run time dependencies
36
36
  s.add_runtime_dependency 'deep_merge', '~> 1.0'
37
- s.add_runtime_dependency 'stringify-hash', '~> 0.0.0'
38
-
39
37
  end
40
-
@@ -186,6 +186,17 @@ module BeakerHostGenerator
186
186
  'template' => 'aix-7.2-power'
187
187
  }
188
188
  },
189
+ 'almalinux8-64' => {
190
+ :general => {
191
+ 'platform' => 'el-8-x86_64',
192
+ },
193
+ :docker => {
194
+ 'docker_image_commands' => [
195
+ 'cp /bin/true /sbin/agetty',
196
+ 'yum install -y crontabs initscripts iproute openssl wget which glibc-langpack-en'
197
+ ]
198
+ }
199
+ },
189
200
  'amazon6-64' => {
190
201
  :general => {
191
202
  'platform' => 'el-6-x86_64',
@@ -992,6 +1003,15 @@ module BeakerHostGenerator
992
1003
  'template' => 'redhat-8-x86_64'
993
1004
  }
994
1005
  },
1006
+ 'redhatfips8-64' => {
1007
+ :general => {
1008
+ 'platform' => 'el-8-x86_64',
1009
+ 'packaging_platform' => 'redhatfips-8-x86_64'
1010
+ },
1011
+ :vmpooler => {
1012
+ 'template' => 'redhat-fips-8-x86_64'
1013
+ }
1014
+ },
995
1015
  'redhat8-AARCH64' => {
996
1016
  :general => {
997
1017
  'platform' => 'el-8-aarch64',
@@ -1013,6 +1033,17 @@ module BeakerHostGenerator
1013
1033
  'template' => 'redhat-8-power8'
1014
1034
  }
1015
1035
  },
1036
+ 'rocky8-64' => {
1037
+ :general => {
1038
+ 'platform' => 'el-8-x86_64',
1039
+ },
1040
+ :docker => {
1041
+ 'docker_image_commands' => [
1042
+ 'cp /bin/true /sbin/agetty',
1043
+ 'yum install -y crontabs initscripts iproute openssl wget which glibc-langpack-en'
1044
+ ]
1045
+ }
1046
+ },
1016
1047
  'scientific5-32' => {
1017
1048
  :general => {
1018
1049
  'platform' => 'el-5-i386',
@@ -18,10 +18,10 @@ module BeakerHostGenerator
18
18
  base_config = base_generate_node(node_info, base_config, bhg_version, :vmpooler)
19
19
 
20
20
  case node_info['ostype']
21
- when /^centos/
22
- base_config['template'] = base_config['platform'].gsub(/^el/, 'centos')
21
+ when /^(almalinux|centos|redhat|rocky)/
22
+ base_config['template'] ||= base_config['platform'].gsub(/^el/, $1)
23
23
  when /^fedora/
24
- base_config['template'] = base_config['platform']
24
+ base_config['template'] ||= base_config['platform']
25
25
  when /^ubuntu/
26
26
  arch = case node_info['bits']
27
27
  when '64'
@@ -32,7 +32,7 @@ module BeakerHostGenerator
32
32
  nil
33
33
  end
34
34
 
35
- base_config['template'] = "#{node_info['ostype'].sub('ubuntu', 'ubuntu-')}-#{arch}" if arch
35
+ base_config['template'] ||= "#{node_info['ostype'].sub('ubuntu', 'ubuntu-')}-#{arch}" if arch
36
36
  end
37
37
 
38
38
  # Some vmpooler/vsphere platforms have special requirements.
@@ -1,5 +1,5 @@
1
1
  module BeakerHostGenerator
2
2
  module Version
3
- STRING = '1.6.1'
3
+ STRING = '1.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: 1.6.1
4
+ version: 1.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Branan Purvine-Riley
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2021-08-26 00:00:00.000000000 Z
13
+ date: 2021-09-22 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: minitest
@@ -158,20 +158,6 @@ dependencies:
158
158
  - - "~>"
159
159
  - !ruby/object:Gem::Version
160
160
  version: '1.0'
161
- - !ruby/object:Gem::Dependency
162
- name: stringify-hash
163
- requirement: !ruby/object:Gem::Requirement
164
- requirements:
165
- - - "~>"
166
- - !ruby/object:Gem::Version
167
- version: 0.0.0
168
- type: :runtime
169
- prerelease: false
170
- version_requirements: !ruby/object:Gem::Requirement
171
- requirements:
172
- - - "~>"
173
- - !ruby/object:Gem::Version
174
- version: 0.0.0
175
161
  description: |
176
162
  The beaker-hostgenerator tool will take a Beaker SUT (System Under Test) spec as
177
163
  its first positional argument and use that to generate a Beaker host