Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Ubuntu 24.04 noble codename #1847

Merged
merged 1 commit into from
Feb 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion lib/beaker/platform.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ class Platform < String
"jessie" => "8",
"wheezy" => "7",
"squeeze" => "6", },
:ubuntu => { "jammy" => "2204",
:ubuntu => { "noble" => "2404",
"jammy" => "2204",
"focal" => "2004",
"eoan" => "1910",
"disco" => "1904",
Expand Down
5 changes: 5 additions & 0 deletions spec/beaker/platform_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,11 @@ module Beaker
expect(platform.with_version_codename).to be === 'debian-squeeze-xxx'
end

it "can convert ubuntu-2404-xxx to ubuntu-noble-xxx" do
@name = 'ubuntu-2404-xxx'
expect(platform.with_version_codename).to be === 'ubuntu-noble-xxx'
end

it "can convert ubuntu-2204-xxx to ubuntu-jammy-xxx" do
@name = 'ubuntu-2204-xxx'
expect(platform.with_version_codename).to be === 'ubuntu-jammy-xxx'
Expand Down