beaker-hostgenerator 1.18.0 → 1.18.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: 16540347041d92360ba40f436e60f4e2ed70619814dbb59c74997bc3639f28b9
4
- data.tar.gz: edf020e5aca17dec0db631a380c87d6a66028de004732a7189d5f94b8fd82d19
3
+ metadata.gz: 99de0611f4a7330a169bc12359213635eadc4e820fea6d860727d5f74d0f3043
4
+ data.tar.gz: 7eceed33b7804cab7f940b77cee75d0c0a1e54de625e5908b3ee4eca19ba0b1b
5
5
  SHA512:
6
- metadata.gz: f5dca8dc5d3df2aff28a53a63fd440302e5eba1c9fd06f87a2f0fe7265aa46615cf3d87cbc7ec162818d379e9511b516529fcda317ab080a42728508a83943e4
7
- data.tar.gz: 2dd6e85f44ddfde8f5e004f2033b52f26e8c29fb4398b427dc3fb65f9c66ce35fd9980934e3019c95bceffc1c4887a02ca58c873d1c15623eab6c64296206fc4
6
+ metadata.gz: a2e3a91bdca8780e3679a0f24b88c8e48517da3d4209579433a348010a2a0213bd2a25d4a4d8b6fabbde33e5e5c12c30c48121aa0fd314c209858c0d12a7cb59
7
+ data.tar.gz: b534f3e88f5fc4f90f1d517ea00e13f9caa30d665abaf5ceea15dcd604df8977487b356eac41fefeea3d0d65e10407900250f0081fe4c4e8b499ec8773b52dcb
data/CHANGELOG.md CHANGED
@@ -2,6 +2,15 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file.
4
4
 
5
+ ## [1.18.1](https://github.com/voxpupuli/beaker-hostgenerator/tree/1.18.1) (2022-12-14)
6
+
7
+ [Full Changelog](https://github.com/voxpupuli/beaker-hostgenerator/compare/1.18.0...1.18.1)
8
+
9
+ **Fixed bugs:**
10
+
11
+ - AlmaLinux: Fix docker image names [\#265](https://github.com/voxpupuli/beaker-hostgenerator/pull/265) ([bastelfreak](https://github.com/bastelfreak))
12
+ - RockyLinux: Fix docker image names [\#264](https://github.com/voxpupuli/beaker-hostgenerator/pull/264) ([bastelfreak](https://github.com/bastelfreak))
13
+
5
14
  ## [1.18.0](https://github.com/voxpupuli/beaker-hostgenerator/tree/1.18.0) (2022-12-12)
6
15
 
7
16
  [Full Changelog](https://github.com/voxpupuli/beaker-hostgenerator/compare/1.17.0...1.18.0)
@@ -10,9 +10,19 @@ module BeakerHostGenerator
10
10
  def generate_node(node_info, base_config, bhg_version)
11
11
  base_config['docker_cmd'] = ['/sbin/init']
12
12
  base_config['image'] = node_info['ostype'].sub(/(\d)/, ':\1')
13
- base_config['image'].sub!(/\w+/, 'oraclelinux') if node_info['ostype'] =~ /^oracle/
14
- base_config['image'].sub!(/(\w+)/, '\1/leap') if node_info['ostype'] =~ /^opensuse/
15
- base_config['image'].sub!(/(\d{2})/, '\1.') if node_info['ostype'] =~ /^ubuntu/
13
+ case node_info['ostype']
14
+ when /^oracle/
15
+ base_config['image'].sub!(/\w+/, 'oraclelinux')
16
+ when /^opensuse/
17
+ base_config['image'].sub!(/(\w+)/, '\1/leap')
18
+ when /^ubuntu/
19
+ base_config['image'].sub!(/(\d{2})/, '\1.')
20
+ when /^rocky/
21
+ base_config['image'].sub!(/(\w+)/, 'rockylinux')
22
+ when /^alma/
23
+ base_config['image'].sub!(/(\w+)/, 'almalinux')
24
+ end
25
+
16
26
  if node_info['bits'] == '64'
17
27
  base_config['image'] = "amd64/#{base_config['image']}"
18
28
  end
@@ -1,5 +1,5 @@
1
1
  module BeakerHostGenerator
2
2
  module Version
3
- STRING = '1.18.0'
3
+ STRING = '1.18.1'
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.18.0
4
+ version: 1.18.1
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: 2022-12-12 00:00:00.000000000 Z
13
+ date: 2022-12-14 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: minitest