beaker 4.41.2 → 4.42.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -0
- data/lib/beaker/host/unix/file.rb +1 -1
- data/lib/beaker/platform.rb +2 -1
- data/lib/beaker/version.rb +1 -1
- data/spec/beaker/host/unix/file_spec.rb +8 -0
- data/spec/beaker/platform_spec.rb +5 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1a63a7ed4ec851c07c674f0f8a51da0ddd2e03b89ea87785bd5ab671dc6fca40
|
4
|
+
data.tar.gz: 2a633f6ce434e24973d9a9745aa874d331958d6e71a9661ace49c6438bc8f33b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fc3a5da17bb3926e772a7deb44376f616c5a1b6d6d1e43fff5f45c500517df977f839103df0c86a9840702225aa1b75f6c5719a6d6316621461c001e2dd296b2
|
7
|
+
data.tar.gz: 8f3dc4859da9ef8535e82ea4e7e49e7b4f90b6834198a14207142d6aaa6c9cda6b7066100521bedd64752c4e0bb8bd780ba06cb19760b7043c98617c898f0920
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## [4.42.0](https://github.com/voxpupuli/beaker/tree/4.42.0) (2024-03-27)
|
4
|
+
|
5
|
+
[Full Changelog](https://github.com/voxpupuli/beaker/compare/4.41.2...4.42.0)
|
6
|
+
|
7
|
+
**Implemented enhancements:**
|
8
|
+
|
9
|
+
- \[PE-37978\] Add 'amazon' to repo_filename method with tests [\#1861](https://github.com/voxpupuli/beaker/pull/1861) ([span786](https://github.com/span786))
|
10
|
+
- Add Ubuntu 24.04 noble codename [\#1851](https://github.com/voxpupuli/beaker/pull/1851) ([h0tw1r3](https://github.com/h0tw1r3))
|
11
|
+
|
3
12
|
## [4.41.2](https://github.com/voxpupuli/beaker/tree/4.41.2) (2023-12-18)
|
4
13
|
|
5
14
|
[Full Changelog](https://github.com/voxpupuli/beaker/compare/4.41.1...4.41.2)
|
@@ -113,7 +113,7 @@ module Unix::File
|
|
113
113
|
repo_filename = "pl-%s-%s-" % [ package_name, build_version ]
|
114
114
|
|
115
115
|
case variant
|
116
|
-
when /fedora|el|redhat|centos|cisco_nexus|cisco_ios_xr|opensuse|sles/
|
116
|
+
when /amazon|fedora|el|redhat|centos|cisco_nexus|cisco_ios_xr|opensuse|sles/
|
117
117
|
variant = 'el' if ['centos', 'redhat'].include?(variant)
|
118
118
|
|
119
119
|
variant = 'redhatfips' if self['packaging_platform']&.include?('redhatfips')
|
data/lib/beaker/platform.rb
CHANGED
data/lib/beaker/version.rb
CHANGED
@@ -137,6 +137,14 @@ module Beaker
|
|
137
137
|
expect( filename ).to be === correct
|
138
138
|
end
|
139
139
|
|
140
|
+
it 'builds the filename correctly for amazon-based platforms' do
|
141
|
+
@platform = 'amazon-2023-x86_64'
|
142
|
+
allow(instance).to receive(:is_pe?).and_return(true)
|
143
|
+
filename = instance.repo_filename('pkg_name', 'pkg_version')
|
144
|
+
correct = 'pl-pkg_name-pkg_version-amazon-2023-x86_64.repo'
|
145
|
+
expect(filename).to be === correct
|
146
|
+
end
|
147
|
+
|
140
148
|
it 'builds the filename correctly for debian-based platforms' do
|
141
149
|
@platform = 'debian-8-x86_64'
|
142
150
|
filename = instance.repo_filename( 'pkg_name', 'pkg_version10' )
|
@@ -96,6 +96,11 @@ module Beaker
|
|
96
96
|
expect( platform.with_version_codename ).to be === 'debian-squeeze-xxx'
|
97
97
|
end
|
98
98
|
|
99
|
+
it "can convert ubuntu-2404-xxx to ubuntu-noble-xxx" do
|
100
|
+
@name = 'ubuntu-2404-xxx'
|
101
|
+
expect(platform.with_version_codename).to be === 'ubuntu-noble-xxx'
|
102
|
+
end
|
103
|
+
|
99
104
|
it "can convert ubuntu-2204-xxx to ubuntu-jammy-xxx" do
|
100
105
|
@name = 'ubuntu-2204-xxx'
|
101
106
|
expect( platform.with_version_codename ).to be === 'ubuntu-jammy-xxx'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: beaker
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.
|
4
|
+
version: 4.42.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Puppet
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-03-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: fakefs
|